-
Notifications
You must be signed in to change notification settings - Fork 12
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
Forward compatibility with jenkinsci/jenkins#8503 #15
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<extensions xmlns="http://maven.apache.org/EXTENSIONS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/EXTENSIONS/1.0.0 http://maven.apache.org/xsd/core-extensions-1.0.0.xsd"> | ||
<extension> | ||
<groupId>io.jenkins.tools.incrementals</groupId> | ||
<artifactId>git-changelist-maven-extension</artifactId> | ||
<version>1.7</version> | ||
</extension> | ||
</extensions> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
-Pconsume-incrementals | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Per the latest archetype. |
||
-Pmight-produce-incrementals |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
buildPlugin(useContainerAgent: true, configurations: [ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Per the latest archetype. |
||
[platform: 'linux', jdk: 21], | ||
[platform: 'windows', jdk: 17], | ||
]) |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,21 +5,21 @@ | |
<parent> | ||
<groupId>org.jenkins-ci.plugins</groupId> | ||
<artifactId>plugin</artifactId> | ||
<version>4.54</version> | ||
<version>4.73</version> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Latest version at the time of this writing. |
||
<relativePath /> | ||
</parent> | ||
|
||
<name>VectorCAST Coverage</name> | ||
<description>Display VectorCAST coverage in Jenkins</description> | ||
<artifactId>vectorcast-coverage</artifactId> | ||
<version>0.22-SNAPSHOT</version> | ||
<version>${revision}${changelist}</version> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Per the latest archetype. |
||
<packaging>hpi</packaging> | ||
<url>https://github.com/jenkinsci/vectorcast-coverage-plugin</url> | ||
<url>https://github.com/jenkinsci/${project.artifactId}-plugin</url> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Per the latest archetype. |
||
|
||
<licenses> | ||
<license> | ||
<name>MIT License</name> | ||
<url>http://opensource.org/licenses/MIT</url> | ||
<url>https://opensource.org/license/mit/</url> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Per the latest archetype. |
||
<distribution>repo</distribution> | ||
</license> | ||
</licenses> | ||
|
@@ -39,20 +39,17 @@ | |
</developers> | ||
|
||
<properties> | ||
<hpi-plugin.version>3.38</hpi-plugin.version> | ||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> | ||
<project.build.outputEncoding>UTF-8</project.build.outputEncoding> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<jenkins.version>2.361</jenkins.version> | ||
<jenkins-test-harness.version>1934.v90a_c07cf5b_21</jenkins-test-harness.version> | ||
<java.level>11</java.level> | ||
<revision>0.22</revision> | ||
<changelist>-SNAPSHOT</changelist> | ||
Comment on lines
+42
to
+43
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Per the latest archetype. |
||
<jenkins.version>2.387.3</jenkins.version> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo> | ||
</properties> | ||
|
||
<scm> | ||
<connection>scm:git:https://github.com/jenkinsci/vectorcast-coverage-plugin.git</connection> | ||
<developerConnection>scm:git:https://github.com/jenkinsci/vectorcast-coverage-plugin.git</developerConnection> | ||
<url>https://github.com/jenkinsci/vectorcast-coverage-plugin</url> | ||
<tag>HEAD</tag> | ||
<connection>scm:git:https://github.com/${gitHubRepo}.git</connection> | ||
<developerConnection>scm:git:git@github.com:${gitHubRepo}.git</developerConnection> | ||
<url>https://github.com/${gitHubRepo}</url> | ||
<tag>${scmTag}</tag> | ||
Comment on lines
+49
to
+52
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Per the latest archetype. |
||
</scm> | ||
|
||
<repositories> | ||
|
@@ -62,8 +59,30 @@ | |
</repository> | ||
</repositories> | ||
|
||
<dependencyManagement> | ||
<dependencies> | ||
<dependency> | ||
<groupId>io.jenkins.tools.bom</groupId> | ||
<artifactId>bom-2.387.x</artifactId> | ||
<version>2446.v2e9fd3b_d8c81</version> | ||
<scope>import</scope> | ||
<type>pom</type> | ||
</dependency> | ||
</dependencies> | ||
</dependencyManagement> | ||
Comment on lines
+62
to
+72
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Per the latest archetype. |
||
|
||
<dependencies> | ||
|
||
<dependency> | ||
<groupId>io.github.x-stream</groupId> | ||
<artifactId>mxparser</artifactId> | ||
<version>1.2.2</version> | ||
</dependency> | ||
Comment on lines
+76
to
+80
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The substance of this change, allowing forward compatibility with jenkinsci/jenkins#8503. |
||
<dependency> | ||
<groupId>joda-time</groupId> | ||
<artifactId>joda-time</artifactId> | ||
<version>2.12.5</version> | ||
</dependency> | ||
Comment on lines
+81
to
+85
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. A dependency consumed by this plugin but not previously declared. |
||
<dependency> | ||
<groupId>org.apache.commons</groupId> | ||
<artifactId>commons-digester3</artifactId> | ||
|
@@ -72,108 +91,21 @@ | |
<dependency> | ||
<groupId>org.jenkins-ci.plugins</groupId> | ||
<artifactId>dashboard-view</artifactId> | ||
<version>2.18.1</version> | ||
<optional>true</optional> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.jenkins-ci.main</groupId> | ||
<artifactId>maven-plugin</artifactId> | ||
<version>3.20</version> | ||
<exclusions> | ||
<!-- Provided by Jenkins core --> | ||
<exclusion> | ||
<groupId>javax.annotation</groupId> | ||
<artifactId>javax.annotation-api</artifactId> | ||
</exclusion> | ||
</exclusions> | ||
</dependency> | ||
<dependency> | ||
<groupId>javax.annotation</groupId> | ||
<artifactId>javax.annotation-api</artifactId> | ||
<version>1.3.2</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.jenkins-ci.plugins</groupId> | ||
<artifactId>credentials</artifactId> | ||
<version>2.6.2</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.jenkins-ci.plugins</groupId> | ||
<artifactId>junit</artifactId> | ||
<version>1166.va_436e268e972</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.jenkins-ci.plugins</groupId> | ||
<artifactId>structs</artifactId> | ||
<version>324.va_f5d6774f3a_d</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>io.jenkins.plugins</groupId> | ||
<artifactId>caffeine-api</artifactId> | ||
<version>2.9.3-65.v6a_47d0f4d1fe</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.groovy</groupId> | ||
<artifactId>groovy</artifactId> | ||
<version>4.0.9</version> | ||
</dependency> | ||
|
||
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-release-plugin</artifactId> | ||
<version>3.0.1</version> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>2.3.2</version> | ||
<configuration> | ||
<source>1.7</source> | ||
<target>1.7</target> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>build-helper-maven-plugin</artifactId> | ||
<executions> | ||
|
||
<!-- Attention Eclipse users: if you see an error here, you have to install the M2E buildhelper plugin.--> | ||
<execution> | ||
<id>add-localizer-source-folder</id> | ||
<phase>generate-sources</phase> | ||
<goals> | ||
<goal>add-source</goal> | ||
</goals> | ||
<configuration> | ||
<sources> | ||
<source>${project.build.directory}/generated-sources/localizer</source> | ||
</sources> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>com.github.spotbugs</groupId> | ||
<artifactId>spotbugs-maven-plugin</artifactId> | ||
<version>4.7.3.0</version> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-javadoc-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>attach-javadocs</id> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
<pluginManagement> | ||
<plugins> | ||
</plugins> | ||
</pluginManagement> | ||
</build> | ||
|
||
<pluginRepositories> | ||
<pluginRepository> | ||
<id>repo.jenkins-ci.org</id> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -189,7 +189,7 @@ public void testGetResultSummary() throws Exception { | |
*/ | ||
static class CopyResourceToWorkspaceBuilder extends Builder { | ||
|
||
private final InputStream content; | ||
private transient final InputStream content; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Needed to fix test failures on Java 11/17. |
||
private final String fileName; | ||
|
||
/** | ||
|
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 the latest archetype.