public abstract class AbstractTomEEMojo extends AbstractAddressMojo
Modifier and Type | Class and Description |
---|---|
static interface |
AbstractTomEEMojo.Resolver |
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
apacheRepos |
protected java.lang.String |
appDir
relative to tomee.base.
|
protected java.util.List<java.lang.String> |
apps |
protected java.lang.String |
args |
protected java.lang.String |
artifactId |
protected java.io.File |
bin |
protected java.io.File |
catalinaBase |
protected boolean |
checkStarted |
protected java.io.File |
classes |
protected java.util.List<java.lang.String> |
classpaths |
protected java.lang.String |
classpathSeparator |
protected java.io.File |
config |
protected java.lang.String |
container |
protected java.lang.String |
context
rename the current artifact
|
protected java.util.List<java.lang.String> |
customizers |
protected boolean |
debug |
protected int |
debugPort |
protected java.io.File |
deployedFile |
protected boolean |
deployOpenEjbApplication |
protected java.util.List<java.io.File> |
docBases
for TomEE and wars only, which docBase to use for this war.
|
protected boolean |
ejbRemote |
protected java.util.List<java.lang.String> |
endorsedLibs |
static java.lang.String |
EXIT_CMD |
protected java.util.List<java.io.File> |
externalRepositories
for TomEE and wars only, add some external repositories to classloader.
|
protected boolean |
extractWars |
protected ArtifactFactory |
factory |
protected java.lang.String |
finalName |
protected boolean |
forceJspDevelopment
force webapp to be reloadable
|
protected boolean |
forceReloadable
force webapp to be reloadable
|
protected java.util.List<java.lang.String> |
groovyCustomizers |
protected PlexusConfiguration |
inlinedServerXml
server.xml configured inlined (is Server tag is the first child of inlinedServerXml)
|
protected PlexusConfiguration |
inlinedTomEEXml
tomee.xml configured inlined (is tomee tag is the first child of inlinedTomEEXml)
|
protected java.util.List<java.lang.String> |
javaagents |
protected java.util.List<java.lang.String> |
jsCustomizers |
protected java.lang.String |
keystore
the actual path used in server.xml for the https keystore if relevant.
|
protected java.io.File |
lib |
protected java.lang.String |
libDir
relative to tomee.base.
|
protected java.util.List<java.lang.String> |
libs
supported formats:
--> groupId:artifactId:version...
|
protected ArtifactRepository |
local |
protected java.io.File |
mainDir |
protected boolean |
overrideOnUnzip
if a file is already there when unpacking tomee zip should it be overriden?
|
protected java.lang.String |
packaging |
protected boolean |
persistJavaagents |
protected MavenProject |
project |
protected boolean |
quickSession
use a real random instead of secure random.
|
static java.lang.String |
QUIT_CMD |
protected java.util.List<ArtifactRepository> |
remoteRepos |
protected boolean |
removeDefaultWebapps |
protected boolean |
removeTomeeWebapp |
protected ArtifactResolver |
resolver |
protected RemoteServer |
server |
protected Settings |
settings
The current user system settings for use in Maven.
|
protected boolean |
simpleLog |
protected boolean |
skipCurrentProject |
protected boolean |
skipRootFolderOnUnzip
if a file is already there when unpacking tomee zip should it be overriden?
|
protected boolean |
stripVersion |
protected boolean |
stripWarVersion |
protected java.util.Map<java.lang.String,java.lang.String> |
systemVariables |
protected java.io.File |
target |
static java.lang.String |
TOM_EE |
protected java.lang.String |
tomeeAjpPort |
protected boolean |
tomeeAlreadyInstalled |
protected java.lang.String |
tomeeArtifactId |
protected java.lang.String |
tomeeClassifier
tomee classifier to use (webprofile or plus)
|
protected java.lang.String |
tomeeGroupId |
protected int |
tomeeShutdownAttempts |
protected java.lang.String |
tomeeShutdownCommand |
protected java.lang.String |
tomeeShutdownPort |
protected java.lang.String |
tomeeType
while tar.gz is not managed it is readonly
|
protected java.lang.String |
tomeeVersion |
protected boolean |
useConsole |
protected boolean |
useOpenEJB
use openejb-standalone automatically instead of TomEE
|
protected java.io.File |
warFile |
protected java.io.File |
webappClasses |
protected boolean |
webappDefaultConfig
forcing nice default for war development (WEB-INF/classes and web resources)
|
protected java.lang.String |
webappDir
relative to tomee.base.
|
protected java.io.File |
webappResources |
protected java.util.List<java.lang.String> |
webapps |
protected java.io.File |
workWarFile |
password, realm, tomeeHost, tomeeHttpPort, tomeeHttpsPort, user
Constructor and Description |
---|
AbstractTomEEMojo() |
Modifier and Type | Method and Description |
---|---|
protected void |
addShutdownHooks(RemoteServer server) |
protected java.util.Collection<java.lang.String> |
availableCommands() |
protected java.lang.String |
destinationName() |
void |
execute() |
protected void |
fixConfig() |
protected java.util.List<java.lang.String> |
generateJVMArgs() |
protected java.lang.String |
getAdditionalClasspath() |
abstract java.lang.String |
getCmd() |
protected int |
getConnectAttempts() |
protected boolean |
getWaitTomEE() |
protected boolean |
handleLine(java.lang.String line) |
protected void |
run() |
protected void |
serverCmd(RemoteServer server,
java.util.List<java.lang.String> strings) |
protected void |
stopServer(java.util.concurrent.CountDownLatch stopCondition) |
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 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
MojoExecutionException
MojoFailureException
protected 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)
protected boolean handleLine(java.lang.String line)
protected void serverCmd(RemoteServer server, java.util.List<java.lang.String> strings)
protected void addShutdownHooks(RemoteServer server)
protected int getConnectAttempts()
protected boolean getWaitTomEE()
public abstract java.lang.String getCmd()