The Integration blog covers the latest in product updates, best practices, customer stories, and more.

  • September 29, 2015

SOACS plus DevCS - Chapter 05

In this series of posts and videos, we will explore creating and deploying a SOA composite using Oracle Developer Cloud Service.

< Previous Chapter | Next Chapter >

Chapter 05 - Populating Local Maven Repository

You can find your Maven repository URL from the DevCS project page. There are two options: HTTPS and DAV. Both are encrypted and secure. DAV is a protocol built on top of HTTP(S). For the purposes of this demo, I will be using the HTTPS link. I do not know the advantages of using one over the other, but I am no expert on the matter. Unless you are already using a WebDAV viewer, most likely the HTTPS link is sufficient. The URL will look something like this:


If you are new to Maven, you have some reading to do.  The primary thing to remember is that Maven has a well defined lifecycle. The build process is then broken down into little chunks called "plugins" and each chunk is associated with a step in the lifecycle.  A plugin usually consists of some code (e.g., how to compile java code) plus some configuration (e.g., the source directory, the classpath, etc).

Oracle has developed plugins for Maven that tie SOA composite operations such as "sca-compile", "sca-package", and so on to the Maven lifecycle. In order to use these plugins, however, they (and their dependencies) need to be installed. This is done in two steps. First, given the 12.1.3 SOA Suite MiddlewareHome, run the following command to install the "sync" plugin:

mvn install:install-file \

-DpomFile=${MW_HOME}/oracle_common/plugins/maven/com/oracle/maven/oracle-maven-sync/12.1.3/oracle-maven-sync-12.1.3.pom \



mvn install:install-file



The "sync" plugin will examine a MiddlewareHome and "Mavenize" it by uploading the jars to the local Maven repository. This is a one time operation:

mvn com.oracle.maven:oracle-maven-sync:push -Doracle-maven-sync.oracleHome=${MW_HOME}


mvn com.oracle.maven:oracle-maven-sync:push -Doracle-maven-sync.oracleHome=%MW_HOME%

Once done, you will be able to create, compile, package, deploy, test, and undeploy SOA composites using the Maven command line on your local machine or any IDE that integrates with Maven.

While Linux is used in the video series, all mvn and git commands are applicable to Windows.  Any variations will be called out in the accompanying blog.

Helpful links:

Join the discussion

Comments ( 2 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.