Skip to content

fix(wildfly): Use managed ShrinkWrap Resolver version - #3100

Merged
kthoms merged 1 commit into
mainfrom
backport/cibseven-1105-wildfly-shrinkwrap-plexus
Jun 10, 2026
Merged

kthoms merged 1 commit into
mainfrom
backport/cibseven-1105-wildfly-shrinkwrap-plexus

Conversation

@hauptmedia

Copy link
Copy Markdown
Collaborator

Summary

Backports the relevant part of cibseven/cibseven#307 to Operaton's WildFly distribution build.

CIBSeven updated its WildFly module build away from the old ShrinkWrap Resolver 1.0.0-beta-5 override while addressing CVE-2025-67030 in the test/build environment. Operaton already manages ShrinkWrap Resolver centrally at 3.3.7, which resolves org.codehaus.plexus:plexus-utils:3.6.1. The remaining Operaton issue was the stale local override in distro/wildfly/modules/pom.xml.

This PR removes that local override so the WildFly modules build inherits the managed Operaton version.

Source / Attribution

Operaton Adaptation

CIBSeven changed parent/pom.xml, distro/wildfly/modules/pom.xml, and distro/wildfly28/modules/pom.xml:

  • CIBSeven raised version.shrinkwrap.resolvers from 2.2.2 to 2.2.7.
  • CIBSeven raised the local WildFly module property from 1.0.0-beta-5 to 2.2.7.
  • CIBSeven added an explicit plexus-utils:3.6.1 plugin dependency.
  • CIBSeven also patched wildfly28, which does not exist in Operaton.

Operaton differs from that source baseline:

  • Operaton already manages ShrinkWrap Resolver globally at 3.3.7, newer than the CIBSeven target version.
  • The Operaton ShrinkWrap Resolver Maven plugin classpath already contains plexus-utils:3.6.1.
  • Operaton has no distro/wildfly28 distribution.

Because of that, the clean Operaton adaptation is to remove the stale local org.jboss.shrinkwrap.resolver.version override from distro/wildfly/modules/pom.xml instead of pinning an older 2.2.7 value or adding a redundant Plexus override.

Reviewer Notes

The previous local property forced the WildFly modules build to use ShrinkWrap Resolver 1.0.0-beta-5, bypassing Operaton's centrally managed dependency version. That made this module inconsistent with the rest of the build and could keep an obsolete plugin/runtime dependency path alive even though the parent build already manages a fixed version.

After this change, distro/wildfly/modules inherits the same managed ShrinkWrap Resolver version as the rest of Operaton. The effective POM no longer contains the stale local property, and the resolved ShrinkWrap Resolver Maven plugin classpath includes plexus-utils:3.6.1.

Verification

./mvnw -Pdistro-wildfly -pl distro/wildfly/modules \
  -DskipTests -Dskip.frontend.build=true \
  help:effective-pom -Doutput=/tmp/operaton-1105-after-effective.xml

Confirmed in the generated effective POM:

  • org.jboss.shrinkwrap.resolver.version is no longer locally defined.
  • version.shrinkwrap.resolvers remains managed at 3.3.7.
  • shrinkwrap-resolver-maven-plugin resolves at 3.3.7.
./mvnw -Pdistro-wildfly -pl distro/wildfly/modules \
  -DskipTests -Dskip.frontend.build=true \
  org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-maven-plugin:3.3.7:propagate-execution-context -X

Confirmed the plugin classpath contains:

  • org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-maven-plugin:jar:3.3.7
  • org.codehaus.plexus:plexus-utils:jar:3.6.1
./mvnw -Pdistro-wildfly -pl distro/wildfly/modules -am \
  -DskipTests -Dskip.frontend.build=true package

Result: BUILD SUCCESS for the WildFly reactor modules.

Related to cibseven/cibseven#307

Backported commit ea8637084d0f434311eb09392386299e0bcf44f0 from repository https://github.com/cibseven/cibseven.

Original author: Vladimir Gribko <[email protected]>

Operaton adaptation: CIBSeven raised the local WildFly module override to 2.2.7 and patched wildfly28. Operaton already manages ShrinkWrap Resolver globally at 3.3.7, which brings plexus-utils 3.6.1, and Operaton has no wildfly28 distribution. This backport removes the stale WildFly modules override so the module inherits the managed version.

Backport change unit: 1105
@hauptmedia hauptmedia added dependencies Changes that update a dependency distro:wildfly Issues & changes related to the Wildfly distribution scope:build Changes affecting the build, e.g. Maven configuration, shell scripts. dependencies:maven Updates of Maven dependencies backport:cibseven Changes backported from cibseven labels Jun 9, 2026
@kthoms kthoms added the backport:patch-release Should be ported back to the latest feature release branch. label Jun 10, 2026
@kthoms kthoms added this to the 2.1.2 milestone Jun 10, 2026
@kthoms
kthoms merged commit e56fe42 into main Jun 10, 2026
5 checks passed
@kthoms
kthoms deleted the backport/cibseven-1105-wildfly-shrinkwrap-plexus branch June 10, 2026 19:34
kthoms pushed a commit that referenced this pull request Jun 11, 2026
Related to cibseven/cibseven#307

Backported commit ea8637084d0f434311eb09392386299e0bcf44f0 from repository https://github.com/cibseven/cibseven.

Original author: Vladimir Gribko <[email protected]>

Operaton adaptation: CIBSeven raised the local WildFly module override to 2.2.7 and patched wildfly28. Operaton already manages ShrinkWrap Resolver globally at 3.3.7, which brings plexus-utils 3.6.1, and Operaton has no wildfly28 distribution. This backport removes the stale WildFly modules override so the module inherits the managed version.

Backport change unit: 1105

(cherry picked from commit e56fe42)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:cibseven Changes backported from cibseven backport:patch-release Should be ported back to the latest feature release branch. dependencies:maven Updates of Maven dependencies dependencies Changes that update a dependency distro:wildfly Issues & changes related to the Wildfly distribution scope:build Changes affecting the build, e.g. Maven configuration, shell scripts.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants