This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-jxpath.git


The following commit(s) were added to refs/heads/master by this push:
     new 978a388  Javadoc 8 expects a package-list file in the Javadoc root but 
current Java versions generate an element-list file
978a388 is described below

commit 978a3883b961f6a82549e9f28d382ae63a5e408e
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Thu Mar 20 09:48:17 2025 -0400

    Javadoc 8 expects a package-list file in the Javadoc root but current
    Java versions generate an element-list file
---
 pom.xml | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/pom.xml b/pom.xml
index f5e2918..58a93ca 100644
--- a/pom.xml
+++ b/pom.xml
@@ -19,7 +19,7 @@
   <parent>
     <groupId>org.apache.commons</groupId>
     <artifactId>commons-parent</artifactId>
-    <version>81</version>
+    <version>79</version>
   </parent>
   <modelVersion>4.0.0</modelVersion>
   <groupId>commons-jxpath</groupId>
@@ -117,9 +117,7 @@
             <!-- http://www.jdom.org/docs/apidocs/ is not a secure link -->
             <link>https://javadoc.io/doc/org.jdom/jdom/1.1</link>
           </links>
-          <excludePackageNames>
-            org.apache.commons.jxpath.ri.parser
-          </excludePackageNames>
+          
<excludePackageNames>org.apache.commons.jxpath.ri.parser</excludePackageNames>
         </configuration>
       </plugin>
       <plugin>
@@ -298,6 +296,18 @@
     <system>GitHub</system>
     <url>https://github.com/apache/commons-jaxpth/actions</url>
   </ciManagement>
+  <profiles>
+    <profile>
+      <id>java-8</id>
+      <activation>
+        <jdk>8</jdk>
+      </activation>
+      <properties>
+        <!-- Javadoc 8 expects a package-list file in the Javadoc root but 
current Java versions generate an element-list file. -->
+        <commons.javadoc.failOnWarnings>true</commons.javadoc.failOnWarnings>
+      </properties>
+    </profile>
+  </profiles>
   <developers>
     <developer>
       <id>dmitri</id>

Reply via email to