@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, warSourceDirectoryPORT_SYSPROPERTY| Constructor and Description |
|---|
WarMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Executes the WarMojo on the current project.
|
checkPomConfiguration, configureScanner, configureWebApplication, createServer, finishConfigurationBeforeStart, getDefaultHttpPort, getJenkinsWarArtifact, getProjectArtifacts, resolveDependencies, startScanner, wrapapplyJettyXml, getConfiguredConnectors, getConfiguredRequestLog, getConfiguredUserRealmsfindJettyWebXmlFile, getContextPath, getJettyXmlFileName, getProject, getScanIntervalSeconds, getScanList, getScannerListeners, getServer, getSystemProperties, getTmpDirectory, getWebApplication, getWebDefaultXml, setScanList, setScannerListeners, setServer, setWebApplication, startJetty@Parameter protected String jenkinsWarId
@Parameter protected File outputFile
@Component protected org.apache.maven.project.MavenProjectHelper projectHelper
Copyright © 2004-2015. All Rights Reserved.