ittouch:touch
Full name:
org.apache.maven.its.plugins:maven-it-plugin-touch:2.1-SNAPSHOT:touch
Description:
Mojo that creates one touch.txt or more files with
configured filenames in target/ directory, or cause
failure if desired, and set build final name to
'coreitified'
Attributes:
- Requires a Maven project to be executed.
- Binds by default to the lifecycle phase: process-sources.
Required Parameters
Name |
Type |
Since |
Description |
outputDirectory |
String |
- |
Output directory for touched files. Default value is: ${project.build.directory}.
|
pluginArtifacts |
Map |
- |
Test setting of plugin-artifacts on the PluginDescriptor instance. Default value is: ${plugin.artifactMap}.
|
Optional Parameters
Name |
Type |
Since |
Description |
artifactToFile |
String |
- |
Touch a file named after artifact absolute file name, replacing '/'
and ':' by '_' and adding ".txt". User property is: artifactToFile. |
basedirAlignmentDirectory |
File |
- |
Parameter to check that File attribute is injected with absolute
path, even if parameter value is relative: a touch.txt
file will be created in specified directory, to be able to check
that absolute value is at right place. Default value is: target/test-basedir-alignment.
|
fail |
boolean |
- |
Should the goal cause a failure before doing anything else? User property is: fail. |
goalItem |
String |
- |
(no description)
|
pluginItem |
String |
- |
(no description)
|
project |
MavenProject |
- |
(no description) Default value is: ${project}.
|
Parameter Details
artifactToFile:
Touch a file named after artifact absolute file name, replacing '/'
and ':' by '_' and adding ".txt".
- Type: java.lang.String
- Required: No
- User Property: artifactToFile
basedirAlignmentDirectory:
Parameter to check that File attribute is injected with absolute
path, even if parameter value is relative: a touch.txt
file will be created in specified directory, to be able to check
that absolute value is at right place.
- Type: java.io.File
- Required: No
- Default: target/test-basedir-alignment
fail:
Should the goal cause a failure before doing anything else?
- Type: boolean
- Required: No
- User Property: fail
goalItem:
(no description)
- Type: java.lang.String
- Required: No
outputDirectory:
Output directory for touched files.
- Type: java.lang.String
- Required: Yes
- Default: ${project.build.directory}
pluginArtifacts:
Test setting of plugin-artifacts on the PluginDescriptor instance.
- Type: java.util.Map
- Required: Yes
- Default: ${plugin.artifactMap}
pluginItem:
(no description)
- Type: java.lang.String
- Required: No
project:
(no description)
- Type: org.apache.maven.project.MavenProject
- Required: No
- Default: ${project}