Search This Blog

Maven - Oracle SOA / BPM 12c - Configuration

With the 12.1.3 release of Oracle Service Bus and Oracle SOA Suite we finally can build all our soa projects with Maven. And this time we can do it natively without calling a utility like configjar or ANT from Maven 


Navigate to %MW_HOME%\oracle_common\plugins\maven\com\oracle\maven\oracle-maven-sync\12.1.3 
  
Two files available 

·      oracle-maven-sync-12.1.3.jar
·      oracle-maven-sync-12.1.3.pom

and use following commands to sync your local repository:


Check if maven works

mvn -v 

You can also use the maven 3.0.5 version of JDeveloper 12.1.3 located at .../oracle_common/modules/org.apache.maven_3.0.5


install the maven sync plugin to the local repository

mvn install:install-file -DpomFile=oracle-maven-sync-12.1.3.pom -Dfile=oracle-maven-sync-12.1.3.jar -DoracleHome=/Users/Krishna/Oracle/Middleware12.1.3



Deploy all the libraries to the local mvn repository


mvn -X com.oracle.maven:oracle-maven-sync:push -DoracleHome=/Users/Krishna/Oracle/Middleware/Oracle_Home/


update your local archetype catalog


mvn archetype:crawl -Dcatalog=/Users/Krishna/.m2/archetype-catalog.xml


Generate SOA Application and project as shown below. This generates SOA application HelloWorld-soa-application with  project  HelloWorld-soa-project.


mvn archetype:generate -DarchetypeGroupId=com.oracle.soa.archetype -DarchetypeArtifactId=oracle-soa-application -DarchetypeVersion=12.1.3-0-0 -DgroupId=org.my.helloworld -DartifactId=HelloWorld-soa-application -DprojectName=HelloWorld-soa-project -Dversion=1.0-SNAPSHOT

3 comments:

  1. I feel really happy to have seen your webpage and look forward to so many more entertaining times reading here.Same as your blog i found another one Oracle Fusion Financials.Actually I was looking for the same information on internet for Oracle Financials Cloud and came across your blog. I am impressed by the information that you have on this blog. Thanks once more for all the details.


    ReplyDelete
  2. My spouse and I love your blog and find almost all of your posts to be just what I’m looking for. Appreciating the persistence you put into your blog and the detailed information you provide. I found another one blog like you Oracle ADF.Actually I was looking for the same information on internet for Oracle Application Development Framework and came across your blog. I am impressed by the information that you have on this blog. Thanks once more for all the details.

    ReplyDelete
  3. Thanks for sharing this great information I am impressed by the information that you have on this blog. Same as your blog i found another one Oracle SOA . Actually I was looking for the same information on internet for Oracle SOA and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject, you can learn more aboutOracle SOA . By attending Oracle SOA Training .

    ReplyDelete