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

rombert pushed a commit to branch issue/SLING-8307-2
in repository https://gitbox.apache.org/repos/asf/sling-ide-tooling.git

commit a51dd66e53d8ff4d2302dbefffa21943121ec98a
Author: Robert Munteanu <[email protected]>
AuthorDate: Fri Sep 19 11:55:54 2025 +0200

    chore(release): add decentxml to additional javadoc dependencies
    
    Otherwise it's not visible to the javadoc plugin and the release process 
fails with
    
    [INFO] [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-javadoc-plugin:3.5.0:jar (attach-javadocs) on 
project org.apache.sling.ide.eclipse-ui: MavenReportException: Error while 
generating Javadoc:
    [INFO] [ERROR] Exit code: 1
    [INFO] [ERROR] 
/home/robert/sources/apache/sling/tmp/ide-tooling/eclipse/target/checkout/eclipse/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/nav/model/JcrNode.java:93:
 error: package de.pdark.decentxml does not exist
    [INFO] [ERROR] import de.pdark.decentxml.Attribute;
---
 eclipse/eclipse-ui/pom.xml | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/eclipse/eclipse-ui/pom.xml b/eclipse/eclipse-ui/pom.xml
index 43000392..0520f2be 100644
--- a/eclipse/eclipse-ui/pom.xml
+++ b/eclipse/eclipse-ui/pom.xml
@@ -26,6 +26,10 @@
   <packaging>eclipse-plugin</packaging>
   <name>Apache Sling IDE Tools Eclipse UI</name>
 
+  <properties>
+    <decentxml.version>1.4</decentxml.version>
+  </properties>
+
   <scm>
     
<connection>scm:git:https://gitbox.apache.org/repos/asf/sling-ide-tooling.git</connection>
     
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/sling-ide-tooling.git</developerConnection>
@@ -65,7 +69,7 @@
                     <artifactItem>
                         <groupId>de.pdark</groupId>
                         <artifactId>decentxml</artifactId>
-                        <version>1.4</version>
+                        <version>${decentxml.version}</version>
                     </artifactItem>                           
                 </artifactItems>
                 <outputDirectory>lib</outputDirectory>
@@ -78,6 +82,19 @@
                 </execution>
             </executions>
         </plugin>
+        <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-javadoc-plugin</artifactId>
+            <configuration>
+                <additionalDependencies>
+                    <additionalDependency>
+                        <groupId>de.pdark</groupId>
+                        <artifactId>decentxml</artifactId>
+                        <version>${decentxml.version}</version>
+                    </additionalDependency>
+                </additionalDependencies>
+            </configuration>
+        </plugin>
         <plugin>
                        <groupId>org.eclipse.tycho</groupId>
                        <artifactId>tycho-ds-plugin</artifactId>

Reply via email to