]> source.dussan.org Git - poi.git/commitdiff
Allow to pass --add-modules to javadoc as well as we get lots of missing code reporte...
authorDominik Stadler <centic@apache.org>
Sat, 31 Dec 2016 16:53:20 +0000 (16:53 +0000)
committerDominik Stadler <centic@apache.org>
Sat, 31 Dec 2016 16:53:20 +0000 (16:53 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776797 13f79535-47bb-0310-9956-ffa450edef68

build.xml
jenkins/create_jobs.groovy

index 3db1de7b30ddea9b219518103a824a96852ebc0e..802f89c948b0799f5c58d5597e1fcc4ae171a70d 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -308,6 +308,7 @@ under the License.
     <!-- this can be overwriten to empty when running with Java 9 -->
     <property name="maxpermsize" value="-XX:MaxPermSize=256m"/>
     <property name="java9addmods" value="-Dthis.is.a.dummy=true"/>
+    <property name="javadoc9addmods" value="-J-Dthis.is.a.dummy=true"/>
     <property name="java9addmodsvalue" value="-Dthis.is.a.dummy=true"/>
     <property name="java9addopens1" value="-Dthis.is.a.dummy=true"/>
     <property name="java9addopens2" value="-Dthis.is.a.dummy=true"/>
@@ -1749,6 +1750,8 @@ under the License.
             <packageset dir="${ooxml.src}" defaultexcludes="yes">
                 <include name="org/apache/poi/**"/>
             </packageset>
+            
+            <arg value="${javadoc9addmods}"/>
 
             <doctitle><![CDATA[<h1>POI API Documentation</h1>]]></doctitle>
             <bottom>
index 62a017ea7532f6e8686441a761362babc73b2ed0..401eafa241e5908b0d2903a0de9c735f677d68a9 100644 (file)
@@ -29,6 +29,7 @@ def poijobs = [
     [ name: 'POI-DSL-1.9', jdk: '1.9', trigger: triggerSundays,
         properties: ['-Dmaxpermsize=-Dthis.is.a.dummy=true',
                      '-Djava9addmods=--add-modules=java.xml.bind',
+                     '-Djavadoc9addmods=--add-modules=java.xml.bind',
                      '-Djava9addmodsvalue=-Dsun.reflect.debugModuleAccessChecks=true',
                      '-Djava9addopens1=--add-opens=java.base/com.sun.org.apache.xerces.internal.util=ALL-UNNAMED',
                      '-Djava9addopens2=--add-opens=java.base/java.io=ALL-UNNAMED',