Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-1837

stable/boron Compilation Failure

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Medium
    • Resolution: Won't Do
    • None
    • None
    • None
    • None

    Description

      git clone https://git.opendaylight.org/gerrit/p/controller.git

      cd controller/

      git checkout stable/boron

      I checked out stable/boron.

      and did,

      1. wget -q -O - https://raw.githubusercontent.com/opendaylight/odlparent/master/settings.xml > ~/.m2/settings.xml

      2. ~/controller$ mvn clean install -DskipTests got the following failure,

      [INFO] Scanning for projects...
      [ERROR] [ERROR] Some problems were encountered while processing the POMs:
      [FATAL] Non-resolvable parent POM for org.opendaylight.controller:releasepom:0.4.5-SNAPSHOT: Failure to find org.opendaylight.odlparent:odlparent-lite:pom:1.7.5-SNAPSHOT in https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ was cached in the local repository, resolution will not be reattempted until the update interval of opendaylight-snapshot has elapsed or updates are forced and 'parent.relativePath' points at no local POM @ line 4, column 11
       @
      [ERROR] The build could not read 1 project -> [Help 1]
      [ERROR]
      [ERROR]   The project org.opendaylight.controller:releasepom:0.4.5-SNAPSHOT (/home/hzhang/controller/pom.xml) has 1 error
      [ERROR]     Non-resolvable parent POM for org.opendaylight.controller:releasepom:0.4.5-SNAPSHOT: Failure to find org.opendaylight.odlparent:odlparent-lite:pom:1.7.5-SNAPSHOT in https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ was cached in the local repository, resolution will not be reattempted until the update interval of opendaylight-snapshot has elapsed or updates are forced and 'parent.relativePath' points at no 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
      hzhang@sdn-r:~/controller$

      Could somebody tell me if the settings.xml version is wrong and where to get the right one.

      I copied the settings.xml from,

      https://github.com/opendaylight/odlparent/blob/stable/boron/settings.xml

      And found the contents are the same and also failed.

       

      Regards,

      Harry

       

       

       

       

       

       

       

       

      Attachments

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

        Activity

          People

            tpantelis Tom Pantelis
            hhzhang haiyun zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: