[TTP-1] Building with an empty local .m2 repo results in not being able to find old parent Created: 30/Aug/14  Updated: 30/Aug/14  Resolved: 30/Aug/14

Status: Resolved
Project: ttp
Component/s: General
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Colin Dixon Assignee: Colin Dixon
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Mac OS
Platform: PC


External issue ID: 1656

 Description   

If you do the following:

spectre-2:ttp ckd$ rm -rf ~/.m2/
spectre-2:ttp ckd$ mvn clean install

You get this error message:

[INFO] Scanning for projects...
[WARNING] Could not transfer metadata org.opendaylight.odlparent:odlparent:1.4.2-SNAPSHOT/maven-metadata.xml from/to opendaylight-snapshot (${nexusproxy}/repositories/opendaylight.snapshot/): No connector available to access repository opendaylight-snapshot (${nexusproxy}/repositories/opendaylight.snapshot/) of type default using the available factories WagonRepositoryConnectorFactory
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.opendaylight.ttp:ttp-parent:0.0.1-SNAPSHOT (/Users/ckd/git-reps/ttp/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Could not transfer artifact org.opendaylight.odlparent:odlparent:pom:1.4.2-SNAPSHOT from/to opendaylight-snapshot (${nexusproxy}/repositories/opendaylight.snapshot/): No connector available to access repository opendaylight-snapshot (${nexusproxy}/repositories/opendaylight.snapshot/) of type default using the available factories WagonRepositoryConnectorFactory and 'parent.relativePath' points at wrong local POM @ line 4, 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



 Comments   
Comment by Colin Dixon [ 30/Aug/14 ]

Fixed with: https://git.opendaylight.org/gerrit/#/c/10527/

Generated at Wed Feb 07 20:46:24 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.