@Mojo(name="custom-war",
defaultPhase=PACKAGE,
requiresDependencyResolution=RUNTIME)
public class WarMojo
extends RunMojo
| Modifier and Type | Field and Description |
|---|---|
protected String |
jenkinsWarId
Optional string that represents "groupId:artifactId" of Jenkins war.
|
protected File |
outputFile |
protected org.apache.maven.project.MavenProjectHelper |
projectHelper |
artifactFactory, artifactMetadataSource, artifactResolver, consoleForceReload, defaultPort, dependencyResolution, jenkinsCoreId, localRepository, maskClasses, pluginFirstClassLoader, projectBuilder, remoteRepos, warSourceDirectoryconnectors, consoleScanner, contextHandlers, contextPath, contextXml, daemon, excludedGoals, jettyXml, loginServices, PORT_SYSPROPERTY, project, projectArtifacts, reload, requestLog, scanIntervalSeconds, scanList, scanner, scannerListeners, server, skip, stopKey, stopPort, systemPropertiesFile, tmpDirectory, useProvidedScope, webApp| Constructor and Description |
|---|
WarMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Executes the WarMojo on the current project.
|
checkPomConfiguration, configureScanner, configureWebApplication, createServer, finishConfigurationBeforeStart, getJenkinsWarArtifact, getProjectArtifacts, resolveDependencies, restartWebApp, startConsoleScanner, wrapapplyJettyXml, configurePluginClasspath, findJettyWebXmlFile, getConnectors, getContextHandlers, getContextPath, getJettyConfig, getJettyXmlFiles, getLoginServices, getPluginArtifacts, getProject, getReload, getRequestLog, getScanIntervalSeconds, getScanList, getScanner, getScannerListeners, getServer, getStopKey, getStopPort, getSystemProperties, getSystemPropertiesFile, getTmpDirectory, getWebAppConfig, getWebAppXml, isDaemon, isExcluded, isPluginArtifact, isSkip, setConnectors, setContextHandlers, setContextPath, setDaemon, setJettyConfig, setLoginServices, setPluginArtifacts, setProject, setReload, setRequestLog, setScanIntervalSeconds, setScanList, setScannerListeners, setServer, setSkip, setStopKey, setStopPort, setSystemProperties, setSystemPropertiesFile, setTmpDirectory, setWebAppConfig, setWebAppXml, startJetty@Parameter protected String jenkinsWarId
@Parameter protected File outputFile
@Component protected org.apache.maven.project.MavenProjectHelper projectHelper
Copyright © 2004-2016. All Rights Reserved.