Bug#893355: maven-processor-plugin FTBFS with openjdk-9

Adrian Bunk bunk at debian.org
Sun Mar 18 08:18:37 UTC 2018


Source: maven-processor-plugin
Version: 3.3.2-1
Severity: serious

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/maven-processor-plugin.html

...
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building MAVEN PROCESSOR PLUGIN - 3.3.2 3.3.2
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-plugin-plugin:3.5:helpmojo (help-goal) @ maven-processor-plugin ---
[ERROR] 

Artifact Ids of the format maven-___-plugin are reserved for 
plugins in the Group Id org.apache.maven.plugins
Please change your artifactId to the format ___-maven-plugin
In the future this error will break the build.


[WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to read mojo source files, i.e. build is platform dependent!
[INFO] java-javadoc mojo extractor found 0 mojo descriptor.
[INFO] java-annotations mojo extractor found 0 mojo descriptor.
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ maven-processor-plugin ---
[WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.6.2:compile (default-compile) @ maven-processor-plugin ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
[INFO] Compiling 8 source files to /build/1st/maven-processor-plugin-3.3.2/target/classes
[INFO] /build/1st/maven-processor-plugin-3.3.2/src/main/java/org/bsc/maven/plugin/processor/Debug.java: Some input files use or override a deprecated API.
[INFO] /build/1st/maven-processor-plugin-3.3.2/src/main/java/org/bsc/maven/plugin/processor/Debug.java: Recompile with -Xlint:deprecation for details.
[INFO] /build/1st/maven-processor-plugin-3.3.2/src/main/java/org/bsc/maven/plugin/processor/AbstractAnnotationProcessorMojo.java: /build/1st/maven-processor-plugin-3.3.2/src/main/java/org/bsc/maven/plugin/processor/AbstractAnnotationProcessorMojo.java uses unchecked or unsafe operations.
[INFO] /build/1st/maven-processor-plugin-3.3.2/src/main/java/org/bsc/maven/plugin/processor/AbstractAnnotationProcessorMojo.java: Recompile with -Xlint:unchecked for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /build/1st/maven-processor-plugin-3.3.2/src/main/java/org/bsc/maven/plugin/processor/AnnotationProcessorCompiler.java:[401,38] <anonymous org.bsc.maven.plugin.processor.AnnotationProcessorCompiler$1> is not abstract and does not override abstract method addModules(java.lang.Iterable<java.lang.String>) in javax.tools.JavaCompiler.CompilationTask
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.219 s
[INFO] Finished at: 2019-04-19T18:57:58-12:00
[INFO] Final Memory: 27M/90M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.2:compile (default-compile) on project maven-processor-plugin: Compilation failure
[ERROR] /build/1st/maven-processor-plugin-3.3.2/src/main/java/org/bsc/maven/plugin/processor/AnnotationProcessorCompiler.java:[401,38] <anonymous org.bsc.maven.plugin.processor.AnnotationProcessorCompiler$1> is not abstract and does not override abstract method addModules(java.lang.Iterable<java.lang.String>) in javax.tools.JavaCompiler.CompilationTask
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] 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 -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/build/1st/maven-processor-plugin-3.3.2 -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/build/1st/maven-processor-plugin-3.3.2/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/build/1st/maven-processor-plugin-3.3.2/debian -Dmaven.repo.local=/build/1st/maven-processor-plugin-3.3.2/debian/maven-repo --batch-mode package -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
make: *** [debian/rules:4: build] Error 2



More information about the pkg-java-maintainers mailing list