Bug#551221: maven-dependency-plugin: FTBFS: Failed to resolve artifact

Lucas Nussbaum lucas at lucas-nussbaum.net
Fri Oct 16 16:33:32 UTC 2009


Source: maven-dependency-plugin
Version: 2.1-2
Severity: serious
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20091016 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> make[1]: Entering directory `/build/user-maven-dependency-plugin_2.1-2-amd64-C16Pmn/maven-dependency-plugin-2.1'
> make[1]: Nothing to be done for `update-config'.
> make[1]: Leaving directory `/build/user-maven-dependency-plugin_2.1-2-amd64-C16Pmn/maven-dependency-plugin-2.1'
> cd . && /usr/lib/jvm/default-java/bin/java -classpath /usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/java/ant-nodeps.jar:/usr/share/java/maven-core.jar:/usr/share/java/maven-model.jar:/usr/share/java/maven-plugin-api.jar:/usr/share/java/maven-project.jar:/usr/share/java/maven-artifact.jar:/usr/share/java/maven-artifact-manager.jar:/usr/share/java/maven-dependency-analyzer.jar:/usr/share/java/maven-dependency-tree.jar:/usr/share/java/maven-reporting-api.jar:/usr/share/java/maven-reporting-impl.jar:/usr/share/java/maven-common-artifact-filters.jar:/usr/share/java/doxia-core.jar:/usr/share/java/doxia-logging-api.jar:/usr/share/java/doxia-sink-api.jar:/usr/share/java/doxia-site-renderer.jar:/usr/share/java/plexus-archiver.jar:/usr/share/java/plexus-io.jar:/usr/share/java/plexus-utils.jar:/usr/share/java/plexus-container-default-alpha.jar:/usr/lib/jvm/default-java/lib/tools.jar  -Dant.home=/usr/share/ant org.apache.tools.ant.Main -Dbasedir=/build/user-maven-dependency-plugin_2.1-2-amd64-C16Pmn/maven-dependency-plugin-2.1 -Dpackage=maven-dependency-plugin -Dversion=2.1   -buildfile /usr/share/maven-ant-helper/maven-build.xml  package 
> Buildfile: /usr/share/maven-ant-helper/maven-build.xml
> 
> init.pom:
>      [echo] Base dir is /build/user-maven-dependency-plugin_2.1-2-amd64-C16Pmn/maven-dependency-plugin-2.1
>      [echo] Pom name in libmaven-dependency-plugin-java.poms: pom.xml
>      [echo] Pom file pom.xml available? true
> 
> read.pom:
>      [echo] Cleaner options:  --no-parent
>     [mkdir] Created dir: /build/user-maven-dependency-plugin_2.1-2-amd64-C16Pmn/maven-dependency-plugin-2.1/debian/tmp
>      [echo] Cleaning pom /build/user-maven-dependency-plugin_2.1-2-amd64-C16Pmn/maven-dependency-plugin-2.1/pom.xml
>      [java] Cleaning POM /build/user-maven-dependency-plugin_2.1-2-amd64-C16Pmn/maven-dependency-plugin-2.1/pom.xml, saving the result into /build/user-maven-dependency-plugin_2.1-2-amd64-C16Pmn/maven-dependency-plugin-2.1/debian/tmp/pom.xml
>      [copy] Copying 1 file to /build/user-maven-dependency-plugin_2.1-2-amd64-C16Pmn/maven-dependency-plugin-2.1
>      [copy] Copying 1 file to /build/user-maven-dependency-plugin_2.1-2-amd64-C16Pmn/maven-dependency-plugin-2.1
>      [echo] Properties read from the POM file:
>      [echo]   groupId: org.apache.maven.plugins
>      [echo]   artifactId: maven-dependency-plugin
> 
> init:
>      [echo] Compile classpath: target/classes:
>      [echo] Test classpath: target/test-classes::target/classes:
> 
> process-resources:
>     [mkdir] Created dir: /build/user-maven-dependency-plugin_2.1-2-amd64-C16Pmn/maven-dependency-plugin-2.1/target/classes
>      [copy] Copying 4 files to /build/user-maven-dependency-plugin_2.1-2-amd64-C16Pmn/maven-dependency-plugin-2.1/target/classes
> 
> process-pom:
>     [mkdir] Created dir: /build/user-maven-dependency-plugin_2.1-2-amd64-C16Pmn/maven-dependency-plugin-2.1/target/classes/META-INF/maven/org.apache.maven.plugins/maven-dependency-plugin
>      [copy] Copying 2 files to /build/user-maven-dependency-plugin_2.1-2-amd64-C16Pmn/maven-dependency-plugin-2.1/target/classes/META-INF/maven/org.apache.maven.plugins/maven-dependency-plugin
> 
> mvn-generate:
> 
> mvn-shared-repo:
>      [java] + Error stacktraces are turned on.
>      [java] [INFO] 
>      [java] NOTE: Maven is executing in offline mode. Any artifacts not already in your local
>      [java] repository will be inaccessible.
>      [java] 
>      [java] [INFO] Scanning for projects...
>      [java] [INFO] Searching repository for plugin with prefix: 'plugin'.
>      [java] [INFO] ------------------------------------------------------------------------
>      [java] [INFO] Building Maven Dependency Plugin
>      [java] [INFO]    task-segment: [plugin:descriptor]
>      [java] [INFO] ------------------------------------------------------------------------
>      [java] [INFO] ------------------------------------------------------------------------
>      [java] [ERROR] BUILD ERROR
>      [java] [INFO] ------------------------------------------------------------------------
>      [java] [INFO] Failed to resolve artifact.
>      [java] 
>      [java] Missing:
>      [java] ----------
>      [java] 1) commons-httpclient:commons-httpclient:jar:3.x
>      [java] 
>      [java]   Try downloading the file manually from the project website.
>      [java] 
>      [java]   Then, install it using the command: 
>      [java]       mvn install:install-file -DgroupId=commons-httpclient -DartifactId=commons-httpclient -Dversion=3.x -Dpackaging=jar -Dfile=/path/to/file
>      [java] 
>      [java]   Alternatively, if you host your own repository you can deploy the file there: 
>      [java]       mvn deploy:deploy-file -DgroupId=commons-httpclient -DartifactId=commons-httpclient -Dversion=3.x -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>      [java] 
>      [java]   Path to dependency: 
>      [java]   	1) org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:2.1
>      [java]   	2) org.apache.maven.reporting:maven-reporting-impl:jar:debian
>      [java]   	3) org.apache.maven.doxia:doxia-core:jar:debian
>      [java]   	4) commons-httpclient:commons-httpclient:jar:3.x
>      [java] 
>      [java] ----------
>      [java] 1 required artifact is missing.
>      [java] 
>      [java] for artifact: 
>      [java]   org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:2.1
>      [java] 
>      [java] from the specified remote repositories:
>      [java]   central (http://repo1.maven.org/maven2)
>      [java] 
>      [java] 
>      [java] 
>      [java] NOTE: Maven is executing in offline mode. Any artifacts not already in your local
>      [java] repository will be inaccessible.
>      [java] 
>      [java] 
>      [java] [INFO] ------------------------------------------------------------------------
>      [java] [INFO] Trace
>      [java] org.apache.maven.lifecycle.LifecycleExecutionException: Missing:
>      [java] ----------
>      [java] 1) commons-httpclient:commons-httpclient:jar:3.x
>      [java] 
>      [java]   Try downloading the file manually from the project website.
>      [java] 
>      [java]   Then, install it using the command: 
>      [java]       mvn install:install-file -DgroupId=commons-httpclient -DartifactId=commons-httpclient -Dversion=3.x -Dpackaging=jar -Dfile=/path/to/file
>      [java] 
>      [java]   Alternatively, if you host your own repository you can deploy the file there: 
>      [java]       mvn deploy:deploy-file -DgroupId=commons-httpclient -DartifactId=commons-httpclient -Dversion=3.x -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>      [java] 
>      [java]   Path to dependency: 
>      [java]   	1) org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:2.1
>      [java]   	2) org.apache.maven.reporting:maven-reporting-impl:jar:debian
>      [java]   	3) org.apache.maven.doxia:doxia-core:jar:debian
>      [java]   	4) commons-httpclient:commons-httpclient:jar:3.x
>      [java] 
>      [java] ----------
>      [java] 1 required artifact is missing.
>      [java] 
>      [java] for artifact: 
>      [java]   org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:2.1
>      [java] 
>      [java] from the specified remote repositories:
>      [java]   central (http://repo1.maven.org/maven2)
>      [java] 
>      [java] 
>      [java] 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:711)
>      [java] 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
>      [java] 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
>      [java] 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
>      [java] 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
>      [java] 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
>      [java] 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
>      [java] 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
>      [java] 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
>      [java] 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:100)
>      [java] Caused by: org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: Missing:
>      [java] ----------
>      [java] 1) commons-httpclient:commons-httpclient:jar:3.x
>      [java] 
>      [java]   Try downloading the file manually from the project website.
>      [java] 
>      [java]   Then, install it using the command: 
>      [java]       mvn install:install-file -DgroupId=commons-httpclient -DartifactId=commons-httpclient -Dversion=3.x -Dpackaging=jar -Dfile=/path/to/file
>      [java] 
>      [java]   Alternatively, if you host your own repository you can deploy the file there: 
>      [java]       mvn deploy:deploy-file -DgroupId=commons-httpclient -DartifactId=commons-httpclient -Dversion=3.x -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>      [java] 
>      [java]   Path to dependency: 
>      [java]   	1) org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:2.1
>      [java]   	2) org.apache.maven.reporting:maven-reporting-impl:jar:debian
>      [java]   	3) org.apache.maven.doxia:doxia-core:jar:debian
>      [java]   	4) commons-httpclient:commons-httpclient:jar:3.x
>      [java] 
>      [java] ----------
>      [java] 1 required artifact is missing.
>      [java] 
>      [java] for artifact: 
>      [java]   org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:2.1
>      [java] 
>      [java] from the specified remote repositories:
>      [java]   central (http://repo1.maven.org/maven2)
>      [java] 
>      [java] 
>      [java] 	at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:360)
>      [java] 	at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:304)
>      [java] 	at org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1499)
>      [java] 	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:442)
>      [java] 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
>      [java] 	... 9 more
>      [java] [INFO] ------------------------------------------------------------------------
>      [java] [INFO] Total time: 1 second
>      [java] [INFO] Finished at: Fri Oct 16 12:58:48 CEST 2009
>      [java] [INFO] Final Memory: 7M/46M
>      [java] [INFO] ------------------------------------------------------------------------
> 
> BUILD FAILED
> /usr/share/maven-ant-helper/maven-build.xml:276: The following error occurred while executing this line:
> /usr/share/maven-ant-helper/maven-build.xml:267: The following error occurred while executing this line:
> /usr/share/maven-ant-helper/maven-build.xml:230: Java returned: 1
> 
> Total time: 2 seconds
> make: *** [debian/stamp-ant-build] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2009/10/16/maven-dependency-plugin_2.1-2_lsid64.buildlog

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |





More information about the pkg-java-maintainers mailing list