My Oracle Support Banner

Oracle SOA Maven Issues – Broken POM Links (Doc ID 2714468.1)

Last updated on APRIL 03, 2023

Applies to:

Oracle SOA Suite - Version and later
Information in this document applies to any platform.


On : version, Fabric

Oracle SOA maven issues – broken POM links

We are getting some maven broken link issues when doing a fresh install of Maven setup in Oracle SOA

Below are the steps we followed as part of Maven setup for

1) Apply patch
Patch 31013413: MERGE REQUEST ON TOP OF FOR BUGS 30493325 30778089
2) Setup Maven environment with
cd $ORACLE_HOME/oracle_common/plugins/maven/com/oracle/maven/oracle-maven-sync/12.2.1
mvn install:install-file -DpomFile=oracle-maven-sync-12.2.1.pom -Dfile=oracle-maven-sync-12.2.1.jar
3) Push maven install
mvn -DoracleHome=$ORACLE_HOME
4) Maven crawl
mvn archetype:crawl -Dcatalog=%HOME%/.m2/archetype-catalog.xml
5) Updated settings.xml in =%HOME%/.m2 to point to oracle maven repo.

Below is the snap of POM.xml which we configured for Oracle adf library dependencies where we are trying with version i.e., 12.2.1-4-0
But we see some of the poms are missing in m2 repository like for example for

We see pom was not downloaded for version(refer screenshot attached), like this we see similar issues for soa dependencies.

But for other artifactId(Oracle-XML-Parser-v2) we see pom xml.

We also updated settings.xml to refer Oracle Maven repo including default maven repo, but still see broken link issues.
Please suggest if the steps are correct or anything is missing and help us in configuring maven for

The issue seems to be related with MDS dependencies, this means we are able to compile without MDS references, but fails if the service has MDS reference

to be able to compile usig maven

The issue can be reproduced at will with the following steps:
1. Extract Application attached which has project and MDS folder with dependencies.
2. Edit ../ TestPOMApplication/.adf/META-INF/adf-config.xml to refer to MDS path

3. Compile using Jdeveloper (ant scripts), it will compile successfully
4. When compiling using project POM, it is failing.




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.