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

Update dependencies #775

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

aduprat
Copy link
Contributor

@aduprat aduprat commented Apr 22, 2020

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.

@@ -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>

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>

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.

Copy link
Member

@samrocketman samrocketman left a 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.

@aduprat
Copy link
Contributor Author

aduprat commented May 11, 2020

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.

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.

3 participants