Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
* Declared directly required versions in the dependencies section.
    * Added script-security as groovy-script utilizes it.
    * Removed workflow-step-api as groovy-script itself doesn't use it even in tests.
* Reordered dependencies. Mandatory dependencies, optional dependencies and test dependencies.
* Use the least versions.
    * workflow-job-2.26 is required to test JENKINS-54128.
* Removed properties to specify dependency versions.
    * No longer necessary as they are used to synchronize versions for artifacts without classifier and with classifier=tests.
  • Loading branch information
ikedam committed Jun 15, 2019
1 parent 60986ad commit d9f5215
Showing 1 changed file with 12 additions and 37 deletions.
49 changes: 12 additions & 37 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@
<properties>
<jenkins.version>2.121.1</jenkins.version>
<java.level>8</java.level>
<badge-plugin.version>1.5</badge-plugin.version>
<workflow-step-api-plugin.version>2.20</workflow-step-api-plugin.version>
<workflow-cps-plugin.version>2.69</workflow-cps-plugin.version>
</properties>

<scm>
Expand All @@ -65,77 +62,55 @@
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>badge</artifactId>
<version>${badge-plugin.version}</version>
<version>1.5</version>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>matrix-project</artifactId>
<version>1.12</version>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-cps</artifactId>
<version>${workflow-cps-plugin.version}</version>
<optional>true</optional>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>script-security</artifactId>
<version>1.42</version>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-step-api</artifactId>
<version>${workflow-step-api-plugin.version}</version>
<classifier>tests</classifier>
<scope>test</scope>
<artifactId>workflow-cps</artifactId>
<version>2.54</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-job</artifactId>
<version>2.32</version>
<version>2.26</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-basic-steps</artifactId>
<version>2.15</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>junit</artifactId>
<version>1.20</version>
<version>2.4</version>
<scope>test</scope>
</dependency>
</dependencies>
<dependencyManagement>
<!-- To resolve RequireUpperBoundDeps errors -->
<dependencies>
<dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-step-api</artifactId>
<version>${workflow-step-api-plugin.version}</version>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-api</artifactId>
<version>2.33</version>
<version>2.30</version>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-support</artifactId>
<version>3.3</version>
<version>2.21</version>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>scm-api</artifactId>
<version>2.2.6</version>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>structs</artifactId>
<version>1.19</version>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>script-security</artifactId>
<version>1.60</version>
</dependency>
</dependencies>
</dependencyManagement>
</project>

0 comments on commit d9f5215

Please sign in to comment.