Skip to content

Commit 978a388

Browse files
committed
Javadoc 8 expects a package-list file in the Javadoc root but current
Java versions generate an element-list file
1 parent c38155b commit 978a388

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

pom.xml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<groupId>org.apache.commons</groupId>
2121
<artifactId>commons-parent</artifactId>
22-
<version>81</version>
22+
<version>79</version>
2323
</parent>
2424
<modelVersion>4.0.0</modelVersion>
2525
<groupId>commons-jxpath</groupId>
@@ -117,9 +117,7 @@
117117
<!-- http://www.jdom.org/docs/apidocs/ is not a secure link -->
118118
<link>https://javadoc.io/doc/org.jdom/jdom/1.1</link>
119119
</links>
120-
<excludePackageNames>
121-
org.apache.commons.jxpath.ri.parser
122-
</excludePackageNames>
120+
<excludePackageNames>org.apache.commons.jxpath.ri.parser</excludePackageNames>
123121
</configuration>
124122
</plugin>
125123
<plugin>
@@ -298,6 +296,18 @@
298296
<system>GitHub</system>
299297
<url>https://github.com/apache/commons-jaxpth/actions</url>
300298
</ciManagement>
299+
<profiles>
300+
<profile>
301+
<id>java-8</id>
302+
<activation>
303+
<jdk>8</jdk>
304+
</activation>
305+
<properties>
306+
<!-- Javadoc 8 expects a package-list file in the Javadoc root but current Java versions generate an element-list file. -->
307+
<commons.javadoc.failOnWarnings>true</commons.javadoc.failOnWarnings>
308+
</properties>
309+
</profile>
310+
</profiles>
301311
<developers>
302312
<developer>
303313
<id>dmitri</id>

0 commit comments

Comments
 (0)