org.universAAL.itests
Class MavenUtils

Package class diagram package MavenUtils
java.lang.Object
  extended by 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)

Method Summary
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

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 id
artifactId - artifact id
Returns:
found version
Throws:
RuntimeException - - If artifact version cannot be found


Copyright © 2014 universAAL Consortium. All Rights Reserved.