Skip to content

Refresh plugin - #99

Merged
nfalco79 merged 1 commit into
jenkinsci:masterfrom
basil:refresh
Nov 14, 2022
Merged

nfalco79 merged 1 commit into
jenkinsci:masterfrom
basil:refresh

Conversation

@basil

@basil basil commented Nov 12, 2022

Copy link
Copy Markdown
Member

Cleans up this plugin's build toolchain. CC @nfalco79

Comment thread .mvn/extensions.xml
<groupId>io.jenkins.tools.incrementals</groupId>
<artifactId>git-changelist-maven-extension</artifactId>
<version>1.1</version>
<version>1.4</version>

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update to latest version.

Comment thread findbugs-exclude.xml
Comment on lines -3 to -12
<Match>
<Class name="org.jenkinsci.plugins.xunit.XUnitBuilder" />
<Bug pattern="EI_EXPOSE_REP" />
<!-- getter are needed only for Snippet Generator, are not APIs -->
</Match>
<Match>
<Class name="org.jenkinsci.plugins.xunit.XUnitPublisher" />
<Bug pattern="EI_EXPOSE_REP" />
<!-- getter are needed only for Snippet Generator, are not APIs -->
</Match>

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved to a standard location in the latest plugin parent POM: src/spotbugs/excludesFilter.xml. Also the EI_EXPOSE_REP check is globally disabled in the latest plugin parent POM, so those lines are removed.

Comment thread pom.xml
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.47</version>
<version>4.50</version>

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Latest version.

Comment thread pom.xml
@@ -1,22 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consistent with the archetype.

Comment thread pom.xml
<artifactId>plugin</artifactId>
<version>4.47</version>
<version>4.50</version>
<relativePath />

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consistent with the archetype.

Comment thread pom.xml
Comment on lines -81 to -85
<dependency>
<groupId>io.jenkins.plugins</groupId>
<artifactId>plugin-util-api</artifactId>
<version>2.17.0</version>
</dependency>

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unneeded as of latest plugin BOM.

Comment thread pom.xml
Comment on lines -121 to -126
<exclusions>
<exclusion>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
</exclusion>
</exclusions>

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unneeded as of latest plugin BOM.

Comment thread pom.xml
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>4.8.0</version>

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Version defined in plugin parent POM.

Comment thread pom.xml
Comment on lines +169 to 172
<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>

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needed for incremental builds and consistent with the archetype.

Comment thread pom.xml
Comment on lines -187 to -197
<pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<configuration>
<excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
</configuration>
</plugin>
</plugins>
</pluginManagement>

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A standard location is now globally defined in the plugin parent POM.

@nfalco79
nfalco79 merged commit 68dc05a into jenkinsci:master Nov 14, 2022
@basil
basil deleted the refresh branch November 14, 2022 17:39
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.

2 participants