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

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


The following commit(s) were added to refs/heads/master by this push:
     new 1aac2e29 SLING-8307 - Update the Eclipse tooling release process after 
the restructuring and code signing changes (#49)
1aac2e29 is described below

commit 1aac2e2915d67081601eb105e291db9a3433516f
Author: Robert Munteanu <[email protected]>
AuthorDate: Fri Sep 19 11:04:29 2025 +0200

    SLING-8307 - Update the Eclipse tooling release process after the 
restructuring and code signing changes (#49)
    
    Target platform dependencies of type Maven are not visible in Eclipse 
itself and are not easily
    updated during a release.
    
    Therefore we use pomDependencies=consider and placeholders for the project 
version.
    
    This does not change the development experience in the IDE.
---
 eclipse/pom.xml                                    | 23 ++++++++++++++++++++++
 .../org.apache.sling.ide.target-definition.target  | 23 ----------------------
 2 files changed, 23 insertions(+), 23 deletions(-)

diff --git a/eclipse/pom.xml b/eclipse/pom.xml
index 14814d1d..25ce91f6 100644
--- a/eclipse/pom.xml
+++ b/eclipse/pom.xml
@@ -62,6 +62,7 @@
                 <artifactId>target-platform-configuration</artifactId>
                 <version>${tycho.version}</version>
                 <configuration>
+                    <pomDependencies>consider</pomDependencies>
                     <target>
                         <artifact>
                             <groupId>${project.groupId}</groupId>
@@ -195,6 +196,28 @@
         <project.build.outputTimestamp />
     </properties>
 
+    <!-- required for pomDependencies=consider target-platform-configuration 
-->
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.sling.ide</groupId>
+            <artifactId>org.apache.sling.ide.api</artifactId>
+            <version>${project.version}</version>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.sling.ide</groupId>
+            <artifactId>org.apache.sling.ide.artifacts</artifactId>
+            <version>${project.version}</version>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.sling.ide</groupId>
+            <artifactId>org.apache.sling.ide.impl-vlt</artifactId>
+            <version>${project.version}</version>
+            <scope>provided</scope>
+        </dependency>
+    </dependencies>
+
     <profiles>
        <profile>
             <id>apache-release</id>
diff --git 
a/eclipse/target-definition/org.apache.sling.ide.target-definition.target 
b/eclipse/target-definition/org.apache.sling.ide.target-definition.target
index 086ee760..27b0f932 100644
--- a/eclipse/target-definition/org.apache.sling.ide.target-definition.target
+++ b/eclipse/target-definition/org.apache.sling.ide.target-definition.target
@@ -40,29 +40,6 @@
        <unit id="com.google.gson"/>
        <unit id="org.apache.httpcomponents.httpclient"/>
     </location>
-       <!-- shared OSGi bundles -->
-    <location includeDependencyDepth="none" includeDependencyScopes="compile" 
includeSource="true" missingManifest="error" type="Maven">
-       <dependencies>
-           <dependency>
-               <groupId>org.apache.sling.ide</groupId>
-               <artifactId>org.apache.sling.ide.api</artifactId>
-               <version>1.2.3-SNAPSHOT</version>
-               <type>jar</type>
-           </dependency>
-           <dependency>
-               <groupId>org.apache.sling.ide</groupId>
-               <artifactId>org.apache.sling.ide.artifacts</artifactId>
-               <version>1.2.3-SNAPSHOT</version>
-               <type>jar</type>
-           </dependency>
-           <dependency>
-               <groupId>org.apache.sling.ide</groupId>
-               <artifactId>org.apache.sling.ide.impl-vlt</artifactId>
-               <version>1.2.3-SNAPSHOT</version>
-               <type>jar</type>
-           </dependency>
-       </dependencies>
-   </location>
 </locations>
 <targetJRE 
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17"/>
 </target>

Reply via email to