diff --git a/build-plugin/pom.xml b/build-plugin/pom.xml
index 0ef65b3c..2c661cb3 100644
--- a/build-plugin/pom.xml
+++ b/build-plugin/pom.xml
@@ -34,7 +34,7 @@
1.8
1.8
- 2.22.2.Final
+ 2.23.2.Final
3.6.0
${maven.plugin-tools.version}
diff --git a/build-plugin/src/main/java/org/mvndaemon/mvnd/plugin/doc/DocMojo.java b/build-plugin/src/main/java/org/mvndaemon/mvnd/plugin/doc/DocMojo.java
index 8c12dd43..46285f3d 100644
--- a/build-plugin/src/main/java/org/mvndaemon/mvnd/plugin/doc/DocMojo.java
+++ b/build-plugin/src/main/java/org/mvndaemon/mvnd/plugin/doc/DocMojo.java
@@ -99,7 +99,8 @@ public class DocMojo extends AbstractMojo {
final Properties optionsProperties = new SortedProperties();
for (EnumConstantSource enumConst : source.getEnumConstants()) {
final JavaDocSource javaDoc = enumConst.getJavaDoc();
- final String javadocText = javaDoc.getText();
+ final String javadocText = javaDoc.getText()
+ .replaceAll("/", "/");
optionsProperties.setProperty(enumConst.getName(), javadocText);
}
optionsProperties.store(Files.newOutputStream(propsPath), null);
diff --git a/common/src/main/java/org/mvndaemon/mvnd/common/Environment.java b/common/src/main/java/org/mvndaemon/mvnd/common/Environment.java
index 1fa9b647..20547e63 100644
--- a/common/src/main/java/org/mvndaemon/mvnd/common/Environment.java
+++ b/common/src/main/java/org/mvndaemon/mvnd/common/Environment.java
@@ -251,7 +251,16 @@ public enum Environment {
*/
MVND_SOCKET_FAMILY("mvnd.socketFamily", null, "inet", OptionType.STRING, Flags.DISCRIMINATING),
/**
- * Regexp pattern that will force eviction of the plugin realms if one of its dependencies matches.
+ * Pattern that will force eviction of the plugin realms if one of its dependencies matches.
+ * The overall pattern is a comma separated list of either:
+ *
+ * - a glob pattern starting with
'glob:'
(the default syntax if no scheme is specified),
+ * - a regex pattern starting with
'regex:'
,
+ * - a maven expression, either
'mvn:[groupId]:[artifactId]:[version]'
,
+ * 'mvn:[groupId]:[artifactId]'
or 'mvn:[artifactId]
'.
+ *
+ * This pattern will be evaluated against the full path of the dependencies, so it is usually desirable to
+ * start with 'glob:**/'
to support any location of the local repository.
*/
MVND_PLUGIN_REALM_EVICT_PATTERN("mvnd.pluginRealmEvictPattern", null, "", OptionType.STRING, Flags.OPTIONAL),
/**