OSDN Git Service

update javadoc plugins.
[mikutoga/Pmd2XML.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 612fed4..c356c0b 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -91,6 +91,9 @@
         <javadoc.locale>${locale}</javadoc.locale>
         <spotbugs.jvmArgs>-Duser.language=${locale}</spotbugs.jvmArgs>
 
+        <!-- Walk around: JDK 11 javadoc + Maven -->
+        <detectJavaApiLink>false</detectJavaApiLink>
+
         <project.mainconf>${project.basedir}/src/main/config</project.mainconf>
 
         <surefire-plugin.version>3.0.0-M3</surefire-plugin.version>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-javadoc-plugin</artifactId>
-                <version>2.9.1</version>
+                <version>3.1.0</version>
                 <configuration>
-                    <skip>false</skip>
+                    <author>false</author>
                     <notimestamp>true</notimestamp>
                     <quiet>true</quiet>
                     <show>protected</show>
-                    <stylesheet>maven</stylesheet>
+                    <header>${project.name} ${project.version} API</header>
+                    <version>true</version>
+                    <locale>${javadoc.locale}</locale>
+                    <!-- for JDK11 javadoc -->
+                    <additionalJOption>-J-Duser.language=${javadoc.locale}</additionalJOption>
                 </configuration>
                 <reportSets>
                     <reportSet>