diff --git a/README.md b/README.md
index 93b5d63836..0039025e35 100644
--- a/README.md
+++ b/README.md
@@ -8,7 +8,7 @@ This is the [versions-maven-plugin](http://www.mojohaus.org/versions-maven-plugi
## Maintained versions
-Versions Maven Plugin requires Maven 3.2.5+ and JDK 1.8+
+Versions Maven Plugin requires Maven 3.6.3+ and JDK 1.8+
However, we maintain the latest Plugin version with the latest Maven.
diff --git a/pom.xml b/pom.xml
index e4625c3fea..5532b561b6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -10,7 +10,7 @@
org.codehaus.mojo.versions
versions
- 2.16.3-SNAPSHOT
+ 2.17.0-SNAPSHOT
pom
Versions
@@ -119,11 +119,10 @@
-
- 11
- 3.2.5
+ 3.6.3
1.12.0
1.11.1
+ 4.11.0
${project.version}
${maven-site-plugin.version}
@@ -135,7 +134,7 @@
0.75C
- 2023-11-17T00:00:27Z
+ 2024-06-15T19:28:12Z
@@ -144,37 +143,58 @@
org.apache.maven
maven-plugin-api
- ${maven.version}
+ ${mavenVersion}
provided
org.apache.maven
maven-artifact
- ${maven.version}
+ ${mavenVersion}
provided
org.apache.maven
maven-core
- ${maven.version}
+ ${mavenVersion}
provided
org.apache.maven
maven-model
- ${maven.version}
+ ${mavenVersion}
+ provided
+
+
+ org.apache.maven
+ maven-model-builder
+ ${mavenVersion}
provided
org.apache.maven
maven-settings
- ${maven.version}
+ ${mavenVersion}
provided
org.apache.maven
maven-compat
- ${maven.version}
+ ${mavenVersion}
+
+
+
+ org.apache.maven.resolver
+ maven-resolver-api
+
+ 1.4.1
+ provided
+
+
+ org.eclipse.sisu
+ org.eclipse.sisu.plexus
+
+ 0.3.4
+ provided
@@ -259,10 +279,15 @@
maven-plugin-testing-harness
3.3.0
+
+ org.mockito
+ mockito-core
+ ${mockitoVersion}
+
org.mockito
mockito-inline
- 4.11.0
+ ${mockitoVersion}
org.hamcrest
@@ -322,6 +347,12 @@
plexus-archiver
4.9.2
+
+ javax.inject
+ javax.inject
+ 1
+ provided
+
@@ -334,6 +365,16 @@
byte-buddy-agent
${byteBuddyVersion}
+
+ org.apache.maven.wagon
+ wagon-provider-api
+ 3.5.3
+
+
+ org.apache.maven.doxia
+ doxia-decoration-model
+ 1.11.1
+
diff --git a/versions-api/pom.xml b/versions-api/pom.xml
index d6b90f9703..321aec5304 100644
--- a/versions-api/pom.xml
+++ b/versions-api/pom.xml
@@ -5,7 +5,7 @@
org.codehaus.mojo.versions
versions
- 2.16.3-SNAPSHOT
+ 2.17.0-SNAPSHOT
versions-api
diff --git a/versions-common/pom.xml b/versions-common/pom.xml
index 2415ecee10..6ba27ef79b 100644
--- a/versions-common/pom.xml
+++ b/versions-common/pom.xml
@@ -4,7 +4,7 @@
org.codehaus.mojo.versions
versions
- 2.16.3-SNAPSHOT
+ 2.17.0-SNAPSHOT
versions-common
@@ -16,7 +16,7 @@
org.codehaus.mojo.versions
versions-api
- 2.16.3-SNAPSHOT
+ ${project.version}
org.codehaus.mojo.versions
@@ -29,6 +29,11 @@
maven-artifact
+
+ org.apache.maven.resolver
+ maven-resolver-api
+
+
org.apache.maven
maven-core
@@ -36,7 +41,6 @@
org.apache.maven.wagon
wagon-provider-api
- 3.5.3
org.apache.maven
@@ -44,11 +48,11 @@
org.apache.maven
- maven-plugin-api
+ maven-model-builder
org.apache.maven
- maven-settings
+ maven-plugin-api
com.fasterxml.woodstox
@@ -62,14 +66,46 @@
org.apache.commons
commons-collections4
+
+ org.codehaus.plexus
+ plexus-utils
+
+
+ org.codehaus.plexus
+ plexus-xml
+
+
+ org.eclipse.sisu
+ org.eclipse.sisu.plexus
+
+
+ javax.inject
+ javax.inject
+
org.apache.maven.plugin-testing
maven-plugin-testing-harness
test
+
+ junit
+ junit
+ test
+
+
+ org.hamcrest
+ hamcrest-core
+
+
+
org.junit.jupiter
- junit-jupiter
+ junit-jupiter-api
+ test
+
+
+ org.junit.jupiter
+ junit-jupiter-params
test
@@ -85,7 +121,7 @@
org.mockito
- mockito-inline
+ mockito-core
test
@@ -98,6 +134,11 @@
slf4j-simple
test
+
+ commons-io
+ commons-io
+ test
+
org.apache.maven
diff --git a/versions-enforcer/pom.xml b/versions-enforcer/pom.xml
index e38ecf1700..84f619402f 100644
--- a/versions-enforcer/pom.xml
+++ b/versions-enforcer/pom.xml
@@ -4,7 +4,7 @@
org.codehaus.mojo.versions
versions
- 2.16.3-SNAPSHOT
+ 2.17.0-SNAPSHOT
versions-enforcer
@@ -24,12 +24,10 @@
versions-common
${project.version}
-
org.codehaus.mojo.versions
- versions-test
+ versions-model
${project.version}
- test
@@ -42,16 +40,46 @@
org.apache.maven
maven-core
+
+ org.apache.maven
+ maven-plugin-api
+
+
+ org.apache.maven
+ maven-model
+
+
+ org.apache.maven
+ maven-artifact
+
+
+ org.apache.maven.resolver
+ maven-resolver-api
+
+
+ org.apache.maven.wagon
+ wagon-provider-api
+
+
+ javax.inject
+ javax.inject
+
- org.junit.jupiter
- junit-jupiter
+ org.codehaus.mojo.versions
+ versions-test
+ ${project.version}
+ test
+
+
+ org.eclipse.sisu
+ org.eclipse.sisu.plexus
test
- org.junit.vintage
- junit-vintage-engine
+ junit
+ junit
test
@@ -62,14 +90,20 @@
- org.apache.maven.plugin-testing
- maven-plugin-testing-harness
+ org.junit.vintage
+ junit-vintage-engine
test
+
+
+ org.hamcrest
+ hamcrest-core
+
+
org.mockito
- mockito-inline
+ mockito-core
test
diff --git a/versions-maven-plugin/pom.xml b/versions-maven-plugin/pom.xml
index 9d1f7509f9..c7a9dee648 100644
--- a/versions-maven-plugin/pom.xml
+++ b/versions-maven-plugin/pom.xml
@@ -5,7 +5,7 @@
org.codehaus.mojo.versions
versions
- 2.16.3-SNAPSHOT
+ 2.17.0-SNAPSHOT
org.codehaus.mojo
@@ -16,11 +16,16 @@
The Versions Maven Plugin is used when you want to manage the versions of artifacts in a project's POM.
- ${maven.version}
+ ${mavenVersion}
+
+ org.codehaus.mojo.versions
+ versions-api
+ ${project.version}
+
org.codehaus.mojo.versions
versions-model
@@ -65,14 +70,44 @@
org.apache.maven
maven-model
+
+ org.apache.maven
+ maven-model-builder
+
org.apache.maven
maven-settings
+
+ org.apache.maven.resolver
+ maven-resolver-api
+
+
+ org.apache.maven.wagon
+ wagon-provider-api
+
+
+ org.apache.maven.reporting
+ maven-reporting-api
+
org.apache.maven.reporting
maven-reporting-impl
+
+
+ org.apache.maven
+ maven-artifact
+
+
+ org.apache.maven
+ maven-core
+
+
+ org.apache.maven
+ maven-plugin-api
+
+
@@ -94,6 +129,16 @@
org.apache.maven.doxia
doxia-site-renderer
+
+
+ org.apache.maven
+ maven-artifact
+
+
+ xml-apis
+ xml-apis
+
+
@@ -111,16 +156,57 @@
commons-lang3
+
+ org.codehaus.plexus
+ plexus-utils
+
+
+ org.codehaus.plexus
+ plexus-xml
+
+
+ javax.inject
+ javax.inject
+
+
+
+ commons-codec
+ commons-codec
+ test
+
+
+ commons-io
+ commons-io
+ test
+
+
+ org.apache.maven.doxia
+ doxia-module-xhtml5
+ ${doxia-sitetoolsVersion}
+ test
+
+
+ org.apache.maven.doxia
+ doxia-integration-tools
+ test
+
+
org.apache.maven.plugin-testing
maven-plugin-testing-harness
test
- org.junit.jupiter
- junit-jupiter
+ junit
+ junit
test
+
+
+ org.hamcrest
+ hamcrest-core
+
+
org.junit.vintage
@@ -133,6 +219,11 @@
+
+ org.mockito
+ mockito-core
+ test
+
org.mockito
mockito-inline
diff --git a/versions-maven-plugin/src/main/java/org/codehaus/mojo/versions/DisplayParentUpdatesMojo.java b/versions-maven-plugin/src/main/java/org/codehaus/mojo/versions/DisplayParentUpdatesMojo.java
index 3cab99c1f9..bafe124e82 100644
--- a/versions-maven-plugin/src/main/java/org/codehaus/mojo/versions/DisplayParentUpdatesMojo.java
+++ b/versions-maven-plugin/src/main/java/org/codehaus/mojo/versions/DisplayParentUpdatesMojo.java
@@ -47,7 +47,7 @@
import org.codehaus.mojo.versions.utils.DependencyBuilder;
import org.codehaus.mojo.versions.utils.SegmentUtils;
-import static org.apache.maven.shared.utils.StringUtils.isBlank;
+import static org.apache.commons.lang3.StringUtils.isBlank;
/**
* Displays any updates of the project's parent project
diff --git a/versions-maven-plugin/src/main/java/org/codehaus/mojo/versions/SetMojo.java b/versions-maven-plugin/src/main/java/org/codehaus/mojo/versions/SetMojo.java
index f2ed13bca5..57a0371e93 100644
--- a/versions-maven-plugin/src/main/java/org/codehaus/mojo/versions/SetMojo.java
+++ b/versions-maven-plugin/src/main/java/org/codehaus/mojo/versions/SetMojo.java
@@ -65,7 +65,7 @@
import org.codehaus.plexus.components.interactivity.Prompter;
import org.codehaus.plexus.components.interactivity.PrompterException;
-import static org.apache.commons.lang.StringUtils.isEmpty;
+import static org.apache.commons.lang3.StringUtils.isEmpty;
/**
* Sets the current project's version and based on that change propagates that change onto any child modules as
diff --git a/versions-maven-plugin/src/main/java/org/codehaus/mojo/versions/UpdateParentMojo.java b/versions-maven-plugin/src/main/java/org/codehaus/mojo/versions/UpdateParentMojo.java
index 02ecb55799..fd2e5fa935 100644
--- a/versions-maven-plugin/src/main/java/org/codehaus/mojo/versions/UpdateParentMojo.java
+++ b/versions-maven-plugin/src/main/java/org/codehaus/mojo/versions/UpdateParentMojo.java
@@ -47,7 +47,7 @@
import org.codehaus.mojo.versions.utils.DependencyBuilder;
import org.codehaus.mojo.versions.utils.SegmentUtils;
-import static org.apache.maven.shared.utils.StringUtils.isBlank;
+import static org.apache.commons.lang3.StringUtils.isBlank;
/**
* Sets the parent version to the latest parent version.
diff --git a/versions-model-report/pom.xml b/versions-model-report/pom.xml
index 6d880acf5c..770aac412e 100644
--- a/versions-model-report/pom.xml
+++ b/versions-model-report/pom.xml
@@ -4,7 +4,7 @@
org.codehaus.mojo.versions
versions
- 2.16.3-SNAPSHOT
+ 2.17.0-SNAPSHOT
versions-model-report
diff --git a/versions-model/pom.xml b/versions-model/pom.xml
index d90796add8..cd14752e1c 100644
--- a/versions-model/pom.xml
+++ b/versions-model/pom.xml
@@ -4,7 +4,7 @@
org.codehaus.mojo.versions
versions
- 2.16.3-SNAPSHOT
+ 2.17.0-SNAPSHOT
versions-model
diff --git a/versions-test/pom.xml b/versions-test/pom.xml
index b0c1e0b98e..ab4a0619a0 100644
--- a/versions-test/pom.xml
+++ b/versions-test/pom.xml
@@ -22,7 +22,7 @@
org.codehaus.mojo.versions
versions
- 2.16.3-SNAPSHOT
+ 2.17.0-SNAPSHOT
versions-test
@@ -31,14 +31,26 @@
Internal test utilities used in project
+
+ org.codehaus.mojo.versions
+ versions-api
+ ${project.version}
+
+
+ org.apache.maven
+ maven-artifact
+
org.apache.maven
maven-core
- org.eclipse.aether
- aether-api
- 1.1.0
+ org.apache.maven
+ maven-model
+
+
+ org.apache.maven.resolver
+ maven-resolver-api
org.apache.maven.doxia
@@ -46,20 +58,19 @@
org.apache.maven.doxia
- doxia-site-renderer
-
-
- org.codehaus.mojo.versions
- versions-common
- ${project.version}
+ doxia-decoration-model
org.apache.commons
commons-text
+
+ javax.inject
+ javax.inject
+
org.mockito
- mockito-inline
+ mockito-core
org.apache.maven.plugin-testing