Code Monkey home page Code Monkey logo

paypal-nvp-sdk-mavenized's Introduction

Attention: in order to get the latest PayPal NVP SDK download it from the official site (the one used here is PP_Java_NVP_SDK_4302012.zip)

PayPal NVP SDK mavenized


PayPal NVP SDK downloaded from https://www.x.com/developers/paypal/documentation-tools/paypal-sdk-index (PP_Java_NVP_SDK_4302012.zip) with pom.xml to be able to build maven artifact with all dependencies required.

You can then distribute the generated jar with your application (if you don't have your own maven repository) by adding custom repository definition into your parent POM:
<repositories>
    <repository>
        <id><application>-repo</id>
        <url>file://${basedir}/../com.<application>.parent/repo</url>
    </repository>
</repositories>

Steps:
1. Create "repo" folder inside your parent POM project
2. Run mvn install:install-file -Dfile=<path to paypal-base jar file> -DgroupId=com.paypal.sdk \
                         -DartifactId=paypal-base -Dversion=5.4.68 \
                         -Dpackaging=jar -DlocalRepositoryPath=<path to your application repository>
3. java -jar nexus-indexer-3.0.4-cli.jar --type full --index <path to index folder> --name <repository name> --repository <path to your application repository> --errors --legacy
or short form: 
java -jar nexus-indexer-3.0.4-cli.jar -t full -i <path to index folder> -n <repository name> -r <path to your application repository> -e -l
You can read more about Nexu Indexer, how to use it and why you need it here https://docs.sonatype.org/display/M2ECLIPSE/Nexus+Indexer
4. Copy generated nexus-maven-repository-index.{gz,properties,zip} into .index folder of your parent POM project

paypal-nvp-sdk-mavenized's People

Contributors

zshamrock avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

hrobben

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.