If you do not have online access to The Central Repository,
you can share MobileFirst Maven
artifacts in the internal repository of your organization.
Before you begin
Make sure that you have installed Apache Maven.
Procedure
- Download the MobileFirst Platform Foundation Development Kit Installer.
- Start MobileFirst Server and
in a browser, load the MobileFirst Operations Console from
the following URL: http://<your-server-host:server-port>/mfpconsole.
- Click Download Center. Under Tools > Adapter
Archetypes, click Download. The mfp-maven-central-artifacts-adapter.zip archive
is downloaded.
- 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.
- 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