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 PreprocessorMojo
The Mojo is auxiliary wrapper over the standard preprocess mojo to automate providing of TRUE as the 'useTestSources' flag.
- Since:
- 6.1.1
- See Also:
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
Constructors -
Method Summary
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
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
PreprocessTestsMojo
public PreprocessTestsMojo()
-
-
Method Details
-
setUseTestSources
public void setUseTestSources(boolean flag) - Overrides:
setUseTestSources
in classPreprocessorMojo
-
getUseTestSources
public boolean getUseTestSources()- Overrides:
getUseTestSources
in classPreprocessorMojo
-