diff --git a/common/src/main/java/org/mvndaemon/mvnd/common/InterpolationHelper.java b/common/src/main/java/org/mvndaemon/mvnd/common/InterpolationHelper.java
index 138b0cbd..e8301a89 100644
--- a/common/src/main/java/org/mvndaemon/mvnd/common/InterpolationHelper.java
+++ b/common/src/main/java/org/mvndaemon/mvnd/common/InterpolationHelper.java
@@ -75,7 +75,7 @@ public class InterpolationHelper {
*
* This method performs property variable substitution on the
* specified value. If the specified value contains the syntax
- * ${<prop-name>}, where <prop-name>
+ * {@code ${prop-name}}, where {@code prop-name}
* refers to either a configuration property or a system property,
* then the corresponding property value is substituted for the variable
* placeholder. Multiple variable placeholders may exist in the
diff --git a/common/src/main/java/org/mvndaemon/mvnd/common/OsUtils.java b/common/src/main/java/org/mvndaemon/mvnd/common/OsUtils.java
index 0c591d67..460b9aa9 100644
--- a/common/src/main/java/org/mvndaemon/mvnd/common/OsUtils.java
+++ b/common/src/main/java/org/mvndaemon/mvnd/common/OsUtils.java
@@ -138,7 +138,7 @@ public class OsUtils {
/**
* A simple wrapper over {@link Process} that manages its destroying and offers Java 8-like
- * {@link #waitFor(long, TimeUnit, String[])} with timeout.
+ * {@link #waitFor(long)} with timeout.
*/
public static class CommandProcess implements AutoCloseable {
public static final int TIMEOUT_EXIT_CODE = Integer.MIN_VALUE + 42;
diff --git a/daemon/pom.xml b/daemon/pom.xml
index 3db9945c..bfc6977e 100644
--- a/daemon/pom.xml
+++ b/daemon/pom.xml
@@ -94,7 +94,6 @@
org.eclipse.sisu
org.eclipse.sisu.inject
- ${sisu.version}
compile
diff --git a/integration-tests/pom.xml b/integration-tests/pom.xml
index 1e723f15..623df468 100644
--- a/integration-tests/pom.xml
+++ b/integration-tests/pom.xml
@@ -40,8 +40,6 @@
org/junit/platform/junit-platform-commons/${junit-platform-launcher.version}
org/junit/jupiter/junit-jupiter/${junit.jupiter.version}
org/junit/jupiter/junit-jupiter-api/${junit.jupiter.version}
-
- 1.19.8
@@ -85,13 +83,11 @@
org.testcontainers
testcontainers
- ${testcontainers.version}
test
org.testcontainers
junit-jupiter
- ${testcontainers.version}
test
diff --git a/logging/pom.xml b/logging/pom.xml
index d2dff80a..82fb62f5 100644
--- a/logging/pom.xml
+++ b/logging/pom.xml
@@ -64,7 +64,6 @@
org.apache.maven.plugins
maven-dependency-plugin
- 3.6.1
extract
@@ -90,7 +89,6 @@
org.codehaus.mojo
build-helper-maven-plugin
- 3.6.0
add-unpacked-source-dir
diff --git a/mvnw b/mvnw
index ac8e247e..19529ddf 100755
--- a/mvnw
+++ b/mvnw
@@ -19,7 +19,7 @@
# ----------------------------------------------------------------------------
# ----------------------------------------------------------------------------
-# Apache Maven Wrapper startup batch script, version 3.3.1
+# Apache Maven Wrapper startup batch script, version 3.3.2
#
# Optional ENV vars
# -----------------
@@ -97,11 +97,19 @@ die() {
exit 1
}
+trim() {
+ # MWRAPPER-139:
+ # Trims trailing and leading whitespace, carriage returns, tabs, and linefeeds.
+ # Needed for removing poorly interpreted newline sequences when running in more
+ # exotic environments such as mingw bash on Windows.
+ printf "%s" "${1}" | tr -d '[:space:]'
+}
+
# parse distributionUrl and optional distributionSha256Sum, requires .mvn/wrapper/maven-wrapper.properties
while IFS="=" read -r key value; do
case "${key-}" in
- distributionUrl) distributionUrl="${value-}" ;;
- distributionSha256Sum) distributionSha256Sum="${value-}" ;;
+ distributionUrl) distributionUrl=$(trim "${value-}") ;;
+ distributionSha256Sum) distributionSha256Sum=$(trim "${value-}") ;;
esac
done <"${0%/*}/.mvn/wrapper/maven-wrapper.properties"
[ -n "${distributionUrl-}" ] || die "cannot read distributionUrl property in ${0%/*}/.mvn/wrapper/maven-wrapper.properties"
@@ -131,7 +139,8 @@ esac
distributionUrlName="${distributionUrl##*/}"
distributionUrlNameMain="${distributionUrlName%.*}"
distributionUrlNameMain="${distributionUrlNameMain%-bin}"
-MAVEN_HOME="$HOME/.m2/wrapper/dists/${distributionUrlNameMain-}/$(hash_string "$distributionUrl")"
+MAVEN_USER_HOME="${MAVEN_USER_HOME:-${HOME}/.m2}"
+MAVEN_HOME="${MAVEN_USER_HOME}/wrapper/dists/${distributionUrlNameMain-}/$(hash_string "$distributionUrl")"
exec_maven() {
unset MVNW_VERBOSE MVNW_USERNAME MVNW_PASSWORD MVNW_REPOURL || :
diff --git a/mvnw.cmd b/mvnw.cmd
index 1ff8c9dd..b150b91e 100644
--- a/mvnw.cmd
+++ b/mvnw.cmd
@@ -19,7 +19,7 @@
@REM ----------------------------------------------------------------------------
@REM ----------------------------------------------------------------------------
-@REM Apache Maven Wrapper startup batch script, version 3.3.1
+@REM Apache Maven Wrapper startup batch script, version 3.3.2
@REM
@REM Optional ENV vars
@REM MVNW_REPOURL - repo url base for downloading maven distribution
@@ -79,6 +79,9 @@ if ($env:MVNW_REPOURL) {
$distributionUrlName = $distributionUrl -replace '^.*/',''
$distributionUrlNameMain = $distributionUrlName -replace '\.[^.]*$','' -replace '-bin$',''
$MAVEN_HOME_PARENT = "$HOME/.m2/wrapper/dists/$distributionUrlNameMain"
+if ($env:MAVEN_USER_HOME) {
+ $MAVEN_HOME_PARENT = "$env:MAVEN_USER_HOME/wrapper/dists/$distributionUrlNameMain"
+}
$MAVEN_HOME_NAME = ([System.Security.Cryptography.MD5]::Create().ComputeHash([byte[]][char[]]$distributionUrl) | ForEach-Object {$_.ToString("x2")}) -join ''
$MAVEN_HOME = "$MAVEN_HOME_PARENT/$MAVEN_HOME_NAME"
diff --git a/native/pom.xml b/native/pom.xml
index 626c6f31..d9371901 100644
--- a/native/pom.xml
+++ b/native/pom.xml
@@ -28,10 +28,6 @@
jar
Maven Daemon - Native Library
-
- 4.7.6
-
-
org.junit.jupiter
@@ -46,7 +42,6 @@
info.picocli
picocli-codegen
- ${picocli.version}
test
diff --git a/pom.xml b/pom.xml
index e743da7d..84fa611c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -75,8 +75,8 @@
1.0.0
- 3.25.3
- 1.26.1
+ 3.26.0
+ 1.26.2
22.3.1
0.10.2
@@ -84,11 +84,11 @@
1.0
2.4.1
3.26.1
- 3.9.7
+ 3.9.8-20240612.175612-19
1.9.20
1.7.36
- 0.9.0.M2
+ 0.9.0.M3
3.2.0
@@ -97,10 +97,14 @@
1.3.2
1.0.25
+ 4.7.6
+ 2.28.0.Final
+ 3.13.1
3.30.2-GA
1.4.20
1.3
- 0.6.5
+ 0.6.6
+ 1.19.8
@@ -162,6 +166,11 @@
maven-embedder
${maven.version}
+
+ org.apache.maven
+ maven-plugin-api
+ ${maven.version}
+
org.apache.maven
apache-maven
@@ -169,6 +178,11 @@
bin
tar.gz
+
+ org.apache.maven.plugin-tools
+ maven-plugin-annotations
+ ${maven.plugin-tools.version}
+
org.apache.maven.resolver
@@ -261,6 +275,11 @@
org.eclipse.sisu.inject
${sisu.version}
+
+ org.eclipse.sisu
+ org.eclipse.sisu.plexus
+ ${sisu.version}
+
org.jline
@@ -278,6 +297,12 @@
${jansi.version}
+
+ info.picocli
+ picocli-codegen
+ ${picocli.version}
+
+
org.slf4j
log4j-over-slf4j
@@ -294,6 +319,12 @@
${slf4j.version}
+
+ org.jboss.forge.roaster
+ roaster-jdt
+ ${roaster.version}
+
+
org.javassist
javassist
@@ -316,12 +347,28 @@
takari-smart-builder
${takari-smart-builder.version}
+
+
+ org.testcontainers
+ testcontainers
+ ${testcontainers.version}
+
+
+ org.testcontainers
+ junit-jupiter
+ ${testcontainers.version}
+
+
+ org.apache.maven.daemon
+ mvnd-build-maven-plugin
+ ${project.version}
+
com.diffplug.spotless
spotless-maven-plugin
@@ -398,6 +445,26 @@
native-maven-plugin
${graalvm.plugin.version}
+
+
+ org.apache.maven.plugins
+ maven-dependency-plugin
+ 3.7.0
+
+
+ org.apache.maven.plugins
+ maven-javadoc-plugin
+ 3.7.0
+
+ 8
+ false
+
+
+
+ org.apache.maven.plugins
+ maven-plugin-plugin
+ ${maven.plugin-tools.version}
+
org.apache.maven.plugins
maven-release-plugin
@@ -415,7 +482,13 @@
org.apache.maven.plugins
maven-wrapper-plugin
- 3.3.1
+ 3.3.2
+
+
+
+ org.codehaus.mojo
+ build-helper-maven-plugin
+ 3.6.0
org.codehaus.mojo