+

Search Tips | Advanced Search

For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.


Set up an internal Maven repository for offline development

If you do not have online access to The Central Repository, we can share MobileFirst Maven artifacts in the internal repository of your organization.


Before you begin

Make sure that you have installed Apache Maven.


Procedure

  1. Download the MobileFirst Platform Foundation Development Kit Installer.
  2. Start MobileFirst Server and in a browser, load the MobileFirst Operations Console from the following URL: http://<your-server-host:server-port>/mfpconsole.
  3. Click Download Center. Under Tools > Adapter Archetypes, click Download. The mfp-maven-central-artifacts-adapter.zip archive is downloaded.
  4. Add the adapter archetypes and security checks to the internal Maven repository by running the install.sh script for Linux and Mac, or the install.bat script for Windows.
  5. The following JAR files are required by adapter-maven-api. Make sure they are located either in developers' local .m2 folder, or in the Maven repository of your organization. Download them from The Central Repository.

    • javax.ws.rs:javax.ws.rs-api:2.0
    • javax:javaee-web-api:6.0
    • org.apache.httpcomponents:httpclient:4.3.4
    • org.apache.httpcomponents:httpcore:4.3.2
    • commons-logging:commons-logging:1.1.3
    • javax.xml:jaxp-api:1.4.2
    • org.mozilla:rhino:1.7.7
    • io.swagger:swagger-annotations:1.5.6
    • com.ibm.websphere.appserver.api:com.ibm.websphere.appserver.api.json:1.0
    • javax.servlet:javax.servlet-api:3.0.1

Parent topic: Set up the development environment