org.cyclonedx.maven.ExtendedMojoConfigurator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cyclonedx-maven-plugin Show documentation
Show all versions of cyclonedx-maven-plugin Show documentation
The CycloneDX Maven plugin generates CycloneDX Software Bill of Materials (SBOM) containing the aggregate of all direct and transitive dependencies of a project.
package org.cyclonedx.maven;
import org.codehaus.plexus.component.configurator.BasicComponentConfigurator;
import org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable;
import org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException;
import javax.inject.Named;
@Named("cyclonedx-mojo-component-configurator")
public class ExtendedMojoConfigurator extends BasicComponentConfigurator implements Initializable {
@Override
public void initialize() throws InitializationException {
converterLookup.registerConverter(new ExternalReferenceTypeConverter());
}
}