org.utgenome.shell
Class Maven
java.lang.Object
org.utgenome.core.cui.UTGBCommandBase
org.utgenome.shell.UTGBShellCommandBase
org.utgenome.shell.UTGBShellCommand
org.utgenome.shell.Maven
- All Implemented Interfaces:
- Comparable<org.xerial.util.opt.Command>, org.xerial.util.opt.Command
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, getHelpMessageResource, getObsolteConfigurationFile, getOneLineDescription, getOptionHolder, getPath, getProjectResourcePath, getProjectRoot, isInProjectRoot, loadUTGBConfig, maven, maven |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Maven
public Maven()
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 arg,
File workingDir,
Properties sytemProperties)
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,
Properties systemProperties)
throws UTGBShellException
- Throws:
UTGBShellException
tokenizeCommandLineArgument
public static String[] tokenizeCommandLineArgument(String arg)
execute
public void execute(String[] args)
throws Exception
- Specified by:
execute
in interface org.xerial.util.opt.Command
- Specified by:
execute
in class UTGBShellCommand
- Throws:
Exception
name
public String name()
- Specified by:
name
in interface org.xerial.util.opt.Command
- Specified by:
name
in class UTGBShellCommand
getOneLinerDescription
public String getOneLinerDescription()
- Specified by:
getOneLinerDescription
in class UTGBShellCommand
Copyright © 2007-2012 utgenome.org. All Rights Reserved.