-
Notifications
You must be signed in to change notification settings - Fork 37
Modernization #36
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
Closed
Closed
Modernization #36
Changes from 21 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
cf431e4
"This recipe is intended to break down the modernization of very old …
gounthar 2a2c15d
"This recipe is intended to break down the modernization of very old …
gounthar bbbb720
Commons lang
gounthar ead4dec
More recent version of mockito.
gounthar e53165f
Compiles
gounthar 6617f38
JDK21
gounthar d89797d
JDK21
gounthar 414ec48
fdfsfs
gounthar f55cc8e
Removed SpotBugs issues.
gounthar 556d071
Removed SpotBugs found issues.
gounthar 3a5d59e
Removed SpotBugs found issues.
gounthar 69dd8af
Use https: for scm URL, not git:
gounthar d7eed45
Corrected SpotBugs found issues.
gounthar c094980
Increase SpotBugs checks.
gounthar 10cb4ce
The overridable method initJobFilters is being called from the constr…
gounthar 17d873a
Automate dependency updates
gounthar c6acee7
Publish incremental development artifacts
gounthar 2f06c1f
Merge branch 'master' into jdk8-removal
gounthar 1de0e8a
Update src/main/java/hudson/plugins/sectioned_view/FolderViewSection.…
gounthar 4e89498
Modernization for Java 21.
gounthar 74259d4
Merge branch 'jdk8-removal' of https://github.com/gounthar/sectioned-…
gounthar 1f093fb
Merge branch 'master' into jdk8-removal
gounthar edcfd3a
Merge branch 'master' into jdk8-removal
basil File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| version: 2 | ||
| updates: | ||
| # Maintain dependencies for your plugin | ||
| - package-ecosystem: maven | ||
| directory: / | ||
| schedule: | ||
| interval: monthly | ||
| open-pull-requests-limit: 10 | ||
| target-branch: master | ||
| # Maintain dependencies for GitHub Actions | ||
| - package-ecosystem: github-actions | ||
| directory: / | ||
| schedule: | ||
| interval: monthly |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| -Pconsume-incrementals | ||
| -Pmight-produce-incrementals |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,9 @@ | ||
| #!/usr/bin/env groovy | ||
|
|
||
| /* `buildPlugin` step provided by: https://github.com/jenkins-infra/pipeline-library */ | ||
| buildPlugin() | ||
| /* | ||
| See the documentation for more options: | ||
| https://github.com/jenkins-infra/pipeline-library/ | ||
| */ buildPlugin( | ||
| useContainerAgent: true, // Set to `false` if you need to use Docker for containerized tests | ||
| configurations: [ | ||
| [platform: 'linux', jdk: 21], | ||
| [platform: 'windows', jdk: 17], | ||
| ]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| diff --git a/pom.xml b/pom.xml | ||
| index 08b78fc..5911846 100644 | ||
| --- a/pom.xml | ||
| +++ b/pom.xml | ||
| @@ -1,9 +1,10 @@ | ||
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
| <modelVersion>4.0.0</modelVersion> | ||
| - <parent> | ||
| + <parent> | ||
| <groupId>org.jenkins-ci.plugins</groupId> | ||
| <artifactId>plugin</artifactId> | ||
| - <version>2.23</version> | ||
| + <version>4.51</version> | ||
| + <relativePath/> | ||
| </parent> | ||
|
|
||
| <artifactId>sectioned-view</artifactId> | ||
| @@ -48,7 +49,7 @@ | ||
| </pluginRepositories> | ||
|
|
||
| <properties> | ||
| - <jenkins.version>1.580.3</jenkins.version> | ||
| + <jenkins.version>2.346.3</jenkins.version> | ||
| <java.version>6</java.version> | ||
| <findbugs.failOnError>false</findbugs.failOnError> | ||
| </properties> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,16 @@ | ||
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
| <modelVersion>4.0.0</modelVersion> | ||
| <parent> | ||
| <parent> | ||
| <groupId>org.jenkins-ci.plugins</groupId> | ||
| <artifactId>plugin</artifactId> | ||
| <version>2.23</version> | ||
| <version>4.76</version> | ||
| <relativePath/> | ||
| </parent> | ||
|
|
||
| <artifactId>sectioned-view</artifactId> | ||
| <packaging>hpi</packaging> | ||
| <name>Sectioned View Plugin</name> | ||
| <version>1.27-SNAPSHOT</version> | ||
| <version>${revision}${changelist}</version> | ||
| <url>http://wiki.jenkins-ci.org/display/JENKINS/Sectioned+View+Plugin</url> | ||
| <developers> | ||
| <developer> | ||
|
|
@@ -28,11 +29,22 @@ | |
| </licenses> | ||
|
|
||
| <scm> | ||
| <connection>scm:git:git://github.com/jenkinsci/${project.artifactId}-plugin.git</connection> | ||
| <developerConnection>scm:git:[email protected]:jenkinsci/${project.artifactId}-plugin.git</developerConnection> | ||
| <url>https://github.com/jenkinsci/${project.artifactId}-plugin</url> | ||
| <tag>HEAD</tag> | ||
| <connection>scm:git:https://github.com/${gitHubRepo}.git</connection> | ||
| <developerConnection>scm:git:[email protected]:${gitHubRepo}.git</developerConnection> | ||
| <url>https://github.com/${gitHubRepo}</url> | ||
| <tag>${scmTag}</tag> | ||
| </scm> | ||
| <dependencyManagement> | ||
| <dependencies> | ||
| <dependency> | ||
| <groupId>io.jenkins.tools.bom</groupId> | ||
| <artifactId>bom-2.401.x</artifactId> | ||
| <version>2582.v830625dd636c</version> | ||
| <type>pom</type> | ||
| <scope>import</scope> | ||
| </dependency> | ||
| </dependencies> | ||
| </dependencyManagement> | ||
|
|
||
| <repositories> | ||
| <repository> | ||
|
|
@@ -48,41 +60,51 @@ | |
| </pluginRepositories> | ||
|
|
||
| <properties> | ||
| <jenkins.version>1.580.3</jenkins.version> | ||
| <java.version>6</java.version> | ||
| <revision>1.26</revision> | ||
| <changelist>-SNAPSHOT</changelist> | ||
| <gitHubRepo>jenkinsci/sectioned-view-plugin</gitHubRepo> | ||
| <jenkins.version>2.401.3</jenkins.version> | ||
| <findbugs.failOnError>false</findbugs.failOnError> | ||
| <spotbugs.effort>Max</spotbugs.effort> | ||
| <spotbugs.threshold>Low</spotbugs.threshold> | ||
| </properties> | ||
|
|
||
| <dependencies> | ||
| <dependency> | ||
| <groupId>io.jenkins.plugins</groupId> | ||
| <artifactId>commons-lang3-api</artifactId> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.mockito</groupId> | ||
| <artifactId>mockito-core</artifactId> | ||
| <version>1.10.19</version> | ||
| <scope>test</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.hamcrest</groupId> | ||
| <artifactId>hamcrest-core</artifactId> | ||
| <version>1.2.1</version> | ||
| <scope>test</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.jenkins-ci.plugins</groupId> | ||
| <artifactId>junit</artifactId> | ||
| <version>1.19</version> | ||
| <scope>test</scope> | ||
| <exclusions> | ||
| <exclusion> | ||
| <!-- brought in by io.jenkins.plugins:commons-lang3-api --> | ||
| <groupId>org.apache.commons</groupId> | ||
| <artifactId>commons-lang3</artifactId> | ||
| </exclusion> | ||
| </exclusions> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.jenkins-ci.plugins</groupId> | ||
| <artifactId>antisamy-markup-formatter</artifactId> | ||
| <version>1.2</version> | ||
| <scope>test</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <optional>true</optional> | ||
| <groupId>org.jenkins-ci.plugins</groupId> | ||
| <artifactId>cloudbees-folder</artifactId> | ||
| <version>5.18</version> | ||
| </dependency> | ||
|
|
||
| </dependencies> | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.