org.exoplatform.maven2.plugin.exopc
Class ExoPcDeploy

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.exoplatform.maven2.plugin.exopc.ExoPcDeploy
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class ExoPcDeploy
extends org.apache.maven.plugin.AbstractMojo


Field Summary
protected  String outputDir
          The directory for the generated EAR.
protected  org.apache.maven.project.MavenProject project
           
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ExoPcDeploy()
           
 
Method Summary
protected  void deployEar(String earDir, HashSet<String> ignoreProjects)
           
protected  void deployTomcat(File deployTomcatDir, HashSet<String> ignoreProjects)
           
protected  void deployTomcat6(File deployTomcatDir, HashSet<String> ignoreProjects)
           
 void execute()
           
protected  HashSet<String> getIgnoreProjects()
           
protected  HashSet<String> getIncludeWars()
           
protected  HashSet<String> getSet(String hs)
           
protected  void makeEar(File earFile, File webappDir, String outDir)
           
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

outputDir

protected String outputDir
The directory for the generated EAR.


project

protected org.apache.maven.project.MavenProject project
Constructor Detail

ExoPcDeploy

public ExoPcDeploy()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

makeEar

protected void makeEar(File earFile,
                       File webappDir,
                       String outDir)
                throws Exception
Throws:
Exception

getSet

protected HashSet<String> getSet(String hs)

getIgnoreProjects

protected HashSet<String> getIgnoreProjects()

getIncludeWars

protected HashSet<String> getIncludeWars()

deployTomcat

protected void deployTomcat(File deployTomcatDir,
                            HashSet<String> ignoreProjects)
                     throws Exception
Throws:
Exception

deployTomcat6

protected void deployTomcat6(File deployTomcatDir,
                             HashSet<String> ignoreProjects)
                      throws Exception
Throws:
Exception

deployEar

protected void deployEar(String earDir,
                         HashSet<String> ignoreProjects)
                  throws Exception
Throws:
Exception


Copyright © 2009 eXo Platform SAS. All Rights Reserved.