@Mojo(name="jar",
defaultPhase=PREPARE_PACKAGE,
requiresDependencyResolution=RUNTIME)
public class JarMojo
extends AbstractHpiMojo
HpiMojo will generate a
jar file anyway. Using this goal it is possible to customize the jar file that is built, e.g. shading dependencies,
code signing, etcarchiverManager, globalMaskClasses, maskClasses, outputDirectory, pluginFirstClassLoader, pluginName, pluginVersionDescription, warSourceDirectoryartifactFactory, artifactMetadataSource, artifactResolver, jenkinsCoreId, localRepository, project, projectBuilder, projectHelper, remoteRepos| Constructor and Description |
|---|
JarMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Executes the JarMojo on the current project.
|
protected File |
getOutputFile(String extension) |
buildExplodedWebapp, buildWebapp, copyResources, copyResources, generateManifest, getClassesDirectory, getContainerConfigXML, getDependentWarExcludes, getDependentWarIncludes, getDirectDependencyArtfacts, getExcludes, getGitHeadSha1, getIncludes, getProjectArtfacts, getWebappDirectory, isSupportDynamicLoading, loadManifest, setAttributes, setClassesDirectory, setContainerConfigXML, setWarSourceDirectory, setWebappDirectory, wrapfindJenkinsVersion, wrapCopyright © 2004-2016. All Rights Reserved.