Non-resolvable parent POM for APNAddOns:APNAddOns:TRUNK-SNAPSHOT

This is for core Java, java script, Struts, Jsp, Servlet, Spring, EJB etc. Programming Language and Framework
forum_admin
Site Admin
Posts: 132
Joined: Wed Jul 16, 2014 9:22 pm
Contact:

Non-resolvable parent POM for APNAddOns:APNAddOns:TRUNK-SNAPSHOT

Postby forum_admin » Fri Jul 28, 2017 3:43 pm

Hi,

My maven suddenly stopped woken below command. it is giving below error.

Non-resolvable parent POM for APNAddOns:APNAddOns:TRUNK-SNAPSHOT: Failure to find com.nielsen:nielsen:pom:1 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 wrong local POM @ line 5, column 13

Code: Select all

user$ mvn clean install
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for APNAddOns:APNAddOns:TRUNK-SNAPSHOT: Failure to find com.nielsen:nielsen:pom:1 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 wrong local POM @ line 5, column 13
 @
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project APNAddOns:APNAddOns:TRUNK-SNAPSHOT (/Users/cloud/P4/user.consultant_dft.enterprisenet.org_1666/pkgs/customers/FGT/da-test/trunk/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for APNAddOns:APNAddOns:TRUNK-SNAPSHOT: Failure to find com.career:career:pom:1 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 wrong local POM @ line 5, column 13 -> [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


forum_admin
Site Admin
Posts: 132
Joined: Wed Jul 16, 2014 9:22 pm
Contact:

Re: Non-resolvable parent POM for APNAddOns:APNAddOns:TRUNK-SNAPSHOT

Postby forum_admin » Fri Jul 28, 2017 3:45 pm

I am able to solve it.
it was looking for url https://repo.maven.apache.org/maven2 instead of repository url.

The reason was I have deleted my .m2 and after that it was not creating new settings.xml. So, I took old settings.xml from Trash and rerun min clean install -U.


Return to “Core Java and Advanced Java Programming or development”

Who is online

Users browsing this forum: No registered users and 1 guest