You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by GitBox <gi...@apache.org> on 2019/03/24 01:05:48 UTC

[GitHub] [commons-rng] aherbert commented on issue #32: Jdk 11 build

aherbert commented on issue #32: Jdk 11 build
URL: https://github.com/apache/commons-rng/pull/32#issuecomment-475918478
 
 
   To confirm. Setting the JPMS modules to have a source of 11 with default settings allows javadocs to be built. Here's a snippet with a `maven-javadoc-plugin` that overrides the parent and so resets all configuration. This works:
   
   ```
       <!-- Java language level. -->
       <maven.compiler.source>11</maven.compiler.source>
       <maven.compiler.target>11</maven.compiler.target>
       <animal.sniffer.skip>true</animal.sniffer.skip>
       <maven.compiler.release>11</maven.compiler.release>
     </properties>
   
     <build>
       <plugins>
         <!--  Revert javadoc fix in parent -->
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-javadoc-plugin</artifactId>
           <configuration combine.self="override">
             <source>11</source>
           </configuration>
         </plugin>
       </plugins>
     </build>
   ```
   
   However this omits some of the configuration added by `commons-parent` and `comons-rng-parent` for the javadocs, e.g. MathJax support.
   
   It may be that support for java 9 should be dropped in favour of java 11 and the project fixed as above but adding back the desired javadoc configuration.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services