Skip to content

Conversation

@cstamas
Copy link
Member

@cstamas cstamas commented Sep 27, 2025

Changes:

  • validate for metaversions in extensions XML
  • conflict detection should not report conflict for same V
  • support for metaversions during extension resolution

Fixes #11181

Changes:
* validate for metaversions in extensions XML
* conflict detection should not report conflict for same V
@cstamas cstamas self-assigned this Sep 27, 2025
@cstamas cstamas requested a review from gnodet September 27, 2025 12:21
String ga = coreExtension.getGroupId() + ":" + coreExtension.getArtifactId();
InputLocation location = coreExtension.getLocation("");
gasLocations.computeIfAbsent(ga, k -> new ArrayList<>()).add(location);
// TODO: metaversions could be extensible enum with these two values out of the box
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gnodet maybe not extensible enum right now, but where would be their proper place? Maybe not even in API (to draw attention) for start, just some constants somewhere?

@cstamas cstamas marked this pull request as ready for review September 28, 2025 20:08
@cstamas cstamas merged commit 033bf6f into apache:master Sep 29, 2025
19 checks passed
@cstamas cstamas deleted the gh-11181 branch September 29, 2025 15:32
@github-actions
Copy link

@cstamas Please assign appropriate label to PR according to the type of change.

@github-actions github-actions bot added this to the 4.1.0 milestone Sep 29, 2025
@cstamas cstamas added the enhancement New feature or request label Sep 29, 2025
cstamas added a commit to cstamas/maven that referenced this pull request Oct 8, 2025
…che#11184)

Changes:
* validate for metaversions in extensions XML
* conflict detection should not report conflict for same V
* support for metaversions during extension resolution

Fixes apache#11181
cstamas added a commit that referenced this pull request Oct 8, 2025
…11216)

Changes:
* validate for metaversions in extensions XML
* conflict detection should not report conflict for same V
* support for metaversions during extension resolution

Fixes #11181
Backport of 033bf6f
@gnodet gnodet changed the title GH-11181 Metaversion validation and lax conflict detection Validate metaversions and detect extension conflicts (fixes #11181) Oct 16, 2025
@gnodet gnodet added bug Something isn't working backport-to-4.0.x and removed enhancement New feature or request labels Oct 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-to-4.0.x bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Extensions defined in any supported extensions.xml does not support meta versions

3 participants