Bug#551231: maven-antrun-plugin: FTBFS: Failed to resolve artifact

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


Source: maven-antrun-plugin
Version: 1.3-1
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
> mkdir -p "."
> mh_patchpoms -plibmaven-antrun-plugin-java --keep-pom-version 
> touch debian/stamp-poms-patched
> /usr/share/maven-debian-helper/copy-repo.sh /build/user-maven-antrun-plugin_1.3-1-amd64-1WUXR6/maven-antrun-plugin-1.3/debian
> cd . && /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven2/boot/classworlds.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dproperties.file.manual=/build/user-maven-antrun-plugin_1.3-1-amd64-1WUXR6/maven-antrun-plugin-1.3/debian/maven.properties -Dclassworlds.conf=/etc/maven2/m2-debian.conf org.codehaus.classworlds.Launcher  -s/etc/maven2/settings-debian.xml -Dmaven.repo.local=/build/user-maven-antrun-plugin_1.3-1-amd64-1WUXR6/maven-antrun-plugin-1.3/debian/maven-repo  clean
> [INFO] 
> NOTE: Maven is executing in offline mode. Any artifacts not already in your local
> repository will be inaccessible.
> 
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Maven AntRun Plugin
> [INFO]    task-segment: [clean]
> [INFO] ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Fri Oct 16 13:00:31 CEST 2009
> [INFO] Final Memory: 5M/241M
> [INFO] ------------------------------------------------------------------------
> rm -f -r /build/user-maven-antrun-plugin_1.3-1-amd64-1WUXR6/maven-antrun-plugin-1.3/debian/maven-repo debian/stamp-maven-build
> rm -f debian/*.substvars
> dh_clean 
> mh_unpatchpoms -plibmaven-antrun-plugin-java
> rm -f -f debian/stamp-poms-patched
>  dpkg-source -b maven-antrun-plugin-1.3
> dpkg-source: info: using source format `1.0'
> dpkg-source: info: building maven-antrun-plugin using existing maven-antrun-plugin_1.3.orig.tar.gz
> dpkg-source: info: building maven-antrun-plugin in maven-antrun-plugin_1.3-1.diff.gz
> dpkg-source: info: building maven-antrun-plugin in maven-antrun-plugin_1.3-1.dsc
>  debian/rules build
> test -x debian/rules
> mkdir -p "."
> mh_patchpoms -plibmaven-antrun-plugin-java --keep-pom-version 
> touch debian/stamp-poms-patched
> /usr/share/maven-debian-helper/copy-repo.sh /build/user-maven-antrun-plugin_1.3-1-amd64-1WUXR6/maven-antrun-plugin-1.3/debian
> cd . && /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven2/boot/classworlds.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dproperties.file.manual=/build/user-maven-antrun-plugin_1.3-1-amd64-1WUXR6/maven-antrun-plugin-1.3/debian/maven.properties -Dclassworlds.conf=/etc/maven2/m2-debian.conf org.codehaus.classworlds.Launcher  -s/etc/maven2/settings-debian.xml -Dmaven.repo.local=/build/user-maven-antrun-plugin_1.3-1-amd64-1WUXR6/maven-antrun-plugin-1.3/debian/maven-repo  package
> [INFO] 
> NOTE: Maven is executing in offline mode. Any artifacts not already in your local
> repository will be inaccessible.
> 
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Maven AntRun Plugin
> [INFO]    task-segment: [package]
> [INFO] ------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> 
> Missing:
> ----------
> 1) commons-httpclient:commons-httpclient:jar:3.x
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=commons-httpclient -DartifactId=commons-httpclient -Dversion=3.x -Dpackaging=jar -Dfile=/path/to/file
> 
>   Alternatively, if you host your own repository you can deploy the file there: 
>       mvn deploy:deploy-file -DgroupId=commons-httpclient -DartifactId=commons-httpclient -Dversion=3.x -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> 
>   Path to dependency: 
>   	1) org.apache.maven.plugins:maven-plugin-plugin:maven-plugin:2.5
>   	2) org.apache.maven.doxia:doxia-site-renderer:jar:debian
>   	3) org.apache.maven.doxia:doxia-core:jar:debian
>   	4) commons-httpclient:commons-httpclient:jar:3.x
> 
> ----------
> 1 required artifact is missing.
> 
> for artifact: 
>   org.apache.maven.plugins:maven-plugin-plugin:maven-plugin:2.5
> 
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2)
> 
> 
> 
> NOTE: Maven is executing in offline mode. Any artifacts not already in your local
> repository will be inaccessible.
> 
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Fri Oct 16 13:00:41 CEST 2009
> [INFO] Final Memory: 10M/303M
> [INFO] ------------------------------------------------------------------------
> make: *** [debian/stamp-maven-build] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2009/10/16/maven-antrun-plugin_1.3-1_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