Uploaded image for project: 'integration-distribution'
  1. integration-distribution
  2. INTDIST-9

Failed to build distribution-karaf when local maven repo was clean

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • None
    • Helium
    • Build
    • None
    • Operating System: All
      Platform: All

    • 1692

      I failed to execute "mvn clean install" for pom.xml of distribution-karaf project when my local maven repo was clean.

      /work/integration/distributions/extra/karaf
      $ rm -rf ~/.m2/repository/org/opendaylight
      $ mvn clean install
      [INFO] Scanning for projects...
      [INFO]
      [INFO] ------------------------------------------------------------------------
      [INFO] Building distribution-karaf 0.2.0-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      Downloading: http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/controller/karaf.branding/1.0.0-SNAPSHOT/maven-metadata.xml
      Downloaded: http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/controller/karaf.branding/1.0.0-SNAPSHOT/maven-metadata.xml (1013 B at 1.9 KB/sec)
      Downloading: http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/controller/karaf.branding/1.0.0-SNAPSHOT/karaf.branding-1.0.0-20140903.201817-470.pom
      Downloaded: http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/controller/karaf.branding/1.0.0-SNAPSHOT/karaf.branding-1.0.0-20140903.201817-470.pom (2 KB at 8.5 KB/se)
      Downloading: http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/controller/opendaylight-karaf-resources/1.4.2-SNAPSHOT/maven-metadata.xml
      Downloaded: http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/controller/opendaylight-karaf-resources/1.4.2-SNAPSHOT/maven-metadata.xml (1023 B at 6.2 KB/sec)
      Downloading: http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/controller/opendaylight-karaf-resources/1.4.2-SNAPSHOT/opendaylight-karaf-resources-1.4.2-20140903.2018m
      Downloaded: http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/controller/opendaylight-karaf-resources/1.4.2-SNAPSHOT/opendaylight-karaf-resources-1.4.2-20140903.20184)
      Downloading: http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/controller/commons.opendaylight/1.4.2-SNAPSHOT/maven-metadata.xml
      Downloaded: http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/controller/commons.opendaylight/1.4.2-SNAPSHOT/maven-metadata.xml (630 B at 1.4 KB/sec)
      Downloading: http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/controller/commons.opendaylight/1.4.2-SNAPSHOT/commons.opendaylight-1.4.2-20140903.201721-1125.pom
      Downloaded: http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/controller/commons.opendaylight/1.4.2-SNAPSHOT/commons.opendaylight-1.4.2-20140903.201721-1125.pom (105 )
      Downloading: http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/odlparent/odlparent/1.4.2-SNAPSHOT/maven-metadata.xml
      Downloaded: http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/odlparent/odlparent/1.4.2-SNAPSHOT/maven-metadata.xml (614 B at 2.9 KB/sec)
      Downloading: http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/odlparent/odlparent/1.4.2-SNAPSHOT/odlparent-1.4.2-20140820.045111-17.pom
      Downloaded: http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/odlparent/odlparent/1.4.2-SNAPSHOT/odlparent-1.4.2-20140820.045111-17.pom (35 KB at 72.6 KB/sec)
      Downloading: http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/features-integration/0.2.0-SNAPSHOT/maven-metadata.xml
      Downloading: http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/features-integration/0.2.0-SNAPSHOT/features-integration-0.2.0-SNAPSHOT.pom
      [WARNING] The POM for org.opendaylight.integration:features-integration:xml:features:0.2.0-SNAPSHOT is missing, no dependency information available
      Downloading: http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/controller/karaf.branding/1.0.0-SNAPSHOT/karaf.branding-1.0.0-20140903.201817-470.jar
      Downloading: http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/controller/opendaylight-karaf-resources/1.4.2-SNAPSHOT/opendaylight-karaf-resources-1.4.2-20140903.2018r
      Downloading: http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/features-integration/0.2.0-SNAPSHOT/features-integration-0.2.0-SNAPSHOT-features.xml
      Downloaded: http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/controller/karaf.branding/1.0.0-SNAPSHOT/karaf.branding-1.0.0-20140903.201817-470.jar (4 KB at 27.4 KB/s)
      Downloaded: http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/controller/opendaylight-karaf-resources/1.4.2-SNAPSHOT/opendaylight-karaf-resources-1.4.2-20140903.20184)
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 7.719s
      [INFO] Finished at: Wed Sep 03 18:35:51 EDT 2014
      [INFO] Final Memory: 14M/34M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal on project distribution-karaf: Could not resolve dependencies for project org.opendaylight.integration:distribution-karaf:pom:0.2.0-SNAPSHOT: Could not find artifact org.opend]
      [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/DependencyResolutionException

            Unassigned Unassigned
            Hideyuki1985 Hideyuki Tai
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: