[INTDIST-9] Failed to build distribution-karaf when local maven repo was clean Created: 03/Sep/14  Updated: 03/May/18  Resolved: 19/Nov/16

Status: Resolved
Project: integration-distribution
Component/s: Build
Affects Version/s: Helium
Fix Version/s: None

Type: Bug
Reporter: Hideyuki Tai Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 1692

 Description   

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



 Comments   
Comment by Hideyuki Tai [ 17/Sep/14 ]

I've confirmed that the bug is fixed, although I'm not sure which patch fixes the issue.

The following output was the result when I executed "mvn clean install" for pom.xml distribution-karaf project on 09/17/2014

/work/integration/distributions/extra/karaf
$ git log --oneline -3
f85cd23 (two tiny cleanups and re-triggering the patch tests now that all the 503 errors are gone)
f3638e3 Merge "Bump maven-dependency-plugin version"
00251fb Xml compare library improvement
$ rm -rf ~/.m2/repository/
$ mvn clean install

(snip)

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4:20.389s
[INFO] Finished at: Wed Sep 17 17:09:34 EDT 2014
[INFO] Final Memory: 67M/348M
[INFO] ------------------------------------------------------------------------

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