Bug#875333: FTBFS with Java 9: tools.jar

Chris West debian at fau.xxx
Sun Sep 10 18:50:06 UTC 2017


Source: aspectj-maven-plugin
Version: 1.7-1
Severity: normal
User: debian-java at lists.debian.org
Usertags: default-java9

This package fails to build with default-jdk pointing to openjdk-9-jdk.
Please fix it, so that we can start the transition to Java 9.
The wiki has some common problems and their solutions:
https://wiki.debian.org/Java/Java9Pitfalls

It's looking for tools.jar, which has gone.
There is an upstream issue:
https://github.com/mojohaus/aspectj-maven-plugin/issues/24

Build log:

INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] 'dependencies.dependency.systemPath' for com.sun:tools:jar must specify an absolute path but is ${toolsjarSystemPath} @ line 175, column 16
 @ 
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project org.codehaus.mojo:aspectj-maven-plugin:1.7 (/build/aspectj-maven-plugin-1.7/pom.xml) has 1 error
[ERROR]     'dependencies.dependency.systemPath' for com.sun:tools:jar must specify an absolute path but is ${toolsjarSystemPath} @ line 175, column 16
[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/ProjectBuildingException




Cheers,
Chris.



More information about the pkg-java-maintainers mailing list