org.universAAL.itests
Class MavenUtils
java.lang.Object
org.universAAL.itests.MavenUtils
public class MavenUtils
- extends Object
Utility methods related to Apache Maven.
- Since:
- 0.3.1, March 09, 2009
- Author:
- Alin Dreghiciu (adreghiciu@gmail.com)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getArtifactVersion
public static String getArtifactVersion(String groupId,
String artifactId)
- Gets the artifact version out of dependencies file. The dependencies file
had to be generated by using the maven plugin.
- Parameters:
groupId
- artifact group idartifactId
- artifact id
- Returns:
- found version
- Throws:
RuntimeException
- - If artifact version cannot be found
Copyright © 2014 universAAL Consortium. All Rights Reserved.