]> source.dussan.org Git - archiva.git/commitdiff
Fixing module doc configuration for new JDK
authorMartin Stockhammer <martin_s@apache.org>
Wed, 22 Dec 2021 20:11:58 +0000 (21:11 +0100)
committerMartin Stockhammer <martin_s@apache.org>
Wed, 22 Dec 2021 20:11:58 +0000 (21:11 +0100)
archiva-modules/pom.xml

index 26e5fb5c3119373bc792d486005fece115b0a198..8b02dfa34c4deb0504bac661ab9f99e201f34c3d 100644 (file)
         <artifactId>maven-project-info-reports-plugin</artifactId>
         <version>${maven-project-info-reports-plugin.version}</version>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-site-plugin</artifactId>
+        <version>3.9.1</version>
+        <configuration>
+          <reportPlugins>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-javadoc-plugin</artifactId>
+              <version>${javadocPluginVersion}</version>
+              <configuration>
+                <doclint>none</doclint>
+                <additionalparam>-Xdoclint:none</additionalparam>
+              </configuration>
+            </plugin>
+          </reportPlugins>
+        </configuration>
+      </plugin>
 
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <inherited>false</inherited>
         <configuration>
           <notimestamp>true</notimestamp>
-          <source>1.7</source>
+          <source>1.8</source>
           <links>
-            <link>http://java.sun.com/j2se/1.5.0/docs/api</link>
+            <link>https://docs.oracle.com/javase/8/docs/api/</link>
             <link>http://commons.apache.org/collections/apidocs-COLLECTIONS_3_0/</link>
             <link>http://commons.apache.org/dbcp/apidocs/</link>
             <link>http://commons.apache.org/fileupload/apidocs/</link>
           </links>
           <linksource>true</linksource>
           <show>private</show>
+          <doclint>none</doclint>
+          <additionalparam>
+             -Xdoclint:none
+          </additionalparam>
           <!--docletArtifact>
             <groupId>com.google.doclava</groupId>
             <artifactId>doclava</artifactId>
           <doclet>com.google.doclava.Doclava</doclet>
           <bootclasspath>${sun.boot.class.path}</bootclasspath>
           <additionalparam>
-
+             -Xdoclint:none
              -hdf project.name "${project.name}"
              -d ${project.build.directory}/site/apidocs
            </additionalparam>
           <useStandardDocletOptions>false</useStandardDocletOptions>
+          <doclint>none</doclint>
           <additionalJOption>-J-Xmx1024m</additionalJOption>
           <additionnalDependencies>
             <additionnalDependency>