-
Notifications
You must be signed in to change notification settings - Fork 197
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
Update internal maven version #182
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
given how this plugin interacts with the underlying maven and that generally libraries are backward but not forward compatible what testing has been performed here?
Has this been manually tested that projects with older versions of Maven still work?
The ATH only tests with maven 3.6.3
which is possibly a bit too new given this plugin aims to support some ancient versions of maven...
Other than that code looks perfectly sane
I haven't seen any removal from API nor binary incompatible changes. But I haven't used the plugin "locally" to see if a project once built with the previous version could still be loaded and build with this new version.
Not sure to understand correctly. Those changes don't change the fact that users can use whatever version of Maven they want. Like they could use Maven 3.0.5 even though the |
my concern is the usage of http repo in pom (can definitely happen in internal company builds when repository are hosted internally). Does it still work especially with the |
You are correct @olamy, I tried to build https://github.com/jenkinsci/google-container-registry-auth-plugin, making sure to only and directly use the repository declared in the When using Maven 3.8.1 to build the project
When using Maven 3.5.4 to build the project
|
The problem is in fact less problematic. I was using the same As soon as I used the Side note: even if I'm using a |
There are a bunch of spotbugs, a test error and a Jacoco report generation failure. The two latter seem fishy, maybe it could be affected by the maven change? |
@olamy are we good? Perhaps we (sh/c)ould ping some other maintainers as well |
it looks good to me even if I am always afraid to change anything in this plugin :-) |
<exclusion> | ||
<groupId>org.eclipse.sisu</groupId> | ||
<artifactId>org.eclipse.sisu.plexus</artifactId> | ||
</exclusion> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This sort of POM hacking is a good sign that you should be writing a RealJenkinsRule
test to prove that the basic functionality of the plugin still works.
|
This PR is to update the internal version of Maven used by the plugin.
This is to be able to use the latest patches of the tool.