public abstract class AbstractT7BaseMojo
extends org.apache.maven.plugin.AbstractMojo
Modifier and Type | Field and Description |
---|---|
protected boolean |
addGithubRepository |
protected org.codehaus.plexus.archiver.manager.ArchiverManager |
archiverManager
To look up Archiver/UnArchiver implementations.
|
protected org.apache.maven.artifact.resolver.ArtifactCollector |
artifactCollector
Artifact collector, needed to resolve dependencies.
|
protected String |
buildFinalName |
protected File |
catalinaBase |
protected ConfigurationArtifact |
configArtifact |
static String |
CONTEXT_PATH_ROOT |
protected File |
contextFile |
protected String |
contextPath |
static int |
DEFAULT_TOMCAT_HTTP_PORT |
static int |
DEFAULT_TOMCAT_SHUTDOWN_PORT |
static String |
DEFAULT_TOMCAT_VERSION |
protected org.apache.maven.artifact.factory.ArtifactFactory |
factory
Used to look up Artifacts in the remote repository.
|
protected int |
instanceCount |
protected ArrayList<JarArtifact> |
libs |
protected org.apache.maven.artifact.repository.ArtifactRepository |
local
Location of the local repository.
|
protected boolean |
lookInside |
protected org.apache.maven.project.MavenProject |
mavenProject |
protected File |
overwriteWebXML |
protected String |
packaging |
protected List<org.apache.maven.artifact.repository.ArtifactRepository> |
remoteRepos
List of Remote Repositories used by the resolver.
|
protected org.apache.maven.artifact.resolver.ArtifactResolver |
resolver
Used to look up Artifacts in the remote repository.
|
protected boolean |
resolverUpdateSnapshotsAllways |
protected boolean |
scanClasses |
protected ArrayList<ScannerConfiguration> |
scanners |
protected boolean |
suspendConsoleOutput |
protected Map<String,String> |
systemProperties |
static String |
T7_BOOTSTRAP_CONTEXT_ID |
protected File |
tomcatConfigDirectory |
protected String |
tomcatHostName |
protected int |
tomcatHttpPort |
protected boolean |
tomcatSetAwait |
protected String |
tomcatShutdownCommand |
protected String |
tomcatShutdownHost |
protected int |
tomcatShutdownPort |
protected String |
tomcatVersion |
protected File |
webappClassDirectory |
protected File |
webappOutputDirectory |
protected ArrayList<WebappArtifact> |
webapps |
protected File |
webappSourceDirectory |
Constructor and Description |
---|
AbstractT7BaseMojo() |
Modifier and Type | Method and Description |
---|---|
org.codehaus.plexus.archiver.manager.ArchiverManager |
getArchiverManager() |
org.apache.maven.artifact.resolver.ArtifactCollector |
getArtifactCollector() |
String |
getBuildFinalName() |
File |
getCatalinaBase() |
ConfigurationArtifact |
getConfigArtifact() |
File |
getContextFile() |
String |
getContextPath() |
org.apache.maven.artifact.factory.ArtifactFactory |
getFactory() |
int |
getInstanceCount() |
List<JarArtifact> |
getLibs() |
org.apache.maven.artifact.repository.ArtifactRepository |
getLocal() |
org.apache.maven.project.MavenProject |
getMavenProject() |
File |
getOverwriteWebXML() |
String |
getPackaging() |
List<org.apache.maven.artifact.repository.ArtifactRepository> |
getRemoteRepos() |
org.apache.maven.artifact.resolver.ArtifactResolver |
getResolver() |
ArrayList<ScannerConfiguration> |
getScanners() |
Map<String,String> |
getSystemProperties() |
File |
getTomcatConfigDirectory() |
String |
getTomcatHostName() |
int |
getTomcatHttpPort() |
String |
getTomcatShutdownCommand() |
String |
getTomcatShutdownHost() |
int |
getTomcatShutdownPort() |
String |
getTomcatVersion() |
File |
getUserConfigDir() |
File |
getWebappClassDirectory() |
File |
getWebappOutputDirectory() |
List<WebappArtifact> |
getWebapps() |
File |
getWebappSourceDirectory() |
boolean |
isAddGithubRepository() |
boolean |
isLookInside() |
boolean |
isResolverUpdateSnapshotsAllways() |
boolean |
isScanClasses() |
boolean |
isSuspendConsoleOutput() |
boolean |
isTomcatSetAwait() |
boolean |
isWebProject() |
void |
setAddGithubRepository(boolean addGithubRepository) |
void |
setArchiverManager(org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager) |
void |
setArtifactCollector(org.apache.maven.artifact.resolver.ArtifactCollector artifactCollector) |
void |
setBuildFinalName(String buildFinalName) |
void |
setCatalinaBase(File catalinaBase) |
void |
setConfigArtifact(ConfigurationArtifact configurationArtifact) |
void |
setContextFile(File contextFile) |
void |
setContextPath(String contextPath) |
void |
setFactory(org.apache.maven.artifact.factory.ArtifactFactory factory) |
void |
setInstanceCount(int instanceCount) |
void |
setLibs(ArrayList<JarArtifact> libs) |
void |
setLocal(org.apache.maven.artifact.repository.ArtifactRepository local) |
void |
setLookInside(boolean lookInside) |
void |
setMavenProject(org.apache.maven.project.MavenProject mavenProject) |
void |
setOverwriteWebXML(File overwriteWebXML) |
void |
setPackaging(String packaging) |
void |
setRemoteRepos(List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepos) |
void |
setResolver(org.apache.maven.artifact.resolver.ArtifactResolver resolver) |
void |
setResolverUpdateSnapshotsAllways(boolean resolverUpdateSnapshotsAllways) |
void |
setScanClasses(boolean scanClasses) |
void |
setScanners(ArrayList<ScannerConfiguration> scanners) |
void |
setSuspendConsoleOutput(boolean suspendConsoleOutput) |
void |
setSystemProperties(Map<String,String> systemProperties) |
void |
setTomcatConfigDirectory(File tomcatConfigDirectory) |
void |
setTomcatHostName(String tomcatHostName) |
void |
setTomcatHttpPort(int tomcatHttpPort) |
void |
setTomcatSetAwait(boolean setAwait) |
void |
setTomcatShutdownCommand(String tomcatShutdownCommand) |
void |
setTomcatShutdownHost(String tomcatShutdownHost) |
void |
setTomcatShutdownPort(int tomcatShutdownPort) |
void |
setTomcatVersion(String tomcatVersion) |
void |
setUserConfigDir(File userConfigDir) |
void |
setWebappClassDirectory(File webappClassDirectory) |
void |
setWebappOutputDirectory(File webappOutputDirectory) |
void |
setWebapps(ArrayList<WebappArtifact> webapps) |
void |
setWebappSourceDirectory(File webappSourceDirectory) |
getLog, getPluginContext, setLog, setPluginContext
public static final String T7_BOOTSTRAP_CONTEXT_ID
public static final int DEFAULT_TOMCAT_HTTP_PORT
public static final int DEFAULT_TOMCAT_SHUTDOWN_PORT
public static final String DEFAULT_TOMCAT_VERSION
public static final String CONTEXT_PATH_ROOT
protected org.apache.maven.project.MavenProject mavenProject
protected org.apache.maven.artifact.factory.ArtifactFactory factory
protected org.apache.maven.artifact.resolver.ArtifactResolver resolver
protected org.apache.maven.artifact.resolver.ArtifactCollector artifactCollector
protected org.apache.maven.artifact.repository.ArtifactRepository local
protected List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepos
protected org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager
protected boolean tomcatSetAwait
protected boolean lookInside
protected boolean resolverUpdateSnapshotsAllways
protected String tomcatVersion
protected int tomcatHttpPort
protected int tomcatShutdownPort
protected String tomcatShutdownCommand
protected String tomcatShutdownHost
protected String tomcatHostName
protected File catalinaBase
protected File tomcatConfigDirectory
protected File overwriteWebXML
protected File webappOutputDirectory
protected String contextPath
protected String buildFinalName
protected File webappSourceDirectory
protected String packaging
protected boolean scanClasses
protected boolean addGithubRepository
protected File webappClassDirectory
protected File contextFile
protected ArrayList<WebappArtifact> webapps
protected ArrayList<JarArtifact> libs
protected ArrayList<ScannerConfiguration> scanners
protected boolean suspendConsoleOutput
protected ConfigurationArtifact configArtifact
protected int instanceCount
public boolean isWebProject()
public boolean isTomcatSetAwait()
public void setTomcatSetAwait(boolean setAwait)
public boolean isLookInside()
public void setLookInside(boolean lookInside)
public boolean isScanClasses()
public void setScanClasses(boolean scanClasses)
public boolean isAddGithubRepository()
public void setAddGithubRepository(boolean addGithubRepository)
public String getTomcatVersion()
public void setTomcatVersion(String tomcatVersion)
public int getTomcatHttpPort()
public void setTomcatHttpPort(int tomcatHttpPort)
public int getTomcatShutdownPort()
public void setTomcatShutdownPort(int tomcatShutdownPort)
public String getTomcatShutdownCommand()
public void setTomcatShutdownCommand(String tomcatShutdownCommand)
public String getTomcatShutdownHost()
public void setTomcatShutdownHost(String tomcatShutdownHost)
public String getTomcatHostName()
public void setTomcatHostName(String tomcatHostName)
public File getUserConfigDir()
public void setUserConfigDir(File userConfigDir)
public File getWebappOutputDirectory()
public void setWebappOutputDirectory(File webappOutputDirectory)
public String getContextPath()
public void setContextPath(String contextPath)
public File getOverwriteWebXML()
public void setOverwriteWebXML(File overwriteWebXML)
public File getContextFile()
public void setContextFile(File contextFile)
public File getCatalinaBase()
public void setCatalinaBase(File catalinaBase)
public ArrayList<ScannerConfiguration> getScanners()
public String getBuildFinalName()
public void setBuildFinalName(String buildFinalName)
public String getPackaging()
public void setPackaging(String packaging)
public List<JarArtifact> getLibs()
public void setLibs(ArrayList<JarArtifact> libs)
public File getTomcatConfigDirectory()
public void setTomcatConfigDirectory(File tomcatConfigDirectory)
public File getWebappSourceDirectory()
public void setWebappSourceDirectory(File webappSourceDirectory)
public File getWebappClassDirectory()
public void setWebappClassDirectory(File webappClassDirectory)
public List<WebappArtifact> getWebapps()
public void setWebapps(ArrayList<WebappArtifact> webapps)
public org.apache.maven.artifact.factory.ArtifactFactory getFactory()
public void setFactory(org.apache.maven.artifact.factory.ArtifactFactory factory)
public org.apache.maven.artifact.resolver.ArtifactResolver getResolver()
public void setResolver(org.apache.maven.artifact.resolver.ArtifactResolver resolver)
public org.apache.maven.artifact.resolver.ArtifactCollector getArtifactCollector()
public void setArtifactCollector(org.apache.maven.artifact.resolver.ArtifactCollector artifactCollector)
public org.apache.maven.artifact.repository.ArtifactRepository getLocal()
public void setLocal(org.apache.maven.artifact.repository.ArtifactRepository local)
public List<org.apache.maven.artifact.repository.ArtifactRepository> getRemoteRepos()
public void setRemoteRepos(List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepos)
public org.codehaus.plexus.archiver.manager.ArchiverManager getArchiverManager()
public void setArchiverManager(org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager)
public boolean isResolverUpdateSnapshotsAllways()
public void setResolverUpdateSnapshotsAllways(boolean resolverUpdateSnapshotsAllways)
public void setScanners(ArrayList<ScannerConfiguration> scanners)
public org.apache.maven.project.MavenProject getMavenProject()
public void setMavenProject(org.apache.maven.project.MavenProject mavenProject)
public boolean isSuspendConsoleOutput()
public void setSuspendConsoleOutput(boolean suspendConsoleOutput)
public ConfigurationArtifact getConfigArtifact()
public void setConfigArtifact(ConfigurationArtifact configurationArtifact)
public int getInstanceCount()
public void setInstanceCount(int instanceCount)
Copyright © 2012. All Rights Reserved.