Bug#655368: maven-clean-plugin: FTBFS: POM 'org.apache.maven.plugins:maven-plugin-plugin' not found in repository

Daniel Schepler dschepler at gmail.com
Tue Jan 10 17:42:42 UTC 2012


Source: maven-clean-plugin
Version: 2.3-4
Severity: serious

From my pbuilder build log:

...
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=/tmp/buildd/maven-clean-plugin-2.3/debian/maven.properties -
Dclassworlds.conf=/etc/maven2/m2-debian.conf org.codehaus.classworlds.Launcher -s/etc/maven2/settings-debian.xml -Dmaven.repo.local=/tmp/buildd/maven-clean-plugin-2.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 Clean Plugin
[INFO]    task-segment: [package]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.maven.plugins:maven-plugin-plugin

Reason: POM 'org.apache.maven.plugins:maven-plugin-plugin' not found in repository: System is offline.

  org.apache.maven.plugins:maven-plugin-plugin:pom:2.8


 for project org.apache.maven.plugins:maven-plugin-plugin


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Mon Jan 09 15:19:52 UTC 2012
[INFO] Final Memory: 2M/70M
[INFO] ------------------------------------------------------------------------
make: *** [mvn-build] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Just adding a Build-Depends on libmaven-plugin-tools-java should be enough to
fix the problem (at least, in my pbuildd bootstrapping phase, I didn't run into
any problems building the package that required patching the source package).
-- 
Daniel Schepler





More information about the pkg-java-maintainers mailing list