0 Replies Latest reply on Apr 15, 2019 4:02 PM by 3430750

    Oracle SOA Suite Continuous Deployment

    3430750

      Hi,

       

      I am trying to install Maven for continuous deployment.

       

      I tried to execute the command

       

      mvn -X com.oracle.maven:oracle-maven-sync:push -DoracleHome=/u01/app/oracle/middleware -Doracle-maven-sync.testingOnly=false

       

      but it returns with an 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: "/u01/app/oracle/middleware/wlserver/server/lib/jrmpclient.jar" has multiple POMs referencing it with different GAVs.

      [ERROR] Duplicating references are located in:

      [ERROR] 1 : /u01/app/oracle/middleware/wlserver/plugins/maven/com/oracle/weblogic/wls_sharedLibraries.jrmpclient/12.2.1/wls_sharedLibraries.jrmpclient-12.2.1.pom

      [ERROR] 2 : /u01/app/oracle/middleware/wlserver/plugins/maven/com/oracle/wls_sharedLibraries.jrmpclient/12.2.1/wls_sharedLibraries.jrmpclient-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)

              at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)

              at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)

              at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)

              at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)

              at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)

              at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)

              at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)

              at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)

              at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)

              at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

              at java.lang.reflect.Method.invoke(Method.java:498)

              at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)

              at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)

              at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)

              at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

      Caused by: org.apache.maven.plugin.MojoExecutionException: Synchronization execution failed

              at com.oracle.maven.sync.ODMPushMojo.execute(ODMPushMojo.java:244)

              at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)

              at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)

              ... 19 more

      Caused by: com.oracle.maven.sync.SyncException: "/u01/app/oracle/middleware/wlserver/server/lib/jrmpclient.jar" has multiple POMs referencing it with different GAVs.

        Duplicating references are located in:

           1 : /u01/app/oracle/middleware/wlserver/plugins/maven/com/oracle/weblogic/wls_sharedLibraries.jrmpclient/12.2.1/wls_sharedLibraries.jrmpclient-12.2.1.pom

           2 : /u01/app/oracle/middleware/wlserver/plugins/maven/com/oracle/wls_sharedLibraries.jrmpclient/12.2.1/wls_sharedLibraries.jrmpclient-12.2.1.pom

              at com.oracle.maven.sync.ODMPusher.handleError(ODMPusher.java:378)

              at com.oracle.maven.sync.ODMPusher.processLocation(ODMPusher.java:255)

              at com.oracle.maven.sync.ODMPusher.processLocatorAssociatedPoms(ODMPusher.java:150)

              at com.oracle.maven.sync.ODMPusher.push(ODMPusher.java:91)

              at com.oracle.maven.sync.ODMPushMojo.execute(ODMPushMojo.java:242)

              ... 21 more

      [ERROR]

      [ERROR]

      [ERROR] For more information about the errors and possible solutions, please read the following articles:

      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

       

      Any suggestions will be helpful