Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#551227: maven-clean-plugin: FTBFS: Failed to resolve artifact

0 views
Skip to first unread message

Lucas Nussbaum

unread,
Oct 16, 2009, 1:30:02 PM10/16/09
to
Source: maven-clean-plugin
Version: 2.3-3
Severity: serious
User: debi...@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/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/file-management.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-clean-plugin_2.3-3-amd64-dz_wfD/maven-clean-plugin-2.3 -Dpackage=maven-clean-plugin -Dversion=2.3 -buildfile /usr/share/maven-ant-helper/maven-build.xml clean
> Buildfile: /usr/share/maven-ant-helper/maven-build.xml
>
> clean:
>
> BUILD SUCCESSFUL
> Total time: 0 seconds
> rm -f debian/stamp-ant-build
> rm -rf debian/tmp
> dpkg-source -b maven-clean-plugin-2.3
> dpkg-source: info: using source format `1.0'
> dpkg-source: info: building maven-clean-plugin using existing maven-clean-plugin_2.3.orig.tar.gz
> dpkg-source: info: building maven-clean-plugin in maven-clean-plugin_2.3-3.diff.gz
> dpkg-source: info: building maven-clean-plugin in maven-clean-plugin_2.3-3.dsc
> debian/rules build
> test -x debian/rules
> 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/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/file-management.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-clean-plugin_2.3-3-amd64-dz_wfD/maven-clean-plugin-2.3 -Dpackage=maven-clean-plugin -Dversion=2.3 -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-clean-plugin_2.3-3-amd64-dz_wfD/maven-clean-plugin-2.3
> [echo] Pom name in libmaven-clean-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-clean-plugin_2.3-3-amd64-dz_wfD/maven-clean-plugin-2.3/debian/tmp
> [echo] Cleaning pom /build/user-maven-clean-plugin_2.3-3-amd64-dz_wfD/maven-clean-plugin-2.3/pom.xml
> [java] Cleaning POM /build/user-maven-clean-plugin_2.3-3-amd64-dz_wfD/maven-clean-plugin-2.3/pom.xml, saving the result into /build/user-maven-clean-plugin_2.3-3-amd64-dz_wfD/maven-clean-plugin-2.3/debian/tmp/pom.xml
> [copy] Copying 1 file to /build/user-maven-clean-plugin_2.3-3-amd64-dz_wfD/maven-clean-plugin-2.3
> [copy] Copying 1 file to /build/user-maven-clean-plugin_2.3-3-amd64-dz_wfD/maven-clean-plugin-2.3
> [echo] Properties read from the POM file:
> [echo] groupId: org.apache.maven.plugins
> [echo] artifactId: maven-clean-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-clean-plugin_2.3-3-amd64-dz_wfD/maven-clean-plugin-2.3/target/classes/META-INF/maven/org.apache.maven.plugins/maven-clean-plugin
> [copy] Copying 2 files to /build/user-maven-clean-plugin_2.3-3-amd64-dz_wfD/maven-clean-plugin-2.3/target/classes/META-INF/maven/org.apache.maven.plugins/maven-clean-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 Clean 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 12:44:15 CEST 2009
> [java] [INFO] Final Memory: 7M/40M
> [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: 1 second
> make: *** [debian/stamp-ant-build] Error 1

The full build log is available from:
http://people.debian.org/~lucas/logs/2009/10/16/maven-clean-plugin_2.3-3_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
| lu...@lucas-nussbaum.net http://www.lucas-nussbaum.net/ |
| jabber: lu...@nussbaum.fr GPG: 1024D/023B3F4F |

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

0 new messages