You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@yetus.apache.org by "Grant Henke (JIRA)" <ji...@apache.org> on 2018/03/07 03:44:00 UTC

[jira] [Created] (YETUS-619) audience-annotations-jdiff doclet does not work on Java 9

Grant Henke created YETUS-619:
---------------------------------

             Summary: 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


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)