Skip to content

Upgrade from Maven 4.0.0-rc-4 to 4.0.0-rc-5.#283

Merged
desruisseaux merged 1 commit into
apache:masterfrom
Geomatys:maven-4.0.0-rc-5
Nov 15, 2025
Merged

Upgrade from Maven 4.0.0-rc-4 to 4.0.0-rc-5.#283
desruisseaux merged 1 commit into
apache:masterfrom
Geomatys:maven-4.0.0-rc-5

Conversation

@desruisseaux

Copy link
Copy Markdown
Contributor

Replace #282 which is missing the upgrade of the maven-verify.yml file.

@desruisseaux desruisseaux added the dependencies Pull requests that update a dependency file label Nov 15, 2025

@slachiewicz slachiewicz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Maybe simply remove the version from gha yaml?

@desruisseaux

Copy link
Copy Markdown
Contributor Author

Maybe simply remove the version from gha yaml?

No objection, but I have no idea about how GitHub workflow works. Would GitHub action still build with the correct Maven version?

@slawekjaranowski

Copy link
Copy Markdown
Member

Maybe simply remove the version from gha yaml?

No objection, but I have no idea about how GitHub workflow works. Would GitHub action still build with the correct Maven version?

It will used a default version defined in:
https://github.com/apache/maven-gh-actions-shared/blob/df139f38c2fefc668f46b13ff80845a98ed3ae18/.github/workflows/maven-verify.yml#L53-L57

@desruisseaux

Copy link
Copy Markdown
Contributor Author

Thanks, I didn't knew that file. But it would mean that GitHub would start to use the latest Maven version before we have verified that the plugin is compatible with it? For example, I'm trying to upgrade the maven-jar-plugin right now and I'm observing a NullPointerException with RC-5 that I didn't observed with RC-4.

@slawekjaranowski

Copy link
Copy Markdown
Member

Thanks, I didn't knew that file. But it would mean that GitHub would start to use the latest Maven version before we have verified that the plugin is compatible with it? For example, I'm trying to upgrade the maven-jar-plugin right now and I'm observing a NullPointerException with RC-5 that I didn't observed with RC-4.

It can happens, to consider what is easier to maintain
generally next 4.x release should be ok in most cases

@slachiewicz

Copy link
Copy Markdown
Member

For the future we will not update maven or java versions globally but per project - to limit impact scope.
Then anyone can migrate a shared lub or plugin on their own time. And save anyone else time.

@desruisseaux desruisseaux merged commit 5d1147d into apache:master Nov 15, 2025
8 checks passed
@github-actions github-actions Bot added this to the 4.0.0-beta-3 milestone Nov 15, 2025
@desruisseaux desruisseaux deleted the maven-4.0.0-rc-5 branch November 15, 2025 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants