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

Let's try to keep our building tools up-to-date Why ? Because ... #13

Closed
wants to merge 2 commits into from

Conversation

aheritier
Copy link
Member

No description provided.

@aheritier
Copy link
Member Author

WDYT @jenkinsci/code-reviewers cc @reviewbybees

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.

I like the idea of updating to latest releases of the maven plugins, but would prefer that it be a series of individual commits, each with a build comment stating the plugin name, the previous version, and the new version.

I realize that is more work for you, but that technique (in the past) has made it simpler for me to revert a single commit when I realize that a particular plugin upgrade broke the build. It also makes it easier to search for that breaking change to a plugin because I can use git bisect to assist with the search.

@@ -13,7 +13,7 @@
<inceptionYear>2004</inceptionYear>

<prerequisites>
<maven>2.2.1</maven>
<maven>3.2.2</maven>
Copy link
Contributor

Choose a reason for hiding this comment

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

I assume you chose 3.2 instead of 3.3 because you wanted to retain compatibility with Java 6 for those plugins which may still be running with Java 6.

Was there a reason you didn't choose 3.2.5 instead of 3.2.2? The 3.2.5 release was over two years ago, and it supports Java 6.

Copy link
Member

Choose a reason for hiding this comment

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

We should probably remove the whole <prerequisites> section as that is only relevant when building maven plugins https://issues.apache.org/jira/browse/MNG-6092

Copy link
Member Author

Choose a reason for hiding this comment

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

@stephenc yes +1000
@MarkEWaite the choice of 3.2.2 is coming from the report done by mvn versions:display-plugin-updates which is verifying the requirement of each plugin declared in the POM. But yes we may target the latest 3.2.x

Copy link
Member

@jglick jglick left a comment

Choose a reason for hiding this comment

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

Did you try using this in jenkins/pom.xml, and in some random plugin via plugin-pom/pom.xml to check that there are no obvious regressions?

@aheritier
Copy link
Member Author

yes, it's not a problem @MarkEWaite to do that. I'll do it later.
@jglick I need to test with jenkins core

@ghost
Copy link

ghost commented Feb 25, 2017

This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation.

@oleg-nenashev
Copy link
Member

@aheritier any plans to address the comments from @MarkEWaite ?

@aheritier
Copy link
Member Author

@oleg-nenashev I completely forgot it. Sorry @MarkEWaite
Yes I can redo this PR. Not really difficult

@oleg-nenashev
Copy link
Member

There will be collision with #14

@aheritier
Copy link
Member Author

Replaced by #16 cc @batmat

@aheritier aheritier closed this Sep 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants