Bug#733434: maven-plugin-testing: FTBFS: Missing required artifact: org.apache.maven.plugin-testing:maven-test-tools:jar:debian

David Suárez david.sephirot at gmail.com
Sat Dec 28 21:04:03 UTC 2013


Source: maven-plugin-testing
Version: 1.3-1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20131226 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
>  debian/rules build
> test -x debian/rules
> mkdir -p "."
> /usr/share/maven-debian-helper/copy-repo.sh /«PKGBUILDDIR»/debian
> mh_patchpoms -plibmaven-plugin-testing-java --debian-build --keep-pom-version --maven-repo=/«PKGBUILDDIR»/debian/maven-repo 
> 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=/«PKGBUILDDIR»/debian/maven.properties -Dclassworlds.conf=/etc/maven2/m2-debian.conf org.codehaus.classworlds.Launcher -s/etc/maven2/settings-debian.xml -Dmaven.repo.local=/«PKGBUILDDIR»/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] Reactor build order: 
> [INFO]   Maven Plugin Testing
> [INFO]   Maven Plugin Testing Mechanism
> [INFO]   Maven Testing Tools
> [INFO]   Maven Plugin Testing Tools
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Maven Plugin Testing
> [INFO]    task-segment: [package]
> [INFO] ------------------------------------------------------------------------
> [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Maven Plugin Testing Mechanism
> [INFO]    task-segment: [package]
> [INFO] ------------------------------------------------------------------------
> [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 1 resource
> [WARNING] POM for 'org.codehaus.plexus:plexus-compiler-api:pom:debian:runtime' is invalid.
> 
> Its dependencies (if any) will NOT be available to the current build.
> [WARNING] POM for 'org.codehaus.plexus:plexus-compiler-javac:pom:debian:runtime' is invalid.
> 
> Its dependencies (if any) will NOT be available to the current build.
> [INFO] [compiler:compile {execution: default-compile}]
> [WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
> [INFO] Compiling 11 source files to /«PKGBUILDDIR»/maven-plugin-testing-harness/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] skip non existing resourceDirectory /«PKGBUILDDIR»/maven-plugin-testing-harness/src/test/resources
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
> [INFO] Compiling 6 source files to /«PKGBUILDDIR»/maven-plugin-testing-harness/target/test-classes
> [INFO] [surefire:test {execution: default-test}]
> [INFO] Surefire report directory: /«PKGBUILDDIR»/maven-plugin-testing-harness/target/surefire-reports
> 
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.maven.plugin.testing.MojoTestCaseTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.539 sec
> Running org.apache.maven.plugin.testing.ArtifactStubFactoryTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
> Running org.apache.maven.plugin.testing.ExpressionEvaluatorTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.072 sec
> Running org.apache.maven.plugin.testing.TestSilentLog
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
> 
> Results :
> 
> Tests run: 10, Failures: 0, Errors: 0, Skipped: 0
> 
> [INFO] [jar:jar {execution: default-jar}]
> [INFO] Building jar: /«PKGBUILDDIR»/maven-plugin-testing-harness/target/maven-plugin-testing-harness-1.3.jar
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Maven Testing Tools
> [INFO]    task-segment: [package]
> [INFO] ------------------------------------------------------------------------
> [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] skip non existing resourceDirectory /«PKGBUILDDIR»/maven-test-tools/src/main/resources
> [INFO] [compiler:compile {execution: default-compile}]
> [WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
> [INFO] Compiling 4 source files to /«PKGBUILDDIR»/maven-test-tools/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] skip non existing resourceDirectory /«PKGBUILDDIR»/maven-test-tools/src/test/resources
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [surefire:test {execution: default-test}]
> [INFO] No tests to run.
> [INFO] Surefire report directory: /«PKGBUILDDIR»/maven-test-tools/target/surefire-reports
> 
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> 
> Results :
> 
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> 
> [INFO] [jar:jar {execution: default-jar}]
> [INFO] Building jar: /«PKGBUILDDIR»/maven-test-tools/target/maven-test-tools-1.3.jar
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Maven Plugin Testing Tools
> [INFO]    task-segment: [package]
> [INFO] ------------------------------------------------------------------------
> [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] skip non existing resourceDirectory /«PKGBUILDDIR»/maven-plugin-testing-tools/src/main/resources
> [INFO] [compiler:compile {execution: default-compile}]
> [WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
> [INFO] Compiling 6 source files to /«PKGBUILDDIR»/maven-plugin-testing-tools/target/classes
> [INFO] [plexus:descriptor {execution: create-component-descriptor}]
> [INFO] Discovered 5 component descriptors(s)
> [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] skip non existing resourceDirectory /«PKGBUILDDIR»/maven-plugin-testing-tools/src/test/resources
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> 
> Missing:
> ----------
> 1) org.apache.maven.plugin-testing: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.plugin-testing -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.plugin-testing -DartifactId=maven-test-tools -Dversion=debian -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> 
>   Path to dependency: 
>   	1) org.apache.maven.plugin-testing:maven-plugin-testing-tools:jar:1.3
>   	2) org.apache.maven.plugin-testing:maven-test-tools:jar:debian
> 
> ----------
> 1 required artifact is missing.
> 
> for artifact: 
>   org.apache.maven.plugin-testing:maven-plugin-testing-tools:jar:1.3
> 
> 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: 15 seconds
> [INFO] Finished at: Fri Dec 27 01:29:20 UTC 2013
> [INFO] Final Memory: 20M/58M
> [INFO] ------------------------------------------------------------------------
> make: *** [mvn-build] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/12/26/maven-plugin-testing_1.3-1_unstable.log

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 EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the pkg-java-maintainers mailing list