[
https://issues.apache.org/jira/browse/YETUS-619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16394795#comment-16394795
]
Allen Wittenauer commented on YETUS-619:
----------------------------------------
We should probably fix yetus-project's pom.xml to go with this change.
At least, when I try to do a mvn install in audience-annotations-component, I'm
blowing warnings:
{code}
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.apache.yetus:audience-annotations:jar:0.8.0-SNAPSHOT
[WARNING] 'dependencyManagement.dependencies.dependency.systemPath' for
jdk.tools:jdk.tools:jar refers to a non-existing file
/usr/lib/jvm/java-9-openjdk-amd64/../lib/tools.jar. Please verify that you run
Maven using a JDK and not just a JRE. @
org.apache.yetus:yetus-project:0.8.0-SNAPSHOT,
/home/aw/1/yetus/yetus-project/pom.xml, line 80, column 21
{code}
> 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
> Assignee: Akira Ajisaka
> 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)