org.utgenome.shell
Class Maven
java.lang.Object
org.utgenome.shell.UTGBShellCommand
org.utgenome.shell.Maven
- All Implemented Interfaces:
- java.lang.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, 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(java.lang.String arg)
throws UTGBShellException
- Throws:
UTGBShellException
runMaven
public static void runMaven(java.lang.String arg,
java.io.File workingDir)
throws UTGBShellException
- Throws:
UTGBShellException
runMaven
public static void runMaven(java.lang.String[] args)
throws UTGBShellException
- Throws:
UTGBShellException
prepareEnvironmentVariables
public static java.lang.String[] prepareEnvironmentVariables(java.io.File mavenHome)
runMaven
public static int runMaven(java.lang.String[] args,
java.io.File workingDir)
throws UTGBShellException
- Throws:
UTGBShellException
explodeWar
public static void explodeWar()
throws UTGBShellException
- Throws:
UTGBShellException
execute
public void execute(java.lang.String[] args)
throws java.lang.Exception
- Specified by:
execute
in class UTGBShellCommand
- Throws:
java.lang.Exception
name
public java.lang.String name()
- Specified by:
name
in class UTGBShellCommand
getOneLinerDescription
public java.lang.String getOneLinerDescription()
- Specified by:
getOneLinerDescription
in class UTGBShellCommand

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