public class MavenUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static MavenUrlReference.VersionResolver |
asInProject()
Utility method for creating an artifact version resolver that will get the version out of
maven project.
|
static String |
getArtifactVersion(String groupId,
String artifactId)
Gets the artifact version out of dependencies file.
|
public static String getArtifactVersion(String groupId, String artifactId)
groupId - artifact group idartifactId - artifact idRuntimeException - - If artifact version cannot be foundpublic static MavenUrlReference.VersionResolver asInProject()
Copyright © 2006–2020 OPS4J - Open Participation Software for Java. All rights reserved.