@Mojo(name="jdeb", defaultPhase=PACKAGE, threadSafe=true) public class DebMojo extends org.apache.maven.plugin.AbstractMojo
Constructor and Description |
---|
DebMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Main entry point
|
protected VariableResolver |
initializeVariableResolver(Map<String,String> variables) |
Map<String,String> |
readPropertiesFromActiveProfiles(String prefix,
String... properties)
Read properties from the active profiles.
|
void |
setCloseReplaceToken(String closeReplaceToken) |
protected void |
setData(Data[] dataSet) |
void |
setOpenReplaceToken(String openReplaceToken) |
public DebMojo()
public void setOpenReplaceToken(String openReplaceToken)
public void setCloseReplaceToken(String closeReplaceToken)
protected VariableResolver initializeVariableResolver(Map<String,String> variables)
public void execute() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
- on errorpublic Map<String,String> readPropertiesFromActiveProfiles(String prefix, String... properties)
prefix
- The prefix to use or null if no prefix should be usedproperties
- The properties to readCopyright © 2018. All rights reserved.