Forum Stats

  • 3,853,385 Users
  • 2,264,215 Discussions
  • 7,905,334 Comments

Discussions

Unable to compile SOA project through maven in 12213 Jdeveloper after following instructions in docu

975726
975726 Member Posts: 44
edited Jan 11, 2018 2:10AM in SOA Suite Discusssions

Hi Experts,

  I am using 12213 jdeveloper and added the maven configuration for SOA project as per the instructions in documentation. But I am getting the below exception when doing compile through maven.

Can any one encounter the same issue? Please provide the solution including steps that needs to be followed on the same to resolve the issue.

Steps followed before doing compile:

1. mvn install:install-file -DpomFile=oracle-maven-sync.12.2.1.pom -Dfile=oracle-maven-sync.12.2.1.jar
2.mvn com.oracle.maven:oracle-maven-sync:push -DoracleHome=C:/Jdeveloper12213

3.mvn help:describe -Dplugin=com.oracle.maven:oracle-maven-sync -Ddetail

Exception encountered in jdeveloper during compile:

The POM for com.oracle.fmwshare:jrf_ws_client.com.oracle.webservices.fmw.client:jar:12.2.1-0-0 is missing, no dependency information available

[ERROR] The build could not read 1 project -> [Help 1]

[ERROR]  

[ERROR]   The project SOAApplication:Sample:1.0-SNAPSHOT (C:\JDeveloper\mywork\SOAApplication\Sample\pom.xml) has 2 errors

[ERROR]     Unresolveable build extension: Plugin com.oracle.soa.plugin:oracle-soa-plugin:12.2.1-3-0 or one of its dependencies could not be resolved: Failure to find com.oracle.fmwshare:jrf_ws_client.com.oracle.webservices.fmw.client:jar:12.2.1-0-0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 2]

[ERROR]     Unknown packaging: sar @ line 14, column 14

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[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/ProjectBuildingException

[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

Tagged:

Best Answer

  • 975726
    975726 Member Posts: 44
    edited Jan 11, 2018 2:09AM Answer ✓

    it is version mismatch in soa plugin file located in maven repository directory which is installed by default

    /.m2/repository/com/oracle/soa/plugin/oracle-soa-plugin/12.2.1-3-0/oracle-soa-plugin-12.2.1-3-0.pom

    <dependency>
        <groupId>com.oracle.fmwshare</groupId>
       <artifactId>jrf_ws_client.com.oracle.webservices.fmw.client</artifactId> <version>12.2.1-3-0</version>
    </dependency>

Answers

  • 975726
    975726 Member Posts: 44
    edited Jan 11, 2018 2:09AM Answer ✓

    it is version mismatch in soa plugin file located in maven repository directory which is installed by default

    /.m2/repository/com/oracle/soa/plugin/oracle-soa-plugin/12.2.1-3-0/oracle-soa-plugin-12.2.1-3-0.pom

    <dependency>
        <groupId>com.oracle.fmwshare</groupId>
       <artifactId>jrf_ws_client.com.oracle.webservices.fmw.client</artifactId> <version>12.2.1-3-0</version>
    </dependency>

This discussion has been closed.