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 0ab4c398588fe2182ab8fa4ada594daa65370029 Author: Robert Munteanu <[email protected]> AuthorDate: Thu Sep 18 16:34:11 2025 +0200 SLING-8307 - Update the Eclipse tooling release process after the restructuring and code signing changes 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 | 25 +--------------------- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/eclipse/pom.xml b/eclipse/pom.xml index cf9a94c2..ad94f954 100644 --- a/eclipse/pom.xml +++ b/eclipse/pom.xml @@ -64,6 +64,7 @@ <artifactId>target-platform-configuration</artifactId> <version>${tycho.version}</version> <configuration> + <pomDependencies>consider</pomDependencies> <target> <artifact> <groupId>${project.groupId}</groupId> @@ -230,6 +231,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 df2f0abc..dba298b7 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> \ No newline at end of file +</target>
