Bug#591134: maven-assembly-plugin: FTBFS: maven errors

Lucas Nussbaum lucas at lucas-nussbaum.net
Sat Jul 31 22:51:46 UTC 2010


Source: maven-assembly-plugin
Version: 2.2~beta5-1
Severity: serious
Tags: squeeze sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20100731 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-assembly-plugin_2.2~beta5-1-amd64-19TzL9/maven-assembly-plugin-2.2~beta5'
> make[1]: Nothing to be done for `update-config'.
> make[1]: Leaving directory `/build/user-maven-assembly-plugin_2.2~beta5-1-amd64-19TzL9/maven-assembly-plugin-2.2~beta5'
> /usr/share/maven-debian-helper/copy-repo.sh /build/user-maven-assembly-plugin_2.2~beta5-1-amd64-19TzL9/maven-assembly-plugin-2.2~beta5/debian
> mh_patchpoms -plibmaven-assembly-plugin-java --debian-build --keep-pom-version --maven-repo=/build/user-maven-assembly-plugin_2.2~beta5-1-amd64-19TzL9/maven-assembly-plugin-2.2~beta5/debian/maven-repo --ignore-rules=debian/maven.ignoreRules
> [ERROR] Cannot find parent dependency org.apache.maven.plugins:maven-plugins:pom:debian, use --no-parent option to resolve this issue or install the parent POM in the Maven repository
> touch debian/stamp-poms-patched
> # before-build target may be used to unpatch the pom files, so we need to check if
> # patching the pom files is needed here, normally not
> if [ ! -f pom.xml.save ]; then \
> 		/usr/bin/make -f debian/rules patch-poms; \
> 	fi
> 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-assembly-plugin_2.2~beta5-1-amd64-19TzL9/maven-assembly-plugin-2.2~beta5/debian/maven.properties -Dclassworlds.conf=/etc/maven2/m2-debian-nodocs.conf org.codehaus.classworlds.Launcher -s/etc/maven2/settings-debian.xml -Dmaven.repo.local=/build/user-maven-assembly-plugin_2.2~beta5-1-amd64-19TzL9/maven-assembly-plugin-2.2~beta5/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 Assembly Plugin
> [INFO]    task-segment: [package]
> [INFO] ------------------------------------------------------------------------
> [INFO] [modello:xpp3-reader {execution: mdo}]
> [INFO] outputDirectory: /build/user-maven-assembly-plugin_2.2~beta5-1-amd64-19TzL9/maven-assembly-plugin-2.2~beta5/target/generated-sources/modello
> [INFO] Working on model: src/main/mdo/descriptor.mdo
> [INFO] Generating current version: 1.1.1
> [INFO] Working on model: src/main/mdo/component.mdo
> [INFO] Generating current version: 1.1.1
> [INFO] [modello:xpp3-writer {execution: mdo}]
> [INFO] outputDirectory: /build/user-maven-assembly-plugin_2.2~beta5-1-amd64-19TzL9/maven-assembly-plugin-2.2~beta5/target/generated-sources/modello
> [INFO] Working on model: src/main/mdo/descriptor.mdo
> [INFO] Generating current version: 1.1.1
> [INFO] Working on model: src/main/mdo/component.mdo
> [INFO] Generating current version: 1.1.1
> [INFO] [modello:java {execution: mdo}]
> [INFO] outputDirectory: /build/user-maven-assembly-plugin_2.2~beta5-1-amd64-19TzL9/maven-assembly-plugin-2.2~beta5/target/generated-sources/modello
> [INFO] Working on model: src/main/mdo/descriptor.mdo
> [INFO] Generating current version: 1.1.1
> [INFO] Working on model: src/main/mdo/component.mdo
> [INFO] Generating current version: 1.1.1
> [INFO] [modello:xsd {execution: mdo}]
> [INFO] outputDirectory: /build/user-maven-assembly-plugin_2.2~beta5-1-amd64-19TzL9/maven-assembly-plugin-2.2~beta5/target/generated-site/xsd
> [INFO] Working on model: src/main/mdo/descriptor.mdo
> [INFO] Generating current version: 1.1.1
> [INFO] Working on model: src/main/mdo/component.mdo
> [INFO] Generating current version: 1.1.1
> [INFO] [plugin:descriptor {execution: default-descriptor}]
> [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to read mojo metadata, i.e. build is platform dependent!
> [INFO] Applying mojo extractor for language: java
> [INFO] Mojo extractor for language: java found 7 mojo descriptors.
> [INFO] Applying mojo extractor for language: bsh
> [INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
> [INFO] [plexus:descriptor {execution: create-component-descriptor}]
> [INFO] Discovered 8 component descriptors(s)
> [INFO] [plexus:merge-descriptors {execution: merge}]
> [INFO] [resources:resources {execution: default-resources}]
> [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 5 resources
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 79 source files to /build/user-maven-assembly-plugin_2.2~beta5-1-amd64-19TzL9/maven-assembly-plugin-2.2~beta5/target/classes
> [INFO] [resources:testResources {execution: default-testResources}]
> [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 1 resource
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> 
> Missing:
> ----------
> 1) saxpath:saxpath:jar:debian
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=saxpath -DartifactId=saxpath -Dversion=debian -Dpackaging=jar -Dfile=/path/to/file
> 
>   Alternatively, if you host your own repository you can deploy the file there: 
>       mvn deploy:deploy-file -DgroupId=saxpath -DartifactId=saxpath -Dversion=debian -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> 
>   Path to dependency: 
>   	1) org.apache.maven.plugins:maven-assembly-plugin:maven-plugin:2.2-beta-5
>   	2) saxpath:saxpath:jar:debian
> 
> 2) easymock:easymockclassextension:jar:debian
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=easymock -DartifactId=easymockclassextension -Dversion=debian -Dpackaging=jar -Dfile=/path/to/file
> 
>   Alternatively, if you host your own repository you can deploy the file there: 
>       mvn deploy:deploy-file -DgroupId=easymock -DartifactId=easymockclassextension -Dversion=debian -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> 
>   Path to dependency: 
>   	1) org.apache.maven.plugins:maven-assembly-plugin:maven-plugin:2.2-beta-5
>   	2) easymock:easymockclassextension:jar:debian
> 
> 3) jdom:jdom:jar:debian
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=jdom -DartifactId=jdom -Dversion=debian -Dpackaging=jar -Dfile=/path/to/file
> 
>   Alternatively, if you host your own repository you can deploy the file there: 
>       mvn deploy:deploy-file -DgroupId=jdom -DartifactId=jdom -Dversion=debian -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> 
>   Path to dependency: 
>   	1) org.apache.maven.plugins:maven-assembly-plugin:maven-plugin:2.2-beta-5
>   	2) jdom:jdom:jar:debian
> 
> 4) jaxen:jaxen:jar:debian
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=jaxen -DartifactId=jaxen -Dversion=debian -Dpackaging=jar -Dfile=/path/to/file
> 
>   Alternatively, if you host your own repository you can deploy the file there: 
>       mvn deploy:deploy-file -DgroupId=jaxen -DartifactId=jaxen -Dversion=debian -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> 
>   Path to dependency: 
>   	1) org.apache.maven.plugins:maven-assembly-plugin:maven-plugin:2.2-beta-5
>   	2) jaxen:jaxen:jar:debian
> 
> 5) org.apache.maven.shared:maven-plugin-testing-tools:jar:debian
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=org.apache.maven.shared -DartifactId=maven-plugin-testing-tools -Dversion=debian -Dpackaging=jar -Dfile=/path/to/file
> 
>   Alternatively, if you host your own repository you can deploy the file there: 
>       mvn deploy:deploy-file -DgroupId=org.apache.maven.shared -DartifactId=maven-plugin-testing-tools -Dversion=debian -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> 
>   Path to dependency: 
>   	1) org.apache.maven.plugins:maven-assembly-plugin:maven-plugin:2.2-beta-5
>   	2) org.apache.maven.shared:maven-plugin-testing-tools:jar:debian
> 
> 6) org.apache.maven.shared:maven-test-tools:jar:debian
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=org.apache.maven.shared -DartifactId=maven-test-tools -Dversion=debian -Dpackaging=jar -Dfile=/path/to/file
> 
>   Alternatively, if you host your own repository you can deploy the file there: 
>       mvn deploy:deploy-file -DgroupId=org.apache.maven.shared -DartifactId=maven-test-tools -Dversion=debian -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> 
>   Path to dependency: 
>   	1) org.apache.maven.plugins:maven-assembly-plugin:maven-plugin:2.2-beta-5
>   	2) org.apache.maven.shared:maven-test-tools:jar:debian
> 
> 7) junit:junit:jar:debian
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=junit -DartifactId=junit -Dversion=debian -Dpackaging=jar -Dfile=/path/to/file
> 
>   Alternatively, if you host your own repository you can deploy the file there: 
>       mvn deploy:deploy-file -DgroupId=junit -DartifactId=junit -Dversion=debian -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> 
>   Path to dependency: 
>   	1) org.apache.maven.plugins:maven-assembly-plugin:maven-plugin:2.2-beta-5
>   	2) junit:junit:jar:debian
> 
> ----------
> 7 required artifacts are missing.
> 
> for artifact: 
>   org.apache.maven.plugins:maven-assembly-plugin:maven-plugin:2.2-beta-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: 5 seconds
> [INFO] Finished at: Sat Jul 31 18:28:22 CEST 2010
> [INFO] Final Memory: 35M/860M
> [INFO] ------------------------------------------------------------------------
> make: *** [mvn-build] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2010/07/31/maven-assembly-plugin_2.2~beta5-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