+

Search Tips | Advanced Search

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


Build Java adapters

You build Java™ adapters with Maven or MobileFirst Platform CLI.

Parent topic: Work with Java adapters


Build adapters with Maven


Before you begin

To work with Maven, ensure that you have it installed. For more information, see https://maven.apache.org/install.html.


Procedure

At the command prompt, run the mvn install command to build the Maven project. An .adapter archive file is generated in the target folder.


Build adapters with MobileFirst Platform CLI


Before you begin

Ensure that you have installed MobileFirst Platform CLI and Maven.


Procedure

  1. At the command prompt, cd to the root folder of the Maven project.
  2. Run mfpdev adapter build to build the Maven project. An .adapter archive file is generated in the target folder.

    Tip: We can also find and build all of the adapters that are in the current directory and its subdirectories by entering mfpdev adapter build all while you are in that directory.