From 740fe188aeee2de3edad43b2b39a865b995ab06a Mon Sep 17 00:00:00 2001 From: George Gastaldi Date: Fri, 13 Dec 2024 14:42:24 -0300 Subject: [PATCH] Managing all Eclipse platform dependencies In order to provide build reproducibility, we need to ensure that the Eclipse platform dependencies are resolved to a single version, not in a range. - Update `pom.xml` for improved dependency management, specifically targeting Eclipse platform dependencies. - Simplify versioning by inlining the `org.eclipse.jdt.core` version, removing the need for a separate property. --- impl/pom.xml | 334 +++++++++++++++++++++++++++++---------------------- 1 file changed, 191 insertions(+), 143 deletions(-) diff --git a/impl/pom.xml b/impl/pom.xml index aa759385..e3a31daa 100644 --- a/impl/pom.xml +++ b/impl/pom.xml @@ -1,145 +1,193 @@ - - 4.0.0 - - org.jboss.forge.roaster - roaster-parent - 2.31.0-SNAPSHOT - ../pom.xml - - roaster-jdt - Forge Roaster - JDT Implementation - - 3.40.0 - - - - org.jboss.forge.roaster - roaster-api - - - org.eclipse.jdt - org.eclipse.jdt.core - ${version.jdt} - - - org.osgi.service - org.osgi.service.prefs - - - org.eclipse.platform - org.eclipse.ant.core - - - org.eclipse.platform - org.eclipse.core.commands - - - org.eclipse.platform - org.eclipse.core.expressions - - - org.eclipse.platform - org.eclipse.equinox.app - - - org.eclipse.platform - org.eclipse.equinox.registry - - - org.eclipse.platform - org.eclipse.core.filesystem - - - - - org.apache.commons - commons-text - - + + 4.0.0 + + org.jboss.forge.roaster + roaster-parent + 2.31.0-SNAPSHOT + ../pom.xml + + roaster-jdt + Forge Roaster - JDT Implementation + + + + org.eclipse.jdt + org.eclipse.jdt.core + 3.40.0 + + + org.eclipse.platform + org.eclipse.core.resources + 3.22.0 + + + org.eclipse.platform + org.eclipse.core.runtime + 3.32.0 + + + org.eclipse.platform + org.eclipse.equinox.common + 3.19.200 + + + org.eclipse.platform + org.eclipse.team.core + 3.9.500 + + + org.eclipse.platform + org.eclipse.text + 3.14.200 + + + org.eclipse.platform + org.eclipse.core.jobs + 3.15.400 + + + org.eclipse.platform + org.eclipse.core.contenttype + 3.9.600 + + + org.eclipse.platform + org.eclipse.equinox.preferences + 3.11.200 + + + - - - - org.apache.maven.plugins - maven-shade-plugin - 3.6.0 - - - package - - shade - - - true - true - - - org.jboss.forge.roaster:roaster-api - - - - - org.apache.commons:commons-text - - org/apache/commons/text/StringEscapeUtils** - org/apache/commons/text/translate/** - - - - org.apache.commons:commons-lang3 - - org/apache/commons/lang3/StringUtils** - org/apache/commons/lang3/Range** - org/apache/commons/lang3/Validate** - - - - *:* - - META-INF/*.SF - META-INF/*.DSA - META-INF/*.RSA - META-INF/eclipse.inf - META-INF/LICENSE - META-INF/NOTICE - META-INF/MANIFEST.MF - **/module-info.class - .options - .api_description - *.html - schema/contentTypes.exsd - schema/preferences.exsd - plugin.xml - plugin.properties - about_files/* - OSGI-INF/** - - - - - - org.eclipse - org.jboss.forge.roaster._shade.org.eclipse - - org.eclipse.jdt.core.prefs - - - - org.osgi - org.jboss.forge.roaster._shade.org.osgi - - - org.apache - org.jboss.forge.roaster._shade.org.apache - - - - - - - - - - - + + + org.jboss.forge.roaster + roaster-api + + + org.eclipse.jdt + org.eclipse.jdt.core + + + org.osgi.service + org.osgi.service.prefs + + + org.eclipse.platform + org.eclipse.ant.core + + + org.eclipse.platform + org.eclipse.core.commands + + + org.eclipse.platform + org.eclipse.core.expressions + + + org.eclipse.platform + org.eclipse.equinox.app + + + org.eclipse.platform + org.eclipse.equinox.registry + + + org.eclipse.platform + org.eclipse.core.filesystem + + + + + org.apache.commons + commons-text + + + + + + + org.apache.maven.plugins + maven-shade-plugin + 3.6.0 + + + package + + shade + + + true + true + + + org.jboss.forge.roaster:roaster-api + + + + + org.apache.commons:commons-text + + org/apache/commons/text/StringEscapeUtils** + org/apache/commons/text/translate/** + + + + org.apache.commons:commons-lang3 + + org/apache/commons/lang3/StringUtils** + org/apache/commons/lang3/Range** + org/apache/commons/lang3/Validate** + + + + *:* + + META-INF/*.SF + META-INF/*.DSA + META-INF/*.RSA + META-INF/eclipse.inf + META-INF/LICENSE + META-INF/NOTICE + META-INF/MANIFEST.MF + **/module-info.class + .options + .api_description + *.html + schema/contentTypes.exsd + schema/preferences.exsd + plugin.xml + plugin.properties + about_files/* + OSGI-INF/** + + + + + + org.eclipse + org.jboss.forge.roaster._shade.org.eclipse + + org.eclipse.jdt.core.prefs + + + + org.osgi + org.jboss.forge.roaster._shade.org.osgi + + + org.apache + org.jboss.forge.roaster._shade.org.apache + + + + + + + + + + +