Skip to content

Commit 94797ec

Browse files
committed
Fix Java 8 Javadoc
1 parent 754b914 commit 94797ec

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

pom.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,24 @@
306306
<!-- Javadoc 8 expects a package-list file in the Javadoc root but current Java versions generate an element-list file. -->
307307
<commons.javadoc.failOnWarnings>true</commons.javadoc.failOnWarnings>
308308
</properties>
309+
<build>
310+
<plugins>
311+
<plugin>
312+
<groupId>org.apache.maven.plugins</groupId>
313+
<artifactId>maven-javadoc-plugin</artifactId>
314+
<configuration>
315+
<linksource>true</linksource>
316+
<links>
317+
<link>${commons.javadoc.javaee.link}</link>
318+
<link>https://commons.apache.org/proper/commons-lang/apidocs</link>
319+
<!-- http://www.jdom.org/docs/apidocs/ is not a secure link -->
320+
<link>https://javadoc.io/doc/org.jdom/jdom/1.1</link>
321+
</links>
322+
<excludePackageNames>org.apache.commons.jxpath.ri.parser</excludePackageNames>
323+
</configuration>
324+
</plugin>
325+
</plugins>
326+
</build>
309327
</profile>
310328
</profiles>
311329
<developers>

0 commit comments

Comments
 (0)