@Mojo(name="environment", defaultPhase=PACKAGE, requiresProject=true, threadSafe=true) public class EnvironmentMojo extends AbstractEnvironmentsMojo
excludeEnvironments, mavenResourcesFiltering
Constructor and Description |
---|
EnvironmentMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
protected org.codehaus.plexus.archiver.jar.JarArchiver |
getJarArchiver() |
protected void |
processEnvironment(String environment,
File resourceResult,
File unpackDirectory,
String archiveExt) |
addEnvironmentToManifest, createArchiveFile, createLoggingOutput, createPluginResourceOutput, createUnpackDirectory, deleteDirectoryOfPreviousRunIfExist, environmentNamesAreValid, filterResources, filterResourcesToAdditionalDirectories, filterResourcesToTarget, getArchive, getArchiveExtensionOfTheArtifact, getArchiveExtensionOfTheProjectMainArtifact, getArchiveFile, getArchives, getCommonDir, getDelimiters, getEncoding, getEscapeString, getExcludeEnvironments, getFilters, getFinalName, getMavenProject, getMavenSession, getNonFilteredFileExtensions, getOutputDirectory, getProjectHelper, getSourceDirectory, getTargetPath, getTargetPath, getTheEnvironments, isEscapeWindowsPaths, isFileNameFiltering, isIncludeEmptyDirs, isSupportMultiLineFiltering, isUseDefaultDelimiters, setExcludeEnvironments, setIncludeEmptyDirs, shouldSkip, validateEnvironments
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected void processEnvironment(String environment, File resourceResult, File unpackDirectory, String archiveExt) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected org.codehaus.plexus.archiver.jar.JarArchiver getJarArchiver()
getJarArchiver
in class AbstractEnvironmentsMojo
Copyright © 2019. All rights reserved.