Skip to content

Commit

Permalink
HBASE-27876 Only generate SBOM when releasing (apache#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>
(cherry picked from commit 256e5e9)
(cherry picked from commit 53a637d)
Change-Id: If2c1f63673cc0d98af84135b45e43fbf42665307
  • Loading branch information
yamasakisua authored and Jenkins User committed May 30, 2023
1 parent 65333c2 commit 3f915ba
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 @@ -2396,19 +2396,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 @@ -3020,6 +3007,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 3f915ba

Please sign in to comment.