-
Notifications
You must be signed in to change notification settings - Fork 26
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
Remove duplicate code #781
Conversation
ff6a772
to
a2a4c96
Compare
pom.xml
Outdated
<artifactId>maven-enforcer-plugin</artifactId> | ||
<version>${maven-enforcer-plugin.version}</version> |
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.
Isn't this version already defined in the parent pom, then we do not need it here?
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.
I am just being consistent with your other code in this POM file that already contains redundant versions. If you think the redundancy should be eliminated, remove it from your existing code in a separate PR and then I will follow suit in this PR.
pom.xml
Outdated
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>${maven-compiler-plugin.version}</version> |
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.
same here
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.
I am just being consistent with your other code in this POM file that already contains redundant versions. If you think the redundancy should be eliminated, remove it from your existing code in a separate PR and then I will follow suit in this PR.
pom.xml
Outdated
@@ -226,6 +204,7 @@ | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-jar-plugin</artifactId> | |||
<version>${maven-jar-plugin.version}</version> |
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.
same here
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.
I am just being consistent with your other code in this POM file that already contains redundant versions. If you think the redundancy should be eliminated, remove it from your existing code in a separate PR and then I will follow suit in this PR.
pom.xml
Outdated
@@ -4,7 +4,7 @@ | |||
<parent> | |||
<groupId>org.jenkins-ci.plugins</groupId> | |||
<artifactId>plugin</artifactId> | |||
<version>4.69</version> | |||
<version>4.73</version> |
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.
Unrelated change already part of dependabot.
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.
But you haven't merged it, yet? So as long as trunk doesn't contain it, it is a valid change.
I am denying the request for changes, for the reasons explained above. |
As of the latest plugin parent POM, the properties are already defined in the plugin parent POM and the BOMs are already imported, so these code is duplicate and can be safely deleted.