org.gcube.vremanagement.softwaregateway.impl.repositorymanager.util
Class MavenExecutor

java.lang.Object
  extended by org.gcube.vremanagement.softwaregateway.impl.repositorymanager.util.MavenExecutor

public class MavenExecutor
extends Object

Author:
Luca Frosini (ISTI-CNR), Marko Mikulicic (ISTI-CNR), Roberto Cirillo (ISTI-CNR)

Constructor Summary
MavenExecutor(File projectDirectory, String repository, File userSettings)
          Prepare the enviroment for MavenEmbedder execution
 
Method Summary
 void exec(String goal, String[][] properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MavenExecutor

public MavenExecutor(File projectDirectory,
                     String repository,
                     File userSettings)
              throws Exception
Prepare the enviroment for MavenEmbedder execution

Parameters:
projectDirectory - project directory where is pom.xml file
Throws:
Exception - if fails
Method Detail

exec

public void exec(String goal,
                 String[][] properties)
          throws Exception
Parameters:
goal - goal
properties - properties couple
Throws:
Exception - if fails


Copyright © 2012. All Rights Reserved.