Package org.openrewrite.maven
Class CycloneDxBomMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.openrewrite.maven.ConfigurableRewriteMojo
org.openrewrite.maven.AbstractRewriteMojo
org.openrewrite.maven.CycloneDxBomMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="cyclonedx",
requiresDependencyResolution=TEST,
threadSafe=true,
defaultPhase=PROCESS_TEST_CLASSES)
public class CycloneDxBomMojo
extends AbstractRewriteMojo
Generate a CycloneDx bill of materials outlining the project's dependencies, including transitive dependencies.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openrewrite.maven.ConfigurableRewriteMojo
ConfigurableRewriteMojo.State
-
Field Summary
Fields inherited from class org.openrewrite.maven.AbstractRewriteMojo
project, repositorySystem, resolvePropertiesInYaml, runtime, settingsDecrypter
Fields inherited from class org.openrewrite.maven.ConfigurableRewriteMojo
activeRecipes, activeStyles, checkstyleConfigFile, checkstyleDetectionEnabled, configLocation, failOnInvalidActiveRecipes, mavenSession, metricsPassword, metricsUri, metricsUsername, pluginDescriptor, pomCacheDirectory, pomCacheEnabled, rewriteSkip, runPerSubmodule, sizeThresholdMb, skipMavenParsing
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
-
Method Summary
Methods inherited from class org.openrewrite.maven.AbstractRewriteMojo
environment, environment, executionContext, getBuildRoot, getRecipeArtifactCoordinatesClassloader
Methods inherited from class org.openrewrite.maven.ConfigurableRewriteMojo
allProjectsMarked, getActiveRecipes, getActiveStyles, getExclusions, getPlainTextMasks, getRecipeArtifactCoordinates, loadStyles, putState
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
CycloneDxBomMojo
public CycloneDxBomMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-