-
Notifications
You must be signed in to change notification settings - Fork 612
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 dependencies #775
base: master
Are you sure you want to change the base?
Update dependencies #775
Conversation
@@ -51,12 +51,13 @@ | |||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> | |||
<workflow.version>1.4</workflow.version> | |||
<jenkins.version>2.7</jenkins.version> | |||
<jenkins.version>2.230</jenkins.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.
This means that the plugin won't be compatible with older Jenkins (namely no current LTS will be able to use it). Probably you'd rather support several LTS.
I personnaly would choose something like 2.190 or 2.176 but I don't have a lot of experience to choose this others might have better advices. You can also have a look to https://stats.jenkins.io/pluginversions/ghprb.html to decide.
@@ -78,12 +79,12 @@ | |||
<dependency> | |||
<groupId>org.jenkins-ci.plugins</groupId> | |||
<artifactId>scm-api</artifactId> | |||
<version>2.1.0</version> | |||
<version>2.6.3</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.
Relying on the BOM (see doc https://jenkins.io/doc/developer/plugin-development/dependency-management/) would avoid manually setting up versions for the plugin dependencies.
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.
Per @PierreBtz recommendations
- Rely on Jenkins bom.
- Rely on a known LTS version of Jenkins for parent pom.
Although I've been largely inactive on this project for the past two years I am kind of picking it back up a little bit in my spare time. I would be willing to merge something like this.
Hi, Sorry for so much delay, I was in vacation. Thank you for yours comments, I will take care of them. |
Hi everyone,
The goal of this PR is to update most of the dependencies which are a bit old.
I have also switch to Java 8.
I have more modifications to come, dedicated to already existing issues.
I will take care of your comments.
Have a nice review.