diff --git a/.github/workflows/maven-verify.yml b/.github/workflows/maven-verify.yml
index dbdabb6f1..be6eeb616 100644
--- a/.github/workflows/maven-verify.yml
+++ b/.github/workflows/maven-verify.yml
@@ -27,5 +27,5 @@ jobs:
uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v3
with:
ff-site-run: false
-
+ jdk-matrix: '[ "11", "17", "21" ]'
diff --git a/Jenkinsfile b/Jenkinsfile
index d89f893d1..ef5393dda 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -17,7 +17,5 @@
* under the License.
*/
-// Currently we can only build with JDK8+ based on the usage
-// of bnd-maven-plugin.
-asfMavenTlpStdBuild( 'jdks' : [ "8", "11", "17" ] )
+asfMavenTlpStdBuild( 'jdks' : [ "11", "17", "21" ] )
diff --git a/maven-resolver-api/pom.xml b/maven-resolver-api/pom.xml
index 1d9773a80..c3a9991c0 100644
--- a/maven-resolver-api/pom.xml
+++ b/maven-resolver-api/pom.xml
@@ -23,7 +23,7 @@
org.apache.maven.resolver
maven-resolver
- 1.9.17-SNAPSHOT
+ 2.0.0-SNAPSHOT
maven-resolver-api
diff --git a/maven-resolver-connector-basic/pom.xml b/maven-resolver-connector-basic/pom.xml
index e9061dd67..f7dff4654 100644
--- a/maven-resolver-connector-basic/pom.xml
+++ b/maven-resolver-connector-basic/pom.xml
@@ -23,7 +23,7 @@
org.apache.maven.resolver
maven-resolver
- 1.9.17-SNAPSHOT
+ 2.0.0-SNAPSHOT
maven-resolver-connector-basic
diff --git a/maven-resolver-demos/maven-resolver-demo-maven-plugin/pom.xml b/maven-resolver-demos/maven-resolver-demo-maven-plugin/pom.xml
index 15efba65a..620acbabd 100644
--- a/maven-resolver-demos/maven-resolver-demo-maven-plugin/pom.xml
+++ b/maven-resolver-demos/maven-resolver-demo-maven-plugin/pom.xml
@@ -23,7 +23,7 @@
org.apache.maven.resolver
maven-resolver-demos
- 1.9.17-SNAPSHOT
+ 2.0.0-SNAPSHOT
resolver-demo-maven-plugin
diff --git a/maven-resolver-demos/maven-resolver-demo-snippets/pom.xml b/maven-resolver-demos/maven-resolver-demo-snippets/pom.xml
index d36ccc2d1..bdc1dc2e8 100644
--- a/maven-resolver-demos/maven-resolver-demo-snippets/pom.xml
+++ b/maven-resolver-demos/maven-resolver-demo-snippets/pom.xml
@@ -23,7 +23,7 @@
org.apache.maven.resolver
maven-resolver-demos
- 1.9.17-SNAPSHOT
+ 2.0.0-SNAPSHOT
maven-resolver-demo-snippets
diff --git a/maven-resolver-demos/pom.xml b/maven-resolver-demos/pom.xml
index b1de669e9..9342a7961 100644
--- a/maven-resolver-demos/pom.xml
+++ b/maven-resolver-demos/pom.xml
@@ -23,7 +23,7 @@
org.apache.maven.resolver
maven-resolver
- 1.9.17-SNAPSHOT
+ 2.0.0-SNAPSHOT
maven-resolver-demos
diff --git a/maven-resolver-impl/pom.xml b/maven-resolver-impl/pom.xml
index 98bf1c8a1..64614cb9d 100644
--- a/maven-resolver-impl/pom.xml
+++ b/maven-resolver-impl/pom.xml
@@ -23,7 +23,7 @@
org.apache.maven.resolver
maven-resolver
- 1.9.17-SNAPSHOT
+ 2.0.0-SNAPSHOT
maven-resolver-impl
diff --git a/maven-resolver-named-locks-hazelcast/pom.xml b/maven-resolver-named-locks-hazelcast/pom.xml
index 3c9d32f42..074417c87 100644
--- a/maven-resolver-named-locks-hazelcast/pom.xml
+++ b/maven-resolver-named-locks-hazelcast/pom.xml
@@ -23,7 +23,7 @@
org.apache.maven.resolver
maven-resolver
- 1.9.17-SNAPSHOT
+ 2.0.0-SNAPSHOT
maven-resolver-named-locks-hazelcast
diff --git a/maven-resolver-named-locks-redisson/pom.xml b/maven-resolver-named-locks-redisson/pom.xml
index cf8840fd6..ef8aab3f0 100644
--- a/maven-resolver-named-locks-redisson/pom.xml
+++ b/maven-resolver-named-locks-redisson/pom.xml
@@ -23,7 +23,7 @@
org.apache.maven.resolver
maven-resolver
- 1.9.17-SNAPSHOT
+ 2.0.0-SNAPSHOT
maven-resolver-named-locks-redisson
diff --git a/maven-resolver-named-locks/pom.xml b/maven-resolver-named-locks/pom.xml
index 177d897d7..bb8f3dab2 100644
--- a/maven-resolver-named-locks/pom.xml
+++ b/maven-resolver-named-locks/pom.xml
@@ -23,7 +23,7 @@
org.apache.maven.resolver
maven-resolver
- 1.9.17-SNAPSHOT
+ 2.0.0-SNAPSHOT
maven-resolver-named-locks
diff --git a/maven-resolver-spi/pom.xml b/maven-resolver-spi/pom.xml
index af2c1fcf1..78bfe7ac9 100644
--- a/maven-resolver-spi/pom.xml
+++ b/maven-resolver-spi/pom.xml
@@ -23,7 +23,7 @@
org.apache.maven.resolver
maven-resolver
- 1.9.17-SNAPSHOT
+ 2.0.0-SNAPSHOT
maven-resolver-spi
diff --git a/maven-resolver-supplier/pom.xml b/maven-resolver-supplier/pom.xml
index e6e7c8c0a..fee4e6e2a 100644
--- a/maven-resolver-supplier/pom.xml
+++ b/maven-resolver-supplier/pom.xml
@@ -23,7 +23,7 @@
org.apache.maven.resolver
maven-resolver
- 1.9.17-SNAPSHOT
+ 2.0.0-SNAPSHOT
maven-resolver-supplier
diff --git a/maven-resolver-test-util/pom.xml b/maven-resolver-test-util/pom.xml
index 5a709dad5..5431cb1d7 100644
--- a/maven-resolver-test-util/pom.xml
+++ b/maven-resolver-test-util/pom.xml
@@ -23,7 +23,7 @@
org.apache.maven.resolver
maven-resolver
- 1.9.17-SNAPSHOT
+ 2.0.0-SNAPSHOT
maven-resolver-test-util
diff --git a/maven-resolver-transport-classpath/pom.xml b/maven-resolver-transport-classpath/pom.xml
index 694e85b6d..f49877505 100644
--- a/maven-resolver-transport-classpath/pom.xml
+++ b/maven-resolver-transport-classpath/pom.xml
@@ -23,7 +23,7 @@
org.apache.maven.resolver
maven-resolver
- 1.9.17-SNAPSHOT
+ 2.0.0-SNAPSHOT
maven-resolver-transport-classpath
diff --git a/maven-resolver-transport-file/pom.xml b/maven-resolver-transport-file/pom.xml
index 024591eff..89ce65de2 100644
--- a/maven-resolver-transport-file/pom.xml
+++ b/maven-resolver-transport-file/pom.xml
@@ -23,7 +23,7 @@
org.apache.maven.resolver
maven-resolver
- 1.9.17-SNAPSHOT
+ 2.0.0-SNAPSHOT
maven-resolver-transport-file
diff --git a/maven-resolver-transport-http/pom.xml b/maven-resolver-transport-http/pom.xml
index e087f0e7b..928c8305b 100644
--- a/maven-resolver-transport-http/pom.xml
+++ b/maven-resolver-transport-http/pom.xml
@@ -23,7 +23,7 @@
org.apache.maven.resolver
maven-resolver
- 1.9.17-SNAPSHOT
+ 2.0.0-SNAPSHOT
maven-resolver-transport-http
diff --git a/maven-resolver-transport-wagon/pom.xml b/maven-resolver-transport-wagon/pom.xml
index 5985df226..bb37726d8 100644
--- a/maven-resolver-transport-wagon/pom.xml
+++ b/maven-resolver-transport-wagon/pom.xml
@@ -23,7 +23,7 @@
org.apache.maven.resolver
maven-resolver
- 1.9.17-SNAPSHOT
+ 2.0.0-SNAPSHOT
maven-resolver-transport-wagon
diff --git a/maven-resolver-util/pom.xml b/maven-resolver-util/pom.xml
index cfaec8d0d..4ef5e8e8c 100644
--- a/maven-resolver-util/pom.xml
+++ b/maven-resolver-util/pom.xml
@@ -23,7 +23,7 @@
org.apache.maven.resolver
maven-resolver
- 1.9.17-SNAPSHOT
+ 2.0.0-SNAPSHOT
maven-resolver-util
diff --git a/pom.xml b/pom.xml
index 2538a4331..b04ff0f75 100644
--- a/pom.xml
+++ b/pom.xml
@@ -29,7 +29,7 @@
org.apache.maven.resolver
maven-resolver
- 1.9.17-SNAPSHOT
+ 2.0.0-SNAPSHOT
pom
Maven Artifact Resolver
@@ -85,18 +85,19 @@
8
+ ${javaVersion}
true
${surefire.redirectTestOutputToFile}
resolver-archives/resolver-LATEST
None
- 0.3.5
- 5.1.0
+ 0.9.0.M2
+ 6.0.0
1.7.36
3.9.5
- [3.8.7,)
- [1.8.0-362,)
- 2023-09-22T18:13:46Z
+ [3.8.8,)
+ [11.0.20,)
+ 2023-10-10T21:40:45Z
@@ -305,6 +306,27 @@
+
+ org.apache.maven.plugins
+ maven-enforcer-plugin
+
+
+ enforce-bytecode-version
+
+ enforce
+
+
+
+
+ ${maven.compiler.release}
+ test
+
+
+ true
+
+
+
+
org.apache.maven.plugins
maven-javadoc-plugin
@@ -429,20 +451,6 @@
-
- org.eclipse.sisu
- sisu-maven-plugin
- ${sisuVersion}
-
-
- generate-index
-
- main-index
-
- process-classes
-
-
-
org.apache.rat
apache-rat-plugin
@@ -486,29 +494,54 @@
+
+
+ com.diffplug.spotless
+ spotless-maven-plugin
+ 2.40.0
+
+
+
+
+
+ 2.38.0
+
+
+
+ config/maven-eclipse-importorder.txt
+
+
+ config/maven-header-plain.txt
+
+
+
+
+ false
+
+ true
+
+
+
+ true
+
+
+
- org.codehaus.mojo
- animal-sniffer-maven-plugin
- 1.23
+ org.apache.maven.plugins
+ maven-compiler-plugin
-
- org.codehaus.mojo.signature
- java18
- 1.0
-
+ none
+
+ -Xlint:deprecation
+
-
-
- check-java-compat
-
- check
-
- process-classes
-
-
+
+
+ org.eclipse.sisu
+ sisu-maven-plugin
diff --git a/src/site/markdown/upgrading-resolver.md b/src/site/markdown/upgrading-resolver.md
new file mode 100644
index 000000000..454bbbefb
--- /dev/null
+++ b/src/site/markdown/upgrading-resolver.md
@@ -0,0 +1,26 @@
+# Upgrading Resolver (major versions)
+
+
+This page will collect quick guides for developers upgrading from one to
+another major version of Resolver.
+
+# Upgrading from 1.x to 2.x
+
+Maven Resolver upcoming major version 2.x should be "smooth sailing", as long you
+do not depend (directly or indirectly) on **deprecated** classes from Resolver
+1.x line. Always use latest 1.x release to check for deprecated classes.
diff --git a/src/site/site.xml b/src/site/site.xml
index fdb5af531..d289dba5f 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -33,6 +33,7 @@ under the License.
+