Uploaded image for project: 'ttp'
  1. ttp
  2. TTP-1

Building with an empty local .m2 repo results in not being able to find old parent

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • unspecified
    • None
    • General
    • None
    • Operating System: Mac OS
      Platform: PC

    • 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

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            colindixon Colin Dixon
            colindixon Colin Dixon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: