Improve the doc text of mvnd.pluginRealmEvictPattern option, fixes #533 (#534)

This commit is contained in:
Guillaume Nodet
2022-01-03 08:31:32 +01:00
committed by GitHub
parent 9f651b1196
commit 09cb99fd48
3 changed files with 13 additions and 3 deletions

View File

@@ -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:
* <ul>
* <li>a glob pattern starting with <code>'glob:'</code> (the default syntax if no scheme is specified),</li>
* <li>a regex pattern starting with <code>'regex:'</code>,</li>
* <li>a maven expression, either <code>'mvn:[groupId]:[artifactId]:[version]'</code>,
* <code>'mvn:[groupId]:[artifactId]'</code> or <code>'mvn:[artifactId]</code>'.</li>
* </ul>
* This pattern will be evaluated against the full path of the dependencies, so it is usually desirable to
* start with <code>'glob:**&#47;'</code> to support any location of the local repository.
*/
MVND_PLUGIN_REALM_EVICT_PATTERN("mvnd.pluginRealmEvictPattern", null, "", OptionType.STRING, Flags.OPTIONAL),
/**