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

Upgrade Maven from 3.3.9 to 3.8.1 #1153

Merged
merged 1 commit into from
May 4, 2023
Merged

Upgrade Maven from 3.3.9 to 3.8.1 #1153

merged 1 commit into from
May 4, 2023

Conversation

basil
Copy link
Member

@basil basil commented May 3, 2023

Upgrade Maven from 3.3.9 to 3.8.1 which also involves a migration from Aether to maven-resolver. I followed the example at https://github.com/apache/maven-resolver/blob/89dadad860dc802fd328f2c7a29e7285b599ecde/maven-resolver-demos/maven-resolver-demo-snippets/src/main/java/org/apache/maven/resolver/examples/guice/DemoResolverModule.java when adapting to the breaking API changes.

@basil
Copy link
Member Author

basil commented May 4, 2023

The test failure in plugins.WorkflowPluginTest.linearFlow was also recently sen on the main branch with the same exception, so that failure is not caused by this PR; therefore, this PR can be merged in spite of it.

@basil basil added dependencies Pull requests that update a dependency file java Pull requests that update Java code and removed work-in-progress labels May 4, 2023
@basil basil marked this pull request as ready for review May 4, 2023 03:38
@basil basil requested a review from a team May 4, 2023 16:21
Comment on lines -38 to +37
<maven.version>3.3.9</maven.version>
<maven.version>3.8.1</maven.version>
Copy link
Member

Choose a reason for hiding this comment

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

Is there a specific reason to use 3.8.1 over 3.9.1?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes. All of our Maven plugins depend on version 3.8.1 so I am sticking with a consistent baseline throughout the Jenkins ecosystem.

@basil basil merged commit 41b8dfb into jenkinsci:master May 4, 2023
@basil basil deleted the maven branch May 4, 2023 17:16
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 java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants