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.


  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 archive is downloaded.
  4. Add the adapter archetypes and security checks to the internal Maven repository by running the 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: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
    • javax.servlet:javax.servlet-api:3.0.1

Parent topic: Setting up the development environment