Package com.igormaznitsa.jcp.maven
Class PreprocessTestsMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- com.igormaznitsa.jcp.maven.PreprocessorMojo
-
- com.igormaznitsa.jcp.maven.PreprocessTestsMojo
-
- All Implemented Interfaces:
PreprocessorLogger,org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="preprocessTests", defaultPhase=GENERATE_TEST_SOURCES, threadSafe=true, requiresProject=true) public class PreprocessTestsMojo extends PreprocessorMojoThe Mojo is auxiliary wrapper over the standard preprocess mojo to automate providing of TRUE as the 'useTestSources' flag.- Since:
- 6.1.1
- See Also:
PreprocessorMojo
-
-
Constructor Summary
Constructors Constructor Description PreprocessTestsMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetUseTestSources()voidsetUseTestSources(boolean flag)-
Methods inherited from class com.igormaznitsa.jcp.maven.PreprocessorMojo
debug, error, execute, getAllowWhitespace, getCarForLastNextLine, getCfgFiles, getClear, getCopyFileAttributes, getDestination, getDisableOut, getExcluded, getExcludedFolders, getGlobalVars, getInEncoding, getKeepLines, getKeepSrcRoot, getOutEncoding, getPreserveIndent, getProcessing, getRemoveComments, getSource, getTestDestination, getUnknownVarAsFalse, getVerbose, info, isCompareDestination, isIgnoreMissingSources, isSkip, makePreprocessorContext, setAllowWhitespace, setCareForLastNextLine, setCfgFiles, setClear, setCompareDestination, setCopyFileAttributes, setDestination, setDisableOut, setExcluded, setExcludedFolders, setGlobalVars, setIgnoreMissingSources, setInEncoding, setKeepLines, setKeepSrcRoot, setOutEncoding, setPreserveIndent, setProcessing, setRemoveComments, setSkip, setSource, setTestDestination, setUnknownVarAsFalse, setVerbose, warning
-
-
-
-
Method Detail
-
setUseTestSources
public void setUseTestSources(boolean flag)
- Overrides:
setUseTestSourcesin classPreprocessorMojo
-
getUseTestSources
public boolean getUseTestSources()
- Overrides:
getUseTestSourcesin classPreprocessorMojo
-
-