Repository navigation
Move the Plexus Utils 4.x plugin realms to 4.2.0 - #287
Merged
Merged
Conversation
Raise the ten 4.x plugin-realm pins from 4.0.3 to 4.2.0, which stops FileUtils deletes from following symbolic links out of the tree. No advisory affects 4.2.0; its signature verifies against a key in Apache Maven's KEYS file. Built JARs are byte-identical and the fixture WAR's contents are unchanged apart from its own POM. The policy test now also rejects any pin in a known advisory range and any split within a line.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Raises the ten 4.x plugin-realm pins from 4.0.3 to 4.2.0: Clean, Antrun, Source, Javadoc, Checkstyle, Maven Wrapper and Build Helper in the root build, and Checkstyle, Clean and WAR in the Jakarta fixture. The six 3.6 realms stay on 3.6.4, since their plugins resolve the 3.x line without a pin. Dependabot never proposes this move, because its semver-major ignore rule counts from the 3.6 floor.
Security review
67a4240e08284c7514bf1e34de349125dfce7a3d1f51aaab32010d5b61df5068) and its POM verify against key32118CF76C9EC5D918E54967CA80D1F0EB6CA4BA(Sylwester Lachiewicz). The fingerprint is in Apache Maven'sKEYSfile, and the same key's signatures verify on the Plexus Utils 3.6.4 and plexus-archiver 4.16.0 JARs this build already pins.FileUtils.forceDeleteOnExitanddeleteDirectoryno longer follow symbolic links out of the tree being deleted, the same fix 3.6.3 gave the 3.x realms.DirectoryScannerfrom excluding.gitignoreand.cvsignoreby default. This repository's only such files are at the root and incompatibility/, outside every packaged tree.translateCommandlinenow splits unquoted arguments at tabs and line breaks. The antrun JSP engine passes each argument as a single<arg value>, and no configured argument contains one.Compatibility and validation
Local runs used macOS arm64, Homebrew OpenJDK 17.0.21 and the Maven 3.10.2 wrapper.
./mvnw -B -ntp clean verifypasses. Clean, Antrun, Source, Javadoc, Checkstyle and Build Helper all ran, and all nine JARs, including source and Javadoc JARs, are byte-identical to main's. The build's warnings and errors are unchanged../mvnw -B -ntp clean package -PtestJakarta -DskipTestspasses. The WAR's 193 entries match main's by name, size and CRC, except the fixture's own embeddedpom.xml.dependency:resolve-plugins -DexcludeTransitive=false, with and without-Psign-artifactsand for the fixture's executed plugins, resolves 4.2.0 in all ten realms, and no realm in an advisory range.wrapper:wrapper: it loaded 4.2.0 and regeneratedmvnwandmvnw.cmdbyte for byte.scripts/tests(39 tests) andcompatibility/tests(17 tests) pass.Not changed: Jar, Compiler, Install, Deploy, Dependency, Site and Bundle are unpinned and resolve 4.0.3 natively, outside the advisory range. Most realms resolve plexus-xml 3.0.1, which no advisory affects.