Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recommend Maven 3.9.6 or newer #7791

Merged

Conversation

KalleOlaviNiemitalo
Copy link
Contributor

Plugin POM 5.0 requires Maven 3.9.6 or later:
jenkinsci/plugin-pom#1018

Plugin POM 5.0 requires Maven 3.9.6 or later:
<jenkinsci/plugin-pom#1018>
@probot-autolabeler probot-autolabeler bot added the documentation Jenkins documentation, including user and developer docs, solution pages, etc. label Jan 1, 2025
@KalleOlaviNiemitalo
Copy link
Contributor Author

I attempted to build the Bitbucket Branch Source plugin on Ubuntu 24.04.1 LTS, which has Maven 3.8.7, and got an error "Unknown packaging: hpi". Increase the Maven version recommendation in the developer guide, and mention the error message.

@KalleOlaviNiemitalo
Copy link
Contributor Author

content/doc/developer/building/intellij.adoc says:

The minimum Apache Maven version for Jenkins development is 3.8.1.

but I don't know, perhaps that's still valid for the Jenkins core, and for plugins using an older POM. So I'll leave that unchanged.

@KalleOlaviNiemitalo KalleOlaviNiemitalo marked this pull request as ready for review January 1, 2025 20:15
@KalleOlaviNiemitalo KalleOlaviNiemitalo requested a review from a team as a code owner January 1, 2025 20:15
Copy link
Contributor

@MarkEWaite MarkEWaite left a comment

Choose a reason for hiding this comment

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

Thanks!

@MarkEWaite
Copy link
Contributor

but I don't know, perhaps that's still valid for the Jenkins core, and for plugins using an older POM

Needs the same fix. Jenkins core requires the more recent version of Apache Maven as well.

@MarkEWaite MarkEWaite merged commit c8da916 into jenkins-infra:master Jan 1, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Jenkins documentation, including user and developer docs, solution pages, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants