Bug#871135: maven-dependency-plugin: FTBFS: ERROR /<<PKGBUILDDIR>>/src/main/java/org/apache/maven/plugin/dependency/utils/DependencySilentLog.java:[31, 8] org.apache.maven.plugin.dependency.utils.DependencySilentLog is not abstract and does not override abstract method setThreshold(int) in org.codehaus.plexus.logging.Logger
Lucas Nussbaum
lucas at debian.org
Sun Aug 6 21:57:03 UTC 2017
Source: maven-dependency-plugin
Version: 2.8-1
Severity: serious
Tags: buster sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20170805 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
> dh build --buildsystem=maven
> dh_update_autotools_config -O--buildsystem=maven
> dh_auto_configure -O--buildsystem=maven
> mh_patchpoms -plibmaven-dependency-plugin-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
> dh_auto_build -O--buildsystem=maven
> /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo package -DskipTests -Dnotimestamp=true -Dlocale=en_US
> [[1;34mINFO[m] Scanning for projects...
> [[1;33mWARNING[m]
> [[1;33mWARNING[m] Some problems were encountered while building the effective model for org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:2.8
> [[1;33mWARNING[m] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.maven.plugin-testing:maven-plugin-testing-harness:jar -> duplicate declaration of version debian @ line 228, column 15
> [[1;33mWARNING[m]
> [[1;33mWARNING[m] It is highly recommended to fix these problems because they threaten the stability of your build.
> [[1;33mWARNING[m]
> [[1;33mWARNING[m] For this reason, future Maven versions might no longer support building such malformed projects.
> [[1;33mWARNING[m]
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1mBuilding Maven Dependency Plugin 2.8[m
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-plugin-plugin:3.5:helpmojo[m [1m(help-goal)[m @ [36mmaven-dependency-plugin[0;1m ---[m
> [[1;33mWARNING[m] Using platform encoding (ANSI_X3.4-1968 actually) to read mojo source files, i.e. build is platform dependent!
> [[1;34mINFO[m] java-javadoc mojo extractor found 0 mojo descriptor.
> [[1;33mWARNING[m] Unable to get sources artifact for org.apache.maven.reporting:maven-reporting-impl:debian. Some javadoc tags (@since, @deprecated and comments) won't be used
> [[1;34mINFO[m] java-annotations mojo extractor found 0 mojo descriptor.
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-resources-plugin:3.0.2:resources[m [1m(default-resources)[m @ [36mmaven-dependency-plugin[0;1m ---[m
> [[1;33mWARNING[m] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
> [[1;34mINFO[m] Copying 6 resources
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-compiler-plugin:3.6.1:compile[m [1m(default-compile)[m @ [36mmaven-dependency-plugin[0;1m ---[m
> [[1;33mWARNING[m] The POM for org.codehaus.plexus:plexus-compiler-api:jar:2.x is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
> [[1;33mWARNING[m] The POM for org.codehaus.plexus:plexus-compiler-javac:jar:2.x is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
> [[1;34mINFO[m] Changes detected - recompiling the module!
> [[1;33mWARNING[m] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
> [[1;34mINFO[m] Compiling 49 source files to /<<PKGBUILDDIR>>/target/classes
> Use of target 1.5 is no longer supported, switching to 1.7
> Use of source 1.5 is no longer supported, switching to 1.7
> [[1;34mINFO[m] /<<PKGBUILDDIR>>/src/main/java/org/apache/maven/plugin/dependency/AbstractDependencyMojo.java: Some input files use or override a deprecated API.
> [[1;34mINFO[m] /<<PKGBUILDDIR>>/src/main/java/org/apache/maven/plugin/dependency/AbstractDependencyMojo.java: Recompile with -Xlint:deprecation for details.
> [[1;34mINFO[m] /<<PKGBUILDDIR>>/src/main/java/org/apache/maven/plugin/dependency/resolvers/ListRepositoriesMojo.java: Some input files use unchecked or unsafe operations.
> [[1;34mINFO[m] /<<PKGBUILDDIR>>/src/main/java/org/apache/maven/plugin/dependency/resolvers/ListRepositoriesMojo.java: Recompile with -Xlint:unchecked for details.
> [[1;34mINFO[m] -------------------------------------------------------------
> [[1;31mERROR[m] COMPILATION ERROR :
> [[1;34mINFO[m] -------------------------------------------------------------
> [[1;31mERROR[m] /<<PKGBUILDDIR>>/src/main/java/org/apache/maven/plugin/dependency/utils/DependencySilentLog.java:[31,8] org.apache.maven.plugin.dependency.utils.DependencySilentLog is not abstract and does not override abstract method setThreshold(int) in org.codehaus.plexus.logging.Logger
> [[1;34mINFO[m] 1 error
> [[1;34mINFO[m] -------------------------------------------------------------
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1;31mBUILD FAILURE[m
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] Total time: 2.634 s
> [[1;34mINFO[m] Finished at: 2017-08-06T20:18:23Z
> [[1;34mINFO[m] Final Memory: 37M/1177M
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;31mERROR[m] Failed to execute goal [32morg.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile[m [1m(default-compile)[m on project [36mmaven-dependency-plugin[m: [1;31mCompilation failure[m
> [[1;31mERROR[m] [1;31m/<<PKGBUILDDIR>>/src/main/java/org/apache/maven/plugin/dependency/utils/DependencySilentLog.java:[31,8] org.apache.maven.plugin.dependency.utils.DependencySilentLog is not abstract and does not override abstract method setThreshold(int) in org.codehaus.plexus.logging.Logger[m
> [[1;31mERROR[m] [1;31m[m
> [[1;31mERROR[m] -> [1m[Help 1][m
> [[1;31mERROR[m]
> [[1;31mERROR[m] To see the full stack trace of the errors, re-run Maven with the [1m-e[m switch.
> [[1;31mERROR[m] Re-run Maven using the [1m-X[m switch to enable full debug logging.
> [[1;31mERROR[m]
> [[1;31mERROR[m] For more information about the errors and possible solutions, please read the following articles:
> [[1;31mERROR[m] [1m[Help 1][m http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> dh_auto_build: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo package -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
> debian/rules:6: recipe for target 'build' failed
> make: *** [build] Error 1
The full build log is available from:
http://aws-logs.debian.net/2017/08/05/maven-dependency-plugin_2.8-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