|
||||||||||
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 java.lang.String |
getArtifactVersion(java.lang.String groupId,
java.lang.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 java.lang.String getArtifactVersion(java.lang.String groupId, java.lang.String artifactId)
groupId
- artifact group idartifactId
- artifact id
java.lang.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 |