|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ops4j.pax.exam.MavenUtils
public class MavenUtils
Utility methods related to Apache Maven.
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String getArtifactVersion(String groupId,
String artifactId)
groupId - artifact group idartifactId - artifact id
RuntimeException - - If artifact version cannot be foundpublic static MavenUrlReference.VersionResolver asInProject()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||