diff --git a/README.md b/README.md
index 9e9cf8ac2d..e3293a3631 100644
--- a/README.md
+++ b/README.md
@@ -7,7 +7,7 @@
This new parent POM is decoupled from the core Jenkins project, both from the Maven and repository perspectives.
-Since version 4.0 the plugin pom supports Jenkins 2.200 and higher and a select few older LTS lines ([full list](https://repo.jenkins-ci.org/releases/org/jenkins-ci/main/jenkins-bom/))
+Since version 4.52 the plugin parent POM supports Jenkins 2.361 and higher.
The main changes are:
* Reduced number of overridable properties. All references (e.g. dependencies and plugin versions) not
@@ -48,7 +48,7 @@ In order to use the new POM:
Take a look the developer documentation for the baseline version to use
https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/#currently-recommended-versions
-->
- 2.332.4
+ 2.361.4
```
@@ -60,7 +60,7 @@ If you had a `jar:test-jar` execution, delete it and add to `properties`:
## Java support
-The plugin POM is designed for plugin builds with JDK 8 or above.
+The plugin POM is designed for plugin builds with JDK 11 or above.
Starting from Plugin POM `4.40`, support of Java 17 was added.
## Incrementals
diff --git a/pom.xml b/pom.xml
index 339b4b3035..c1d7e2975d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -58,18 +58,23 @@
UTF-8
UTF-8
+ 11
+ 11
+
+ true
true
+
+ --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED
-Xms768M -Xmx768M -XX:+HeapDumpOnOutOfMemoryError -XX:+TieredCompilation -XX:TieredStopAtLevel=1 @{jenkins.addOpens} @{jenkins.insaneHook}
1.27
- 1.22
1.12.1
3.36
- 2.249
+ 2.361
${jenkins.version}
1900.v9e128c991ef4
4.9.0
@@ -150,11 +155,6 @@
junit
4.13.2
-
- org.codehaus.mojo
- animal-sniffer-annotations
- ${animal.sniffer.version}
-
org.codehaus.mojo.signature
java18
@@ -225,14 +225,6 @@
provided
-
-
-
- org.codehaus.mojo
- animal-sniffer-annotations
- provided
- true
-
@@ -405,11 +397,6 @@
gmavenplus-plugin
2.1.0
-
- org.codehaus.mojo
- animal-sniffer-maven-plugin
- ${animal.sniffer.version}
-
org.codehaus.mojo
build-helper-maven-plugin
@@ -500,7 +487,7 @@
3.8.1 required to no longer download dependencies via HTTP (use HTTPS instead).
- [1.8.0,)
+ [${maven.compiler.release},)
- 1.8
+ ${maven.compiler.release}
test
@@ -687,25 +674,6 @@
-
- org.codehaus.mojo
- animal-sniffer-maven-plugin
-
-
- org.codehaus.mojo.signature
- java18
-
-
-
-
- check
-
- check
-
- test
-
-
-
maven-eclipse-plugin
@@ -918,80 +886,6 @@
-
- jdk-8-and-below
-
- (,1.8]
-
-
- 1.8
- 1.8
- 1.8
- 1.8
-
-
-
-
-
- jdk-9-and-above
-
- [9,)
-
-
-
- 8
- 8
-
- true
-
- true
-
- --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED
-
-
-
-
-
- maven-enforcer-plugin
-
-
- display-info
-
-
-
- 11
-
-
-
-
-
-
-
-
-
jenkins-release
@@ -1547,7 +1441,6 @@
true
true
true
- true
true
true
true
diff --git a/src/it/benchmark/pom.xml b/src/it/benchmark/pom.xml
index d57c4ed650..29e42e148d 100644
--- a/src/it/benchmark/pom.xml
+++ b/src/it/benchmark/pom.xml
@@ -13,7 +13,7 @@
1.0-SNAPSHOT
jar
- 2.249
+ 2.361.4
diff --git a/src/it/beta-fail/pom.xml b/src/it/beta-fail/pom.xml
index a717e3df0f..ca0e2cbdb4 100644
--- a/src/it/beta-fail/pom.xml
+++ b/src/it/beta-fail/pom.xml
@@ -13,7 +13,7 @@
1.0-SNAPSHOT
pom
- 2.277.4
+ 2.361.4
true
diff --git a/src/it/beta-just-testing/pom.xml b/src/it/beta-just-testing/pom.xml
index d227e8e0db..c00be0c598 100644
--- a/src/it/beta-just-testing/pom.xml
+++ b/src/it/beta-just-testing/pom.xml
@@ -13,7 +13,7 @@
1.0-SNAPSHOT
pom
- 2.277.4
+ 2.361.4
true
diff --git a/src/it/beta-pass/pom.xml b/src/it/beta-pass/pom.xml
index ca71cc86ec..ca608bea28 100644
--- a/src/it/beta-pass/pom.xml
+++ b/src/it/beta-pass/pom.xml
@@ -13,7 +13,7 @@
1.0-SNAPSHOT
pom
- 2.277.4
+ 2.361.4
true
diff --git a/src/it/incrementals-and-plugin-bom/pom.xml b/src/it/incrementals-and-plugin-bom/pom.xml
index d0059d0bb3..692048a441 100644
--- a/src/it/incrementals-and-plugin-bom/pom.xml
+++ b/src/it/incrementals-and-plugin-bom/pom.xml
@@ -14,7 +14,7 @@
1.0
-SNAPSHOT
- 2.249
+ 2.361.4
@@ -33,8 +33,8 @@
io.jenkins.tools.bom
- bom-2.176.x
- 4
+ bom-2.361.x
+ 1580.v47b_429a_c853a
import
pom
diff --git a/src/it/localizer/pom.xml b/src/it/localizer/pom.xml
index b4c4a89dbc..3fef41c086 100644
--- a/src/it/localizer/pom.xml
+++ b/src/it/localizer/pom.xml
@@ -13,7 +13,7 @@
1.0-SNAPSHOT
hpi
- 2.277.4
+ 2.361.4
true
diff --git a/src/it/sample-plugin/pom.xml b/src/it/sample-plugin/pom.xml
index fe1f63f273..4f55b0b0a3 100644
--- a/src/it/sample-plugin/pom.xml
+++ b/src/it/sample-plugin/pom.xml
@@ -13,7 +13,7 @@
1.0-SNAPSHOT
hpi
- 2.249
+ 2.361.4