org.utgenome.shell
Class Maven

java.lang.Object
  extended by org.utgenome.core.cui.UTGBCommandBase
      extended by org.utgenome.shell.UTGBShellCommandBase
          extended by org.utgenome.shell.UTGBShellCommand
              extended by 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

Nested Class Summary
static class Maven.CommandExecutor
           
 
Field Summary
 
Fields inherited from class org.utgenome.shell.UTGBShellCommand
APP_FOLDER, EXPLODED_WEBAPP_DIR, SRC_FOLDER, WEBAPP_FOLDER
 
Fields inherited from class org.utgenome.shell.UTGBShellCommandBase
globalOption
 
Constructor Summary
Maven()
           
 
Method Summary
 void execute(String[] args)
           
 String getOneLinerDescription()
           
 String name()
           
static String[] prepareEnvironmentVariables(File mavenHome)
           
static void runMaven(String arg)
           
static void runMaven(String[] args)
           
static int runMaven(String[] args, File workingDir, Properties systemProperties)
           
static void runMaven(String arg, File workingDir)
           
static void runMaven(String arg, File workingDir, Properties sytemProperties)
           
static String[] tokenizeCommandLineArgument(String arg)
           
 
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 org.utgenome.shell.UTGBShellCommandBase
execute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Maven

public Maven()
Method Detail

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.