Skip to content

Commit 746c9fb

Browse files
gountharubuntu
authored andcommitted
chore(pom): Use recommended core version 2.462.3, and Java 11.
1 parent c227fa5 commit 746c9fb

File tree

2 files changed

+29
-27
lines changed

2 files changed

+29
-27
lines changed

Jenkinsfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/*
2+
See the documentation for more options:
3+
https://github.com/jenkins-infra/pipeline-library/
4+
*/
5+
buildPlugin(
6+
forkCount: '1C', // Run a JVM per core in tests
7+
useContainerAgent: true, // Set to `false` if you need to use Docker for containerized tests
8+
configurations: [
9+
[platform: 'linux', jdk: 17],
10+
[platform: 'windows', jdk: 11]
11+
]
12+
)

pom.xml

Lines changed: 17 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.jenkins-ci.plugins</groupId>
77
<artifactId>plugin</artifactId>
8-
<version>4.54</version>
8+
<version>4.88</version>
99
<relativePath />
1010
</parent>
1111

@@ -29,31 +29,34 @@
2929
<url>http://www.vectorcast.com/</url>
3030
</organization>
3131

32-
<developers>
33-
<developer>
34-
<id>TimSVector</id>
35-
<name>Tim Schneider</name>
36-
<email>[email protected]</email>
37-
<organization>Vector Informatik, GmbH</organization>
38-
</developer>
39-
</developers>
40-
4132
<properties>
4233
<hpi-plugin.version>3.38</hpi-plugin.version>
4334
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
4435
<project.build.outputEncoding>UTF-8</project.build.outputEncoding>
4536
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
46-
<jenkins.version>2.361</jenkins.version>
47-
<jenkins-test-harness.version>1934.v90a_c07cf5b_21</jenkins-test-harness.version>
48-
<java.level>11</java.level>
37+
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
38+
<jenkins.baseline>2.462</jenkins.baseline>
39+
<jenkins.version>${jenkins.baseline}.3</jenkins.version>
40+
<jenkins-test-harness.version>2225.v04fa_3929c9b_5</jenkins-test-harness.version>
4941
</properties>
5042

5143
<scm>
5244
<connection>scm:git:https://github.com/jenkinsci/vectorcast-coverage-plugin.git</connection>
5345
<developerConnection>scm:git:https://github.com/jenkinsci/vectorcast-coverage-plugin.git</developerConnection>
5446
<url>https://github.com/jenkinsci/vectorcast-coverage-plugin</url>
5547
<tag>HEAD</tag>
56-
</scm>
48+
</scm>
49+
<dependencyManagement>
50+
<dependencies>
51+
<dependency>
52+
<groupId>io.jenkins.tools.bom</groupId>
53+
<artifactId>bom-${jenkins.baseline}.x</artifactId>
54+
<version>4228.v0a_71308d905b_</version>
55+
<type>pom</type>
56+
<scope>import</scope>
57+
</dependency>
58+
</dependencies>
59+
</dependencyManagement>
5760

5861
<repositories>
5962
<repository>
@@ -72,13 +75,11 @@
7275
<dependency>
7376
<groupId>org.jenkins-ci.plugins</groupId>
7477
<artifactId>dashboard-view</artifactId>
75-
<version>2.18.1</version>
7678
<optional>true</optional>
7779
</dependency>
7880
<dependency>
7981
<groupId>org.jenkins-ci.main</groupId>
8082
<artifactId>maven-plugin</artifactId>
81-
<version>3.20</version>
8283
</dependency>
8384
<dependency>
8485
<groupId>javax.annotation</groupId>
@@ -88,23 +89,19 @@
8889
<dependency>
8990
<groupId>org.jenkins-ci.plugins</groupId>
9091
<artifactId>credentials</artifactId>
91-
<version>2.6.2</version>
9292
</dependency>
9393

9494
<dependency>
9595
<groupId>org.jenkins-ci.plugins</groupId>
9696
<artifactId>junit</artifactId>
97-
<version>1166.va_436e268e972</version>
9897
</dependency>
9998
<dependency>
10099
<groupId>org.jenkins-ci.plugins</groupId>
101100
<artifactId>structs</artifactId>
102-
<version>324.va_f5d6774f3a_d</version>
103101
</dependency>
104102
<dependency>
105103
<groupId>io.jenkins.plugins</groupId>
106104
<artifactId>caffeine-api</artifactId>
107-
<version>2.9.3-65.v6a_47d0f4d1fe</version>
108105
</dependency>
109106
<dependency>
110107
<groupId>org.apache.groovy</groupId>
@@ -119,12 +116,10 @@
119116
<plugin>
120117
<groupId>org.apache.maven.plugins</groupId>
121118
<artifactId>maven-release-plugin</artifactId>
122-
<version>3.0.1</version>
123119
</plugin>
124120
<plugin>
125121
<groupId>org.apache.maven.plugins</groupId>
126122
<artifactId>maven-compiler-plugin</artifactId>
127-
<version>2.3.2</version>
128123
<configuration>
129124
<source>1.7</source>
130125
<target>1.7</target>
@@ -153,7 +148,6 @@
153148
<plugin>
154149
<groupId>com.github.spotbugs</groupId>
155150
<artifactId>spotbugs-maven-plugin</artifactId>
156-
<version>4.7.3.0</version>
157151
</plugin>
158152
<plugin>
159153
<groupId>org.apache.maven.plugins</groupId>
@@ -168,10 +162,6 @@
168162
</executions>
169163
</plugin>
170164
</plugins>
171-
<pluginManagement>
172-
<plugins>
173-
</plugins>
174-
</pluginManagement>
175165
</build>
176166

177167
<pluginRepositories>

0 commit comments

Comments
 (0)