Configuration
The plugin provides sensible defaults that match the standard Maven project layout.
Override only what you need by adding a <configuration> block in your pom.xml.
Configuration reference
| Parameter | Type | Default | Description |
|---|---|---|---|
|
|
|
Requirements annotations YAML file generated by the annotation processor for the main source set |
|
|
|
SVCs annotations YAML file generated by the annotation processor for the test source set |
|
|
|
Output directory for the ZIP artifact and combined |
|
|
|
Directory containing |
|
|
(none) |
Ant-style glob patterns for test result XML files to include in the ZIP |
|
|
|
Skip all plugin execution |
|
|
|
Skip ZIP assembly; annotations are still combined into |
|
|
|
Skip attaching the ZIP artifact to the Maven project |
Dataset directory
The datasetPath directory must contain at minimum a requirements.yml file.
Optional files in the same directory are included if present.
| File | Required |
|---|---|
|
Yes |
|
No |
|
No |
Minimal configuration
Only datasetPath needs to be set when the dataset lives outside the default reqstool/ directory:
<configuration>
<datasetPath>${project.basedir}/docs/reqstool</datasetPath>
</configuration>
Complete configuration example
<configuration>
<requirementsAnnotationsFile>
${project.build.directory}/generated-sources/annotations/resources/annotations.yml
</requirementsAnnotationsFile>
<svcsAnnotationsFile>
${project.build.directory}/generated-test-sources/test-annotations/resources/annotations.yml
</svcsAnnotationsFile>
<outputDirectory>${project.build.directory}/reqstool</outputDirectory>
<datasetPath>${project.basedir}/docs/reqstool</datasetPath>
<testResults>
<testResult>target/surefire-reports/**/*.xml</testResult>
<testResult>target/failsafe-reports/**/*.xml</testResult>
</testResults>
<skip>false</skip>
<skipAssembleZipArtifact>false</skipAssembleZipArtifact>
<skipAttachZipArtifact>false</skipAttachZipArtifact>
</configuration>