public interface RuntimeInformation
| Modifier and Type | Method and Description | 
|---|---|
| String | getMavenVersion()Retrieves the current Maven version, for example "3.0.2". | 
| boolean | isMavenVersion(String versionRange)Checks whether the current Maven runtime matches the specified version range. | 
String getMavenVersion()
null.boolean isMavenVersion(String versionRange)
versionRange - The version range to match the current Maven runtime against, must not be null.true if the current Maven runtime matches the specified version range, false otherwise.IllegalArgumentException - If the specified version range is null, empty or otherwise not a valid
             version specification.Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.