Setting up the Adapter SDK for Maven

To set up the Adapter SDK for Maven, follow the steps below:

Procedure

  1. Locate the Adapter SDK zip file (included as part of the TML Installer).
  2. Copy the Adapter SDK to your development environment, for example, /home/beta/Documents/sdk.zip.
  3. Unzip the Adapter SDK:
    unzip sdk.zip -d sdk
  4. Install Adapter SDK JARs in Maven local repository:
    cd /home/beta/Documents/sdk
    mvn install:install-file -Dfile=com.mashery.http_1.0.0.v20130130-0044.jar -DgroupId=com.mashery \
    -DartifactId=http -Dversion=1.0.0.v20130130-0044 -Dpackaging=jar -DgeneratePom=true
    mvn install:install-file -Dfile=com.mashery.trafficmanager.sdk_1.1.0.v20130214-0043.jar -DgroupId=com.mashery \
    -DartifactId=trafficmanager -Dversion=1.1.0.v20130214-0043 -Dpackaging=jar -DgeneratePom=true
    mvn install:install-file -Dfile=com.mashery.util_1.0.0.v20130214-0015.jar -DgroupId=com.mashery \
    -DartifactId=util -Dversion=1.0.0.v20130214-0015 -Dpackaging=jar -DgeneratePom=true