org.apache.openejb.maven.plugin
Class BuildTomEEMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.openejb.maven.plugin.AbstractAddressMojo
          extended by org.apache.openejb.maven.plugin.AbstractTomEEMojo
              extended by org.apache.openejb.maven.plugin.BuildTomEEMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="build",
      requiresDependencyResolution=RUNTIME_PLUS_SYSTEM)
public class BuildTomEEMojo
extends AbstractTomEEMojo

Create but not run a TomEE.


Field Summary
protected  boolean attach
           
protected  String classifier
           
protected  boolean zip
           
 
Fields inherited from class org.apache.openejb.maven.plugin.AbstractTomEEMojo
apacheRepos, appDir, apps, args, bin, catalinaBase, config, debug, debugPort, deployedFile, deployOpenEjbApplication, factory, forceReloadable, keepServerXmlAsthis, lib, libDir, libs, local, packaging, remoteRepos, removeDefaultWebapps, removeTomeeWebapp, resolver, settings, simpleLog, skipCurrentProject, systemVariables, tomeeAjpPort, tomeeArtifactId, tomeeClassifier, tomeeGroupId, tomeeHttpsPort, tomeeShutdownPort, tomeeType, tomeeVersion, warFile, webappDir, webapps
 
Fields inherited from class org.apache.openejb.maven.plugin.AbstractAddressMojo
password, realm, tomeeHost, tomeeHttpPort, user
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
BuildTomEEMojo()
           
 
Method Summary
 void execute()
           
 String getCmd()
           
protected  boolean getWaitTomEE()
           
protected  void run()
           
 
Methods inherited from class org.apache.openejb.maven.plugin.AbstractTomEEMojo
addShutdownHooks, cp, getConnectAttempts, serverCmd
 
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

zip

@Parameter(property="tomee-plugin.zip",
           defaultValue="true")
protected boolean zip

attach

@Parameter(property="tomee-plugin.attach",
           defaultValue="true")
protected boolean attach

classifier

@Parameter(property="tomee-plugin.classifier")
protected String classifier
Constructor Detail

BuildTomEEMojo

public BuildTomEEMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Specified by:
execute in interface org.apache.maven.plugin.Mojo
Overrides:
execute in class AbstractTomEEMojo
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

run

protected void run()
Overrides:
run in class AbstractTomEEMojo

getCmd

public String getCmd()
Specified by:
getCmd in class AbstractTomEEMojo

getWaitTomEE

protected boolean getWaitTomEE()
Overrides:
getWaitTomEE in class AbstractTomEEMojo


Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.