Repository navigation
Backport unknown types, file name transformers and authentication to 1.x - #336
Merged
Merged
Conversation
If a type was not registered as artifactType, the file extension became null. It now keeps the type as the extension. Backport to 1.7.x: createArtifact(MavenSession, Artifact) keeps its signature and delegates to the new createArtifact(ArtifactTypeRegistry, Artifact). (cherry picked from commit 3d923e1)
slachiewicz
marked this pull request as ready for review
November 9, 2026 20:59
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.
Brings to the Java 8 line the 2.x changes that do not depend on Java 17 or on the 2.0.0 module split, each as the original commit by @rfscholte followed by a separate Java 8 adaptation:
null.createArtifact(MavenSession, Artifact)keeps its signature.Path.ofrewritten.users), with the local record behindUser.ofreplaced by an anonymous class. The JUnit Jupiter extension part stays in 2.x, since 1.x has no such module.It also requires Maven 3.9.0 (#326), builds through the MojoHaus workflow with JDK 8 in the matrix, keeps the animal-sniffer Java 8 API check, and moves the line to 1.8.0-SNAPSHOT. Left out: #291 (it needs the JDK 22 class-file API), #287, #295, #296 and #301.
Verified:
mvn clean install -Prun-itson JDK 17 targeting Java 8 → unit tests, animal-sniffer and all ITs, includingsecurity, pass.