My Oracle Support Banner

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

Last updated on APRIL 03, 2023

Applies to:

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

Symptoms

On : 12.2.1.4.0 version, Fabric

ACTUAL BEHAVIOR
---------------
Oracle SOA 12.2.1.4 maven issues – broken POM links

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

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

1) Apply patch
Patch 31013413: MERGE REQUEST ON TOP OF 12.2.1.4.0 FOR BUGS 30493325 30778089
2) Setup Maven environment with 12.2.1.4
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 com.oracle.maven:oracle-maven-sync:push -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 12.2.1.4 i.e., 12.2.1-4-0
But we see some of the poms are missing in m2 repository like for example for
  com.oracle.adf.library
  Commons-Digester

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

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

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 12.2.1.4.

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



EXPECTED BEHAVIOR
-----------------------
to be able to compile usig maven

STEPS
-----------------------
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.

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution
References


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