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
The following commit(s) were added to refs/heads/issue/SLING-8307-prep by this
push:
new 59a84b14 SLING-8307 - Update the Eclipse tooling release process after
the restructuring and code signing changes
59a84b14 is described below
commit 59a84b14905acf67f5ed8f6a2a0657acda712c36
Author: Robert Munteanu <[email protected]>
AuthorDate: Mon Sep 15 17:14:19 2025 +0200
SLING-8307 - Update the Eclipse tooling release process after the
restructuring and code signing changes
- move release config to parent pom as the release plugin is invoked for
the reactor module
- configure the release-plugin for Tycho following
https://wiki.eclipse.org/Tycho/Release_Workflow
---
eclipse/p2update/pom.xml | 7 -------
eclipse/pom.xml | 32 ++++++++++++++++++++++++++++++++
2 files changed, 32 insertions(+), 7 deletions(-)
diff --git a/eclipse/p2update/pom.xml b/eclipse/p2update/pom.xml
index 03229062..7b3f76cb 100644
--- a/eclipse/p2update/pom.xml
+++ b/eclipse/p2update/pom.xml
@@ -85,13 +85,6 @@
</execution>
</executions>
</plugin>
- <plugin>
-
<groupId>org.apache.maven.plugins</groupId>
-
<artifactId>maven-release-plugin</artifactId>
- <configuration>
-
<releaseProfiles>apache-release,sign-with-gpg</releaseProfiles>
- </configuration>
- </plugin>
</plugins>
</pluginManagement>
</build>
diff --git a/eclipse/pom.xml b/eclipse/pom.xml
index fc609c25..958076f8 100644
--- a/eclipse/pom.xml
+++ b/eclipse/pom.xml
@@ -134,6 +134,38 @@
</excludes>
</configuration>
</plugin>
+ <plugin>
+ <!-- When releasing we build the modules locally and include
them in the p2 repository
+ but we do not release them on Maven Central. To be revisited
if needed -->
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-release-plugin</artifactId>
+ <configuration>
+ <goals>clean install</goals>
+ <autoVersionSubmodules>true</autoVersionSubmodules>
+
<releaseProfiles>apache-release,sign-with-gpg</releaseProfiles>
+ <!-- See https://wiki.eclipse.org/Tycho/Release_Workflow
-->
+
<preparationGoals>org.eclipse.tycho:tycho-versions-plugin:${tycho.version}:update-eclipse-metadata
org.apache.maven.plugins:maven-scm-plugin:1.9.5:add
org.apache.maven.plugins:maven-scm-plugin:1.9.5:checkin</preparationGoals>
+
<completionGoals>org.eclipse.tycho:tycho-versions-plugin:${tycho.version}:update-eclipse-metadata
org.apache.maven.plugins:maven-scm-plugin:1.9.5:add
org.apache.maven.plugins:maven-scm-plugin:1.9.5:checkin</completionGoals>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-scm-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>default-cli</id>
+ <goals>
+ <goal>add</goal>
+ <goal>checkin</goal>
+ </goals>
+ <configuration>
+
<includes>**/META-INF/MANIFEST.MF,**/feature.xml,**/*.product,**/category.xml</includes>
+ <excludes>**/target/**</excludes>
+ <message>chore: change the version to reflect the
pom versions for the release</message>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
<pluginManagement>
<plugins>