Uploaded image for project: 'Yetus'
  1. Yetus
  2. YETUS-619

audience-annotations-jdiff doclet does not work on Java 9

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.7.0
    • 0.8.0
    • Audience Annotations
    • None

    Description

      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:

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

      Attachments

        Activity

          People

            aajisaka Akira Ajisaka
            granthenke Grant Henke
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: