org.utgenome.shell
Class Maven
java.lang.Object
org.utgenome.shell.UTGBShellCommand
org.utgenome.shell.Maven
- All Implemented Interfaces:
- Comparable<UTGBShellCommand>
public class Maven
- extends UTGBShellCommand
Maven utility
- Author:
- leo
Constructor Summary |
Maven()
|
Methods inherited from class org.utgenome.shell.UTGBShellCommand |
compareTo, createContextXML, createFileFromTemplate, createFileFromTemplate, execute, getConfigFile, getObsolteConfigurationFile, getOptionHolder, getPath, getProjectResourcePath, getProjectRoot, isInProjectRoot, loadUTGBConfig, maven |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Maven
public Maven()
isMavenInstalled
public static boolean isMavenInstalled()
runMaven
public static void runMaven(String arg)
throws UTGBShellException
- Throws:
UTGBShellException
runMaven
public static void runMaven(String arg,
File workingDir)
throws UTGBShellException
- Throws:
UTGBShellException
runMaven
public static void runMaven(String[] args)
throws UTGBShellException
- Throws:
UTGBShellException
prepareEnvironmentVariables
public static String[] prepareEnvironmentVariables(File mavenHome)
runMaven
public static int runMaven(String[] args,
File workingDir)
throws UTGBShellException
- Throws:
UTGBShellException
execute
public void execute(String[] args)
throws Exception
- Specified by:
execute
in class UTGBShellCommand
- Throws:
Exception
name
public String name()
- Specified by:
name
in class UTGBShellCommand
getOneLinerDescription
public String getOneLinerDescription()
- Specified by:
getOneLinerDescription
in class UTGBShellCommand

This work is licensed under a Creative Commons Attribution-ShareAlike 2.1 Japan License.