Installing the Oracle SOA Suite Maven Plug-in

Before you can use the Oracle SOA Suite Maven plug-in, you must install and configure Apache Maven.

For information about installing and configuring Maven for Oracle Fusion Middleware, see Installing and Configuring Maven in Developing Applications Using Continuous Integration.

To verify your Maven configuration, run the following command and check that the output identifies the expected Maven installation and Java version:

mvn -v

How to Configure the Oracle SOA Suite Maven Plug-In

Before you can use the Oracle SOA Suite Maven plug-in, you must populate the Maven repository with Oracle artifacts. For more information, see Populating the Maven Repository in Developing Applications Using Continuous Integration. The steps below link to specific sections of this guide.

To configure the Oracle SOA Suite development Maven plug-in:

  1. Navigate to ORACLE_HOME/oracle_common/plugins/maven/com/oracle/maven/oracle-maven-sync/14.1.2.
  2. Run the following command to install the Maven synchronization plug-in:
    mvn install:install-file -DpomFile=oracle-maven-sync-14.1.2.pom -Dfile=oracle-maven-sync-14.1.2.jar

    For more options, see Installing the Oracle Maven Synchronization Plug-In.

  3. Run the following command to populate the Maven repository with the Oracle artifacts from your installation, including the Oracle SOA Suite development Maven plug-in:
    mvn com.oracle.maven:oracle-maven-sync:push -DoracleHome=ORACLE_HOME

    Replace ORACLE_HOME with the full path to your Oracle Fusion Middleware installation. For more options, see Running the Oracle Maven Synchronization Plug-In.

  4. Verify that the Oracle SOA Suite development Maven plug-in is available by running the Maven help:describe goal:
    mvn help:describe -Dplugin=com.oracle.soa.plugin:oracle-soa-plugin:14.1.2-0-0

    Verify that the output identifies the plug-in with group ID com.oracle.soa.plugin, artifact ID oracle-soa-plugin, and version 14.1.2-0-0.