Skip to content

Conversation

gnodet
Copy link
Contributor

@gnodet gnodet commented Jun 12, 2025

This PR introduces a new 4.2.0 model, needed to introduce new model changes such as mixins.

@gnodet gnodet added this to the 4.1.0 milestone Jun 12, 2025
@@ -20,8 +20,9 @@ under the License.
-->

<!-- START SNIPPET: superpom -->
<project>
<modelVersion>4.0.0</modelVersion>
<project xmlns="http://maven.apache.org/POM/4.1.0"
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure where we've landed on this, but this is still wrong. The namespace should not be changing with every model version, and the sooner we fix that the better. This is what model versions are for.

-->

<!-- START SNIPPET: superpom -->
<project xmlns="http://maven.apache.org/POM/4.2.0"
Copy link
Contributor

Choose a reason for hiding this comment

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

No. Do not increment the namespace. This is wrong.

@gnodet
Copy link
Contributor Author

gnodet commented Jul 18, 2025

I know your stance, and don't really disagree. Unfortunately, that ships has sailed a while ago, and 4.0.0 is nearly out the door. So if we want to schedule such a change, I think we need to target 5.0 and discuss how to do that.
There's no real huge drawbacks at this point keeping the same scheme. The main reason is that even with Maven 3.9, the pom.xml may not be xml conformant, so I doubt there are real xml tools processing the poms.

@gnodet gnodet force-pushed the model-4.2.0 branch 2 times, most recently from 4786ff0 to 9ff560f Compare July 24, 2025 12:06
@gnodet gnodet requested a review from cstamas August 5, 2025 21:51
@gnodet
Copy link
Contributor Author

gnodet commented Aug 5, 2025

I'm going to merge this PR so that I can merge #1209 correctly.
This does not preclude any outcome from the discussion about the namespace, and this may just be reverted later...

@gnodet gnodet merged commit 23f2f74 into apache:master Aug 7, 2025
35 of 38 checks passed
Copy link

github-actions bot commented Aug 7, 2025

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

@gnodet gnodet added the enhancement New feature or request label Aug 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants