Bug#551218: maven-debian-helper: FTBFS: Failed to resolve artifact

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


Source: maven-debian-helper
Version: 0.6
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:
>  /usr/bin/fakeroot debian/rules clean
> test -x debian/rules
> dh_testroot
> dh_clean 
> 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/classworlds.jar:/usr/share/java/maven-core.jar:/usr/share/java/maven-artifact.jar:/usr/share/java/maven-artifact-manager.jar:/usr/share/java/maven-model.jar:/usr/share/java/maven-compat.jar:/usr/share/java/maven-plugin-api.jar:/usr/share/java/maven-project.jar:/usr/share/java/maven-scm-api.jar:/usr/share/java/velocity.jar:/usr/share/java/plexus-utils.jar:/usr/share/java/plexus-container-default-alpha.jar:/usr/share/java/maven-repo-helper.jar:/usr/lib/jvm/default-java/lib/tools.jar  -Dant.home=/usr/share/ant org.apache.tools.ant.Main -Dpackage=maven-debian-helper -Dbin.package=maven-debian-helper -Dversion=0.6   -buildfile debian/build.xml  clean
> Buildfile: debian/build.xml
> 
> clean:
> 
> clean:
> 
> clean:
> 
> clean:
> 
> clean:
> 
> BUILD SUCCESSFUL
> Total time: 0 seconds
> rm -f debian/stamp-ant-build
> rm -rf debian/tmp
> rm -f man/mvn-debian.1
> rm -f man/mvn-debian.1
>  dpkg-source -b maven-debian-helper-0.6
> dpkg-source: info: using source format `1.0'
> dpkg-source: info: building maven-debian-helper in maven-debian-helper_0.6.tar.gz
>  debian/rules build
> dpkg-source: info: building maven-debian-helper in maven-debian-helper_0.6.dsc
> test -x debian/rules
> mkdir -p debian/tmp
> cp -R bin debian/tmp/
> cp -R etc debian/tmp/
> cp -R share debian/tmp/
> mkdir -p "."
> 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/classworlds.jar:/usr/share/java/maven-core.jar:/usr/share/java/maven-artifact.jar:/usr/share/java/maven-artifact-manager.jar:/usr/share/java/maven-model.jar:/usr/share/java/maven-compat.jar:/usr/share/java/maven-plugin-api.jar:/usr/share/java/maven-project.jar:/usr/share/java/maven-scm-api.jar:/usr/share/java/velocity.jar:/usr/share/java/plexus-utils.jar:/usr/share/java/plexus-container-default-alpha.jar:/usr/share/java/maven-repo-helper.jar:/usr/lib/jvm/default-java/lib/tools.jar  -Dant.home=/usr/share/ant org.apache.tools.ant.Main -Dpackage=maven-debian-helper -Dbin.package=maven-debian-helper -Dversion=0.6   -buildfile debian/build.xml  package 
> Buildfile: debian/build.xml
> 
> package:
> 
> init.pom:
>      [echo] Base dir is /build/user-maven-debian-helper_0.6-amd64-LtFa4_/maven-debian-helper-0.6
>      [echo] Pom name in maven-debian-helper.poms: pom.xml
>      [echo] Pom file pom.xml available? true
> 
> read.pom:
>      [echo] Cleaner options:  --no-parent
>      [echo] Cleaning pom /build/user-maven-debian-helper_0.6-amd64-LtFa4_/maven-debian-helper-0.6/pom.xml
>      [java] Cleaning POM /build/user-maven-debian-helper_0.6-amd64-LtFa4_/maven-debian-helper-0.6/pom.xml, saving the result into /build/user-maven-debian-helper_0.6-amd64-LtFa4_/maven-debian-helper-0.6/debian/tmp/pom.xml
>      [copy] Copying 1 file to /build/user-maven-debian-helper_0.6-amd64-LtFa4_/maven-debian-helper-0.6
>      [copy] Copying 1 file to /build/user-maven-debian-helper_0.6-amd64-LtFa4_/maven-debian-helper-0.6
>      [echo] Properties read from the POM file:
>      [echo]   groupId: org.debian.maven
>      [echo]   artifactId: maven-debian
> 
> init:
>      [echo] Compile classpath: target/classes:
>      [echo] Test classpath: target/test-classes::target/classes:
> 
> process-resources:
> 
> process-pom:
>     [mkdir] Created dir: /build/user-maven-debian-helper_0.6-amd64-LtFa4_/maven-debian-helper-0.6/target/classes/META-INF/maven/org.debian.maven/maven-debian
>      [copy] Copying 2 files to /build/user-maven-debian-helper_0.6-amd64-LtFa4_/maven-debian-helper-0.6/target/classes/META-INF/maven/org.debian.maven/maven-debian
> 
> mvn-generate:
> 
> mvn-generate2:
> 
> compile:
> 
> process-test-resources:
> 
> test-compile:
> 
> test:
> 
> jar:
>       [jar] Building jar: /build/user-maven-debian-helper_0.6-amd64-LtFa4_/maven-debian-helper-0.6/target/maven-debian-0.6.jar
> 
> mvn-package:
> 
> restore-pom:
> 
> package:
> 
> init.pom:
>      [echo] Base dir is /build/user-maven-debian-helper_0.6-amd64-LtFa4_/maven-debian-helper-0.6/maven-debian-helper
>      [echo] Pom name in maven-debian-helper.poms: maven-debian-helper/pom.xml
>      [echo] Pom file pom.xml available? true
> 
> read.pom:
>      [echo] Cleaner options: 
>      [echo] Cleaning pom /build/user-maven-debian-helper_0.6-amd64-LtFa4_/maven-debian-helper-0.6/maven-debian-helper/pom.xml
>      [java] Cleaning POM /build/user-maven-debian-helper_0.6-amd64-LtFa4_/maven-debian-helper-0.6/maven-debian-helper/pom.xml, saving the result into /build/user-maven-debian-helper_0.6-amd64-LtFa4_/maven-debian-helper-0.6/debian/tmp/pom.xml
>      [copy] Copying 1 file to /build/user-maven-debian-helper_0.6-amd64-LtFa4_/maven-debian-helper-0.6/maven-debian-helper
>      [copy] Copying 1 file to /build/user-maven-debian-helper_0.6-amd64-LtFa4_/maven-debian-helper-0.6/maven-debian-helper
>      [echo] Properties read from the POM file:
>      [echo]   groupId: org.debian.maven
>      [echo]   artifactId: maven-debian-helper
> 
> init:
>      [echo] Compile classpath: target/classes:
>      [echo] Test classpath: target/test-classes::target/classes:
> 
> process-resources:
> 
> process-pom:
>     [mkdir] Created dir: /build/user-maven-debian-helper_0.6-amd64-LtFa4_/maven-debian-helper-0.6/maven-debian-helper/target/classes/META-INF/maven/org.debian.maven/maven-debian-helper
>      [copy] Copying 2 files to /build/user-maven-debian-helper_0.6-amd64-LtFa4_/maven-debian-helper-0.6/maven-debian-helper/target/classes/META-INF/maven/org.debian.maven/maven-debian-helper
> 
> mvn-generate:
> 
> mvn-generate2:
> 
> compile:
>     [mkdir] Created dir: /build/user-maven-debian-helper_0.6-amd64-LtFa4_/maven-debian-helper-0.6/maven-debian-helper/target/generated-sources
>     [javac] Compiling 1 source file to /build/user-maven-debian-helper_0.6-amd64-LtFa4_/maven-debian-helper-0.6/maven-debian-helper/target/classes
> 
> process-test-resources:
> 
> test-compile:
> 
> test:
> 
> jar:
>       [jar] Building jar: /build/user-maven-debian-helper_0.6-amd64-LtFa4_/maven-debian-helper-0.6/maven-debian-helper/target/maven-debian-helper-0.6.jar
> 
> mvn-package:
> 
> restore-pom:
> 
> package:
> 
> init.pom:
>      [echo] Base dir is /build/user-maven-debian-helper_0.6-amd64-LtFa4_/maven-debian-helper-0.6/maven-debian-plugin
>      [echo] Pom name in maven-debian-helper.poms: maven-debian-plugin/pom.xml
>      [echo] Pom file pom.xml available? true
> 
> read.pom:
>      [echo] Cleaner options: 
>      [echo] Cleaning pom /build/user-maven-debian-helper_0.6-amd64-LtFa4_/maven-debian-helper-0.6/maven-debian-plugin/pom.xml
>      [java] Cleaning POM /build/user-maven-debian-helper_0.6-amd64-LtFa4_/maven-debian-helper-0.6/maven-debian-plugin/pom.xml, saving the result into /build/user-maven-debian-helper_0.6-amd64-LtFa4_/maven-debian-helper-0.6/debian/tmp/pom.xml
>      [copy] Copying 1 file to /build/user-maven-debian-helper_0.6-amd64-LtFa4_/maven-debian-helper-0.6/maven-debian-plugin
>      [copy] Copying 1 file to /build/user-maven-debian-helper_0.6-amd64-LtFa4_/maven-debian-helper-0.6/maven-debian-plugin
>      [echo] Properties read from the POM file:
>      [echo]   groupId: org.debian.maven
>      [echo]   artifactId: maven-debian-plugin
> 
> init:
>      [echo] Compile classpath: target/classes:
>      [echo] Test classpath: target/test-classes::target/classes:
> 
> process-resources:
> 
> process-pom:
>     [mkdir] Created dir: /build/user-maven-debian-helper_0.6-amd64-LtFa4_/maven-debian-helper-0.6/maven-debian-plugin/target/classes/META-INF/maven/org.debian.maven/maven-debian-plugin
>      [copy] Copying 2 files to /build/user-maven-debian-helper_0.6-amd64-LtFa4_/maven-debian-helper-0.6/maven-debian-plugin/target/classes/META-INF/maven/org.debian.maven/maven-debian-plugin
> 
> mvn-generate:
> 
> mvn-shared-repo:
> 
> mvn-local-repo:
>     [mkdir] Created dir: /build/user-maven-debian-helper_0.6-amd64-LtFa4_/maven-debian-helper-0.6/debian/tmp/maven-repo
>      [copy] Copying 725 files to /build/user-maven-debian-helper_0.6-amd64-LtFa4_/maven-debian-helper-0.6/debian/tmp/maven-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 Debian 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-plugin-plugin:maven-plugin:2.5
>      [java]   	2) org.apache.maven.doxia:doxia-site-renderer: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-plugin-plugin:maven-plugin:2.5
>      [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-plugin-plugin:maven-plugin:2.5
>      [java]   	2) org.apache.maven.doxia:doxia-site-renderer: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-plugin-plugin:maven-plugin:2.5
>      [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-plugin-plugin:maven-plugin:2.5
>      [java]   	2) org.apache.maven.doxia:doxia-site-renderer: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-plugin-plugin:maven-plugin:2.5
>      [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.ensurePluginContainerIsComplete(DefaultPluginManager.java:835)
>      [java] 	at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:647)
>      [java] 	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:468)
>      [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 13:41:53 CEST 2009
>      [java] [INFO] Final Memory: 8M/51M
>      [java] [INFO] ------------------------------------------------------------------------
> 
> BUILD FAILED
> /build/user-maven-debian-helper_0.6-amd64-LtFa4_/maven-debian-helper-0.6/debian/build.xml:53: The following error occurred while executing this line:
> /build/user-maven-debian-helper_0.6-amd64-LtFa4_/maven-debian-helper-0.6/debian/build.xml:33: The following error occurred while executing this line:
> /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:271: The following error occurred while executing this line:
> /usr/share/maven-ant-helper/maven-build.xml:251: Java returned: 1
> 
> Total time: 5 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-debian-helper_0.6_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