Skip to content

Commit

Permalink
HBASE-27876 Only generate SBOM when releasing (#5251)
Browse files Browse the repository at this point in the history
Move CycloneDX plugin to profile section

Signed-off-by: Duo Zhang <zhangduo@apache.org>
  • Loading branch information
yamasakisua committed May 24, 2023
1 parent 22526a6 commit 256e5e9
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2905,19 +2905,6 @@
</formats>
</configuration>
</plugin>
<plugin>
<groupId>org.cyclonedx</groupId>
<artifactId>cyclonedx-maven-plugin</artifactId>
<version>2.7.6</version>
<executions>
<execution>
<goals>
<goal>makeBom</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
</plugin>
</plugins>
<extensions>
<extension>
Expand Down Expand Up @@ -3487,6 +3474,19 @@
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.cyclonedx</groupId>
<artifactId>cyclonedx-maven-plugin</artifactId>
<version>2.7.6</version>
<executions>
<execution>
<goals>
<goal>makeBom</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
Expand Down

0 comments on commit 256e5e9

Please sign in to comment.