Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cyclonedx-maven-plugin configuration #58

Closed
marcwrobel opened this issue Jan 7, 2023 · 0 comments
Closed

Add cyclonedx-maven-plugin configuration #58

marcwrobel opened this issue Jan 7, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@marcwrobel
Copy link
Owner

marcwrobel commented Jan 7, 2023

Add the following configuration for cyclonedx-maven-plugin :

      <plugin>
        <groupId>org.cyclonedx</groupId>
        <artifactId>cyclonedx-maven-plugin</artifactId>
        <version>${cyclonedx-maven-plugin.version}</version>
        <executions>
          <execution>
            <id>make-bom</id>
            <phase>package</phase>
            <goals>
              <goal>makeAggregateBom</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <outputName>${project.artifactId}-${project.version}-bom</outputName>
        </configuration>
      </plugin>
@marcwrobel marcwrobel added the enhancement New feature or request label Jan 7, 2023
marcwrobel added a commit that referenced this issue Feb 25, 2023
Using makeAggregateBom, which should work for most of the situations.
marcwrobel added a commit that referenced this issue Feb 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant