swid:generate
Full name:
gov.nist.secauto.swid:swid-maven-plugin:0.6.1:generate
Description:
Goal which generates a SWID Tag
Attributes:
- Requires a Maven project to be executed.
- Binds by default to the lifecycle phase: prepare-package.
Required Parameters
Name | Type | Since | Description |
---|---|---|---|
<outputDirectory> | String | - | Location where the tag will be generated. Default value is: ${project.build.directory}/classes/META-INF. User property is: outputDir. |
<tagFormat> | String | - | The tag format to generate. Either XML or CBOR for a SWID or CoSWID tag respectively. Default value is: XML. |
<tagName> | String | - | The name of the SWID tag. Default value is: swid-tag. |
<tagPath> | String | - | The location in the archive where the SWID tag will be generated. Default value is: SWIDTAG. |
Optional Parameters
Name | Type | Since | Description |
---|---|---|---|
<entities> | List | - | A set of SWID entity declarations to include in the tag. |
<excludes> | List | - | The file paths to exclude. |
<includes> | List | - | The file paths to include. |
Parameter Details
<entities>
A set of SWID entity declarations to include in the tag.
- Type: java.util.List
- Required: No
<excludes>
The file paths to exclude.
- Type: java.util.List
- Required: No
<includes>
The file paths to include.
- Type: java.util.List
- Required: No
<outputDirectory>
Location where the tag will be generated.
- Type: java.lang.String
- Required: Yes
- User Property: outputDir
- Default: ${project.build.directory}/classes/META-INF
<tagFormat>
The tag format to generate. Either XML or CBOR for a SWID or CoSWID tag respectively.
- Type: java.lang.String
- Required: Yes
- Default: XML
<tagName>
The name of the SWID tag.
- Type: java.lang.String
- Required: Yes
- Default: swid-tag
<tagPath>
The location in the archive where the SWID tag will be generated.
- Type: java.lang.String
- Required: Yes
- Default: SWIDTAG