[ https://issues.apache.org/jira/browse/YETUS-619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16393349#comment-16393349 ]
Akira Ajisaka commented on YETUS-619: ------------------------------------- I ran `mvn install` in audience-annotations-component directory and it failed on both Java 9 and 10. Java 9 {noformat} [ERROR] Failed to execute goal on project audience-annotations: Could not resolve dependencies for project org.apache.yetus:audience-annotations:jar:0.8.0-SNAPSHOT: Could not find artifact jdk.tools:jdk.tools:jar:1.7 at specified path /Library/Java/JavaVirtualMachines/jdk-9.0.1.jdk/Contents/Home/../lib/tools.jar -> [Help 1] {noformat} Java 10 {noformat} [ERROR] Failed to execute goal on project audience-annotations: Could not resolve dependencies for project org.apache.yetus:audience-annotations:jar:0.8.0-SNAPSHOT: Could not find artifact jdk.tools:jdk.tools:jar:1.7 at specified path /Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/../lib/tools.jar -> [Help 1] {noformat} > audience-annotations-jdiff doclet does not work on Java 9 > --------------------------------------------------------- > > Key: YETUS-619 > URL: https://issues.apache.org/jira/browse/YETUS-619 > Project: Yetus > Issue Type: Bug > Components: Audience Annotations > Affects Versions: 0.7.0 > Reporter: Grant Henke > Priority: Minor > > When compiling with Java 9, builds fail to find the jdk.tools jar. This looks > to be a result of the Java 9 Jigsaw changes. I found a brief description > here: [https://stackoverflow.com/a/35244168] > A maven pom file containing the following should be able to reproduce the > issue: > {code:java} > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-javadoc-plugin</artifactId> > <version>${maven-javadoc-plugin.version}</version> > <configuration> > <doclet> > > org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet > </doclet> > <docletArtifact> > <groupId>org.apache.yetus</groupId> > <artifactId>audience-annotations-jdiff</artifactId> > <version>0.7.0</version> > </docletArtifact> > ... > </configuration> > </plugin> > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)