public abstract class AbstractTomEEMojo extends AbstractAddressMojo
| Modifier and Type | Class and Description | 
|---|---|
| static interface  | AbstractTomEEMojo.ResolverThe interface Resolver. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected java.lang.String | apacheReposThe Apache repos. | 
| protected java.lang.String | appDirrelative to tomee.base. | 
| protected java.util.List<java.lang.String> | appsThe Apps. | 
| protected java.lang.String | argsThe Args. | 
| protected java.lang.String | artifactIdThe Artifact id. | 
| protected java.io.File | binThe Bin. | 
| protected java.io.File | catalinaBaseThe Catalina base. | 
| protected boolean | checkStartedThe Check started. | 
| protected int | checkStartedAttemptsThe amount of attempts to check if the container is started. | 
| protected java.io.File | classesThe Classes. | 
| protected java.util.List<java.lang.String> | classpathsThe Classpaths. | 
| protected java.lang.String | classpathSeparatorThe Classpath separator. | 
| protected java.io.File | configThe Config. | 
| protected java.lang.String | containerThe Container. | 
| protected java.lang.String | contextrename the current artifact | 
| protected java.util.List<java.lang.String> | customizersThe Customizers. | 
| protected boolean | debugThe Debug. | 
| protected int | debugPortThe Debug port. | 
| protected java.io.File | deployedFileThe Deployed file. | 
| protected boolean | deployOpenEjbApplicationThe Deploy open ejb application. | 
| protected java.util.List<java.io.File> | docBasesfor TomEE and wars only, which docBase to use for this war. | 
| protected boolean | ejbRemoteThe Ejb remote. | 
| protected java.util.List<java.lang.String> | endorsedLibsThe Endorsed libs. | 
| static java.lang.String | EXIT_CMDThe constant EXIT_CMD. | 
| protected java.util.List<java.io.File> | externalRepositoriesfor TomEE and wars only, add some external repositories to classloader. | 
| protected boolean | extractWarsThe Extract wars. | 
| protected ArtifactFactory | factoryThe Factory. | 
| protected java.lang.String | finalNameThe Final name. | 
| protected boolean | forceJspDevelopmentforce webapp to be reloadable | 
| protected boolean | forceReloadableforce webapp to be reloadable | 
| protected java.util.List<java.lang.String> | groovyCustomizersThe Groovy customizers. | 
| protected PlexusConfiguration | inlinedServerXmlserver.xml configured inlined (is Server tag is the first child of inlinedServerXml) | 
| protected PlexusConfiguration | inlinedTomEEXmltomee.xml configured inlined (is tomee tag is the first child of inlinedTomEEXml) | 
| protected java.util.List<java.lang.String> | javaagentsThe Javaagents. | 
| protected java.util.List<java.lang.String> | jsCustomizersThe Js customizers. | 
| protected java.lang.String | keystorethe actual path used in server.xml for the https keystore if relevant. | 
| protected java.io.File | libThe Lib. | 
| protected java.lang.String | libDirrelative to tomee.base. | 
| protected java.util.List<java.lang.String> | libssupported formats:
 --> groupId:artifactId:version... | 
| protected ArtifactRepository | localThe Local. | 
| protected java.io.File | mainDirThe Main dir. | 
| protected boolean | overrideOnUnzipif a file is already there when unpacking tomee zip should it be overriden? | 
| protected java.lang.String | packagingThe Packaging. | 
| protected boolean | persistJavaagentsThe Persist javaagents. | 
| protected MavenProject | projectThe Project. | 
| protected boolean | quickSessionuse a real random instead of secure random. | 
| static java.lang.String | QUIT_CMDThe constant QUIT_CMD. | 
| protected java.util.List<ArtifactRepository> | remoteReposThe Remote repos. | 
| protected boolean | removeDefaultWebappsThe Remove default webapps. | 
| protected boolean | removeTomeeWebappThe Remove tomee webapp. | 
| protected ArtifactResolver | resolverThe Resolver. | 
| protected RemoteServer | serverThe Server. | 
| protected Settings | settingsThe current user system settings for use in Maven. | 
| protected boolean | simpleLogThe Simple log. | 
| protected boolean | skipCurrentProjectThe Skip current project. | 
| protected boolean | skipRootFolderOnUnzipif a file is already there when unpacking tomee zip should it be overriden? | 
| protected boolean | stripVersionThe Strip version. | 
| protected boolean | stripWarVersionThe Strip war version. | 
| protected java.util.Map<java.lang.String,java.lang.String> | systemVariablesThe System variables. | 
| protected java.io.File | targetThe Target. | 
| static java.lang.String | TOM_EEThe constant TOM_EE. | 
| protected java.lang.String | tomeeAjpPortThe TomEE ajp port. | 
| protected boolean | tomeeAlreadyInstalledThe TomEE already installed. | 
| protected java.lang.String | tomeeArtifactIdThe TomEE artifact id. | 
| protected java.lang.String | tomeeClassifiertomee classifier to use (webprofile or plus) | 
| protected java.lang.String | tomeeGroupIdThe TomEE group id. | 
| protected int | tomeeShutdownAttemptsThe TomEE shutdown attempts. | 
| protected java.lang.String | tomeeShutdownCommandThe TomEE shutdown command. | 
| protected java.lang.String | tomeeShutdownPortThe TomEE shutdown port. | 
| protected java.lang.String | tomeeTypewhile tar.gz is not managed it is readonly | 
| protected java.lang.String | tomeeVersionThe TomEE version. | 
| protected boolean | useConsoleThe Use console. | 
| protected boolean | useOpenEJBuse openejb-standalone automatically instead of TomEE | 
| protected java.io.File | warFileThe War file. | 
| protected java.io.File | webappClassesThe Webapp classes. | 
| protected boolean | webappDefaultConfigforcing nice default for war development (WEB-INF/classes and web resources) | 
| protected java.lang.String | webappDirrelative to tomee.base. | 
| protected java.io.File | webappResourcesThe Webapp resources. | 
| protected java.util.List<java.lang.String> | webappsThe Webapps. | 
| protected java.io.File | workWarFileThe Work war file. | 
password, realm, tomeeHost, tomeeHttpPort, tomeeHttpsPort, user| Constructor and Description | 
|---|
| AbstractTomEEMojo() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | addShutdownHooks(RemoteServer server)Add shutdown hooks. | 
| protected java.util.Collection<java.lang.String> | availableCommands()Available commands collection. | 
| protected java.lang.String | destinationName()Destination name string. | 
| void | execute() | 
| protected void | fixConfig()Fix config. | 
| protected java.util.List<java.lang.String> | generateJVMArgs()Generate jvm args list. | 
| protected java.lang.String | getAdditionalClasspath()Gets additional classpath. | 
| abstract java.lang.String | getCmd()Gets cmd. | 
| protected int | getConnectAttempts()Gets connect attempts. | 
| protected boolean | getWaitTomEE()Gets wait TomEE. | 
| protected boolean | handleLine(java.lang.String line)Handle line boolean. | 
| protected void | run()Run. | 
| protected void | serverCmd(RemoteServer server,
         java.util.List<java.lang.String> strings)Server cmd. | 
| protected void | stopServer(java.util.concurrent.CountDownLatch stopCondition)Stop server. | 
public static final java.lang.String QUIT_CMD
public static final java.lang.String EXIT_CMD
public static final java.lang.String TOM_EE
protected ArtifactFactory factory
protected ArtifactResolver resolver
protected ArtifactRepository local
protected java.util.List<ArtifactRepository> remoteRepos
protected boolean skipCurrentProject
protected java.lang.String tomeeVersion
protected java.lang.String tomeeGroupId
protected java.lang.String tomeeArtifactId
protected java.lang.String tomeeType
protected java.lang.String apacheRepos
protected java.lang.String tomeeClassifier
protected java.lang.String tomeeShutdownPort
protected int tomeeShutdownAttempts
protected java.lang.String tomeeShutdownCommand
protected java.lang.String tomeeAjpPort
protected java.lang.String args
protected boolean debug
protected boolean simpleLog
protected boolean extractWars
protected boolean stripWarVersion
protected boolean stripVersion
protected int debugPort
protected java.io.File webappResources
protected java.io.File webappClasses
protected java.io.File catalinaBase
protected java.lang.String context
protected java.lang.String webappDir
protected java.lang.String appDir
protected java.lang.String libDir
protected java.io.File mainDir
protected java.io.File target
protected java.io.File config
protected java.io.File bin
protected java.io.File lib
protected java.util.Map<java.lang.String,java.lang.String> systemVariables
protected java.util.List<java.lang.String> classpaths
protected java.lang.String classpathSeparator
protected java.util.List<java.lang.String> customizers
protected java.util.List<java.lang.String> jsCustomizers
protected java.util.List<java.lang.String> groovyCustomizers
protected MavenProject project
protected boolean webappDefaultConfig
protected boolean quickSession
protected boolean forceReloadable
protected boolean forceJspDevelopment
protected java.util.List<java.lang.String> libs
protected java.util.List<java.lang.String> endorsedLibs
protected java.util.List<java.lang.String> javaagents
protected boolean persistJavaagents
protected java.util.List<java.lang.String> webapps
protected java.util.List<java.lang.String> apps
protected java.io.File classes
protected java.io.File warFile
protected java.io.File workWarFile
protected java.lang.String finalName
protected java.lang.String artifactId
protected boolean removeDefaultWebapps
protected boolean deployOpenEjbApplication
protected boolean removeTomeeWebapp
protected boolean ejbRemote
protected java.lang.String packaging
protected boolean checkStarted
protected int checkStartedAttempts
protected boolean useConsole
protected boolean tomeeAlreadyInstalled
protected Settings settings
protected boolean useOpenEJB
protected java.util.List<java.io.File> docBases
protected java.util.List<java.io.File> externalRepositories
protected PlexusConfiguration inlinedServerXml
protected PlexusConfiguration inlinedTomEEXml
protected boolean overrideOnUnzip
protected boolean skipRootFolderOnUnzip
protected java.lang.String keystore
protected java.io.File deployedFile
protected RemoteServer server
protected java.lang.String container
public void execute()
             throws MojoExecutionException,
                    MojoFailureException
MojoExecutionExceptionMojoFailureExceptionprotected void fixConfig()
protected java.lang.String getAdditionalClasspath()
protected java.lang.String destinationName()
protected void run()
protected java.util.List<java.lang.String> generateJVMArgs()
protected java.util.Collection<java.lang.String> availableCommands()
protected void stopServer(java.util.concurrent.CountDownLatch stopCondition)
stopCondition - the stop conditionprotected boolean handleLine(java.lang.String line)
line - the lineprotected void serverCmd(RemoteServer server, java.util.List<java.lang.String> strings)
server - the serverstrings - the stringsprotected void addShutdownHooks(RemoteServer server)
server - the serverprotected int getConnectAttempts()
protected boolean getWaitTomEE()
public abstract java.lang.String getCmd()