@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, contextPath, defaultPort, dependencyResolution, jenkinsCoreId, localRepository, maskClasses, pluginFirstClassLoader, projectBuilder, remoteRepos, warSourceDirectoryconsoleScanner, contextHandlers, contextXml, dumpOnStart, excludedGoals, execution, httpConnector, jettyXml, loginServices, nonblocking, pluginArtifacts, PORT_SYSPROPERTY, project, projectArtifacts, reload, requestLog, scanIntervalSeconds, scanList, scanner, scannerListeners, server, skip, stopKey, stopPort, systemPropertiesFile, useProvidedScope, webApp| Constructor and Description |
|---|
WarMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Executes the WarMojo on the current project.
|
checkPomConfiguration, configureScanner, configureWebApplication, finishConfigurationBeforeStart, getJenkinsWarArtifact, getProject, getProjectArtifacts, getWebAppConfig, resolveDependencies, restartWebApp, startConsoleScanner, startJetty, wrapapplyJettyXml, configureMonitor, configurePluginClasspath, findJettyWebXmlFile, getJettyXmlFiles, isExcluded, isPluginArtifact, printSystemProperties, setSystemProperties, setSystemPropertiesFile@Parameter protected String jenkinsWarId
@Parameter protected File outputFile
@Component protected org.apache.maven.project.MavenProjectHelper projectHelper
Copyright © 2004-2016. All Rights Reserved.