Skip to content

Commit 256e5e9

Browse files
authored
HBASE-27876 Only generate SBOM when releasing (#5251)
Move CycloneDX plugin to profile section Signed-off-by: Duo Zhang <zhangduo@apache.org>
1 parent 22526a6 commit 256e5e9

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

pom.xml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2905,19 +2905,6 @@
29052905
</formats>
29062906
</configuration>
29072907
</plugin>
2908-
<plugin>
2909-
<groupId>org.cyclonedx</groupId>
2910-
<artifactId>cyclonedx-maven-plugin</artifactId>
2911-
<version>2.7.6</version>
2912-
<executions>
2913-
<execution>
2914-
<goals>
2915-
<goal>makeBom</goal>
2916-
</goals>
2917-
<phase>package</phase>
2918-
</execution>
2919-
</executions>
2920-
</plugin>
29212908
</plugins>
29222909
<extensions>
29232910
<extension>
@@ -3487,6 +3474,19 @@
34873474
</dependency>
34883475
</dependencies>
34893476
</plugin>
3477+
<plugin>
3478+
<groupId>org.cyclonedx</groupId>
3479+
<artifactId>cyclonedx-maven-plugin</artifactId>
3480+
<version>2.7.6</version>
3481+
<executions>
3482+
<execution>
3483+
<goals>
3484+
<goal>makeBom</goal>
3485+
</goals>
3486+
<phase>package</phase>
3487+
</execution>
3488+
</executions>
3489+
</plugin>
34903490
</plugins>
34913491
</build>
34923492
</profile>

0 commit comments

Comments
 (0)