You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2025/09/19 14:00:51 UTC

(sling-ide-tooling) 02/04: SLING-8307 - Update the Eclipse tooling release process after the restructuring and code signing changes

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

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

commit 16389512d75f627704448a39d6f178a9c1ece308
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Fri Sep 19 11:55:54 2025 +0200

    SLING-8307 - Update the Eclipse tooling release process after the restructuring and code signing changes
    
    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 cb24a0d9..d34cfc34 100644
--- a/eclipse/eclipse-ui/pom.xml
+++ b/eclipse/eclipse-ui/pom.xml
@@ -27,6 +27,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>