Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ADF, Maven & Jenkins

olonaJan 21 2016 — edited Apr 18 2016

Hey,

I've got a ADF project running on JDeveloper 12c 1.3 and it's compiling using Maven and on Jenkins. It's also under git.

When I clone the project onto another machine, run "mvn clean install" I will get an error. Something similar to this

[INFO] Scanning for projects...

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

[ERROR]

[ERROR]   The project Reinsurance:Reinsurance:1.0-SNAPSHOT (C:\JDeveloper\mywork\ri_maven\pom.xml) has 1 error

[ERROR]     Non-resolvable parent POM: Failure to find com.oracle.adf:adf-parent:pom:12.1.3-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 and 'parent.relativePath' points at no local POM @ line 84, column 11 -> [Help 2]

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

Then I open the same project in JDEV on the same machine and then run "mvn clean install" and it's successful.

What does JDeveloper do?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 16 2016
Added on Jan 21 2016
7 comments
2,132 views