public final class MavenUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
COORDINATE_SEPARATOR
The separator conventionally used between Maven coordinates (groupId,
artifactId, etc.) when specifying an artifact via a single string.
|
static Pattern |
MAVEN_ID_REGEX
The pattern that a String must match in order to be considered a valid
Maven ID (e.g. groupId or artifactId).
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isValidMavenId(String id)
Indicates whether the given String is a valid Maven ID, i.e. matches
MAVEN_ID_REGEX |
public static final String COORDINATE_SEPARATOR
public static final Pattern MAVEN_ID_REGEX
public static boolean isValidMavenId(String id)
MAVEN_ID_REGEXid - the String to check (can be null)Copyright © 2009–2017 Pivotal Software, Inc.. All rights reserved.