org.exoplatform.maven2.plugin.exopc
Class ExoPcDeploy
java.lang.Object
org.apache.maven.plugin.AbstractMojo
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 |
| 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 |
outputDir
protected String outputDir
- The directory for the generated EAR.
project
protected org.apache.maven.project.MavenProject project
ExoPcDeploy
public ExoPcDeploy()
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.