@Mojo(name="merge",
defaultPhase=PROCESS_RESOURCES,
requiresProject=true,
threadSafe=true)
public class MergePropertiesMojo
extends org.apache.maven.plugin.AbstractMojo
implements org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
Constructor and Description |
---|
MergePropertiesMojo() |
Modifier and Type | Method and Description |
---|---|
void |
contextualize(org.codehaus.plexus.context.Context context) |
void |
execute() |
MergeProperitesMavenResourcesFiltering |
getMavenResourcesFiltering()
Gets the mavenResourcesFiltering property value.
|
File |
getOutputDirectory()
Gets the outputDirectory to use.
|
List<org.apache.maven.model.Resource> |
getResources()
Gets the Resources to use.
|
boolean |
isSkip()
Gets the skip property value.
|
void |
setMavenResourcesFiltering(MergeProperitesMavenResourcesFiltering mavenResourcesFiltering)
Sets the mavenResourcesFiltering property.
|
void |
setOverwriteProperties(boolean overwriteProperties)
Sets the overwriteProperties property.
|
void |
setProject(org.apache.maven.project.MavenProject project)
Sets the project property.
|
public void contextualize(org.codehaus.plexus.context.Context context) throws org.codehaus.plexus.context.ContextException
contextualize
in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
org.codehaus.plexus.context.ContextException
public void execute() throws org.apache.maven.plugin.MojoExecutionException
execute
in interface org.apache.maven.plugin.Mojo
org.apache.maven.plugin.MojoExecutionException
public List<org.apache.maven.model.Resource> getResources()
public File getOutputDirectory()
public MergeProperitesMavenResourcesFiltering getMavenResourcesFiltering()
public void setMavenResourcesFiltering(MergeProperitesMavenResourcesFiltering mavenResourcesFiltering)
mavenResourcesFiltering
- the new property valuepublic void setProject(org.apache.maven.project.MavenProject project)
project
- the new property valuepublic void setOverwriteProperties(boolean overwriteProperties)
overwriteProperties
- the new property valuepublic boolean isSkip()
Copyright © 2014–2020 Polago AB. All rights reserved.