@Mojo(name="generate",
defaultPhase=PREPARE_PACKAGE)
public class SwidGenerateMojo
extends org.apache.maven.plugin.AbstractMojo
Constructor and Description |
---|
SwidGenerateMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Execute the mojo.
|
String[] |
getExcludes()
Get the set of exscluded files.
|
String[] |
getIncludes()
Get the set of included files.
|
protected OutputHandler |
getOutputHander() |
org.apache.maven.project.MavenProject |
getProject()
Retrieve the Maven project.
|
File |
getSwidTagFile()
Determine the path to the SWID tag file and create any directories in this path.
|
String |
getTagFormat()
Retrieves the tag format to produce.
|
public org.apache.maven.project.MavenProject getProject()
public String[] getIncludes()
public String[] getExcludes()
public File getSwidTagFile() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
- if an error occurred while creating directoriespublic String getTagFormat()
protected OutputHandler getOutputHander()
public void execute() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
Copyright © 2020 National Institute of Standards and Technology. All rights reserved.