This is an automated email from the ASF dual-hosted git repository.

cstamas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-invoker-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new ea8a90a  docs: Clarify that toolchains can be selected by a version 
range. (#710)
ea8a90a is described below

commit ea8a90ae6b572da72508d1e8932b5b79af85fc10
Author: Niels Basjes <[email protected]>
AuthorDate: Mon Mar 9 17:48:13 2026 +0100

    docs: Clarify that toolchains can be selected by a version range. (#710)
---
 .../java/org/apache/maven/plugins/invoker/AbstractInvokerMojo.java     | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/src/main/java/org/apache/maven/plugins/invoker/AbstractInvokerMojo.java 
b/src/main/java/org/apache/maven/plugins/invoker/AbstractInvokerMojo.java
index 600aa13..d2648f4 100644
--- a/src/main/java/org/apache/maven/plugins/invoker/AbstractInvokerMojo.java
+++ b/src/main/java/org/apache/maven/plugins/invoker/AbstractInvokerMojo.java
@@ -559,7 +559,10 @@ public abstract class AbstractInvokerMojo extends 
AbstractMojo {
      * # A mapping for toolchain to ensure it exists
      * # Since plugin version 3.2.0
      * invoker.toolchain.&lt;type&gt;.&lt;provides&gt; = value
+     * # Exact match
      * invoker.toolchain.jdk.version = 11
+     * # Range match
+     * invoker.toolchain.jdk.version = [11,12)
      *
      * # For java.version, maven.version, os.family and toolchain it is 
possible to define multiple selectors.
      * # If one of the indexed selectors matches, the test is executed.

Reply via email to