My Oracle Support Banner

Multiple POMs Referencing It With Different GAVs (Doc ID 2374168.1)

Last updated on MAY 15, 2023

Applies to:

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

Symptoms

After installing 27438258;WLS PATCH SET UPDATE 12.2.1.3.180116, Could not sync the Oracle Home to the remote repository due to the following error,

[ERROR] Failed to execute goal com.oracle.maven:oracle-maven-sync:12.2.1-3-0:push (default-cli) on project standalone-pom: Synchronization execution failed: "/oracle/fmw12_2_1_3/oracle_common/modules/internal/clients/oracle.fmwshare.pyjar.jar" has multiple POMs referencing it with different GAVs.
[ERROR] Duplicating references are located in:
[ERROR] 1 : /oracle/fmw12_2_1_3/oracle_common/plugins/maven/com/oracle/fmwshare/jrf_wlsFmw.oracle.fmwshare.pyjar/12.2.1/jrf_wlsFmw.oracle.fmwshare.pyjar-12.2.1.pom
[ERROR] 2 : /oracle/fmw12_2_1_3/oracle_common/plugins/maven/com/oracle/fmwshare/jrf_wlsFmw.oracle.fmwshare.pyjar.1/12.2.1/jrf_wlsFmw.oracle.fmwshare.pyjar.1-12.2.1.pom
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.oracle.maven:oracle-maven-sync:12.2.1-3-0:push (default-cli) on project standalone-pom: Synchronization execution failed
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
...


STEPS FOR REPRODUCING
------------------------------


Install a fresh Oracle SOA 12.2.1.3 in Linux, then apply 'PSU 27438258;WLS PATCH SET UPDATE 12.2.1.3.180116', then try to create a local maven repository based on that installation with:

$mvn com.oracle.maven:oracle-maven-sync:push -DoracleHome=<your_fmw_home> -Dmaven.repo.local=/oracle/m2_local_repo -Doracle-maven-sync.testingOnly=false -activate-profiles <your_maven_profile_to_use> -s <path_to_your_maven_settings.xml> -X



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


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