public enum MavenVersion extends Enum<MavenVersion>
| Enum Constant and Description |
|---|
MAVEN305 |
MAVEN325 |
MAVEN339 |
MAVEN354 |
MAVEN363 |
| Modifier and Type | Field and Description |
|---|---|
static String |
MAVEN_CMD_POSIX |
static String |
MAVEN_CMD_WIN |
| Modifier and Type | Method and Description |
|---|---|
String |
getMavenRunnerCmd() |
static MavenVersion |
getMavenVersion(String versionNumber) |
String |
getVersionString() |
static MavenVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MavenVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MavenVersion MAVEN305
public static final MavenVersion MAVEN325
public static final MavenVersion MAVEN339
public static final MavenVersion MAVEN354
public static final MavenVersion MAVEN363
public static final String MAVEN_CMD_POSIX
public static final String MAVEN_CMD_WIN
public static MavenVersion[] values()
for (MavenVersion c : MavenVersion.values()) System.out.println(c);
public static MavenVersion valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getMavenRunnerCmd()
public String getVersionString()
public static MavenVersion getMavenVersion(String versionNumber) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionCopyright © 2021 Atlassian. All rights reserved.