plexus-component-metadata:generate-test-metadata
Full name:
org.codehaus.plexus:plexus-component-metadata:1.5.6-SNAPSHOT:generate-test-metadata
Description:
Generates a Plexus components.xml component descriptor
file from test source (javadoc) or test class annotations.
Attributes:
- Requires a Maven 2.0 project to be executed.
- Requires dependency resolution of artifacts in scope: test.
- Binds by default to the lifecycle phase: process-test-classes.
Required Parameters
| Name |
Type |
Since |
Description |
| testGeneratedMetadata |
File |
- |
The output location for the generated descriptor. Default value is: ${project.build.testOutputDirectory}/META-INF/plexus/components.xml. |
| testIntermediaryMetadata |
File |
- |
The output location for the intermediary descriptor. This
descriptors contains only the information extracted from the
project's sources/classes. Default value is: ${project.build.directory}/test-components.xml. |
| testStaticMetadataDirectory |
File |
- |
The location of manually crafted component descriptors. The
contents of the descriptor files in this directory is merged with
the information extracted from the project's sources/classes. Default value is: ${basedir}/src/test/resources/META-INF/plexus. |
Optional Parameters
| Name |
Type |
Since |
Description |
| sourceEncoding |
String |
- |
The file encoding of the source files. Default value is: ${project.build.sourceEncoding}. |
Parameter Details
sourceEncoding:
The file encoding of the source files.
- Type: java.lang.String
- Required: No
- Default: ${project.build.sourceEncoding}
testGeneratedMetadata:
The output location for the generated descriptor.
- Type: java.io.File
- Required: Yes
- Default: ${project.build.testOutputDirectory}/META-INF/plexus/components.xml
testIntermediaryMetadata:
The output location for the intermediary descriptor. This
descriptors contains only the information extracted from the
project's sources/classes.
- Type: java.io.File
- Required: Yes
- Default: ${project.build.directory}/test-components.xml
testStaticMetadataDirectory:
The location of manually crafted component descriptors. The
contents of the descriptor files in this directory is merged with
the information extracted from the project's sources/classes.
- Type: java.io.File
- Required: Yes
- Default: ${basedir}/src/test/resources/META-INF/plexus