Skip to content

Commit

Permalink
Only create SBOM files for releases
Browse files Browse the repository at this point in the history
There is actually no need to run that plugin on every build.
  • Loading branch information
hgschmie committed Feb 12, 2024
1 parent 3851f32 commit e1ee9b7
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
1 change: 1 addition & 0 deletions RELEASE_NOTES.md
@@ -1,6 +1,7 @@
# Unreleased

- Test DB2 basic integration (#2625, thanks @stoyants)
- create CycloneDX SBOM files for release versions

# 3.44.1

Expand Down
28 changes: 14 additions & 14 deletions internal/build/pom.xml
Expand Up @@ -993,19 +993,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.cyclonedx</groupId>
<artifactId>cyclonedx-maven-plugin</artifactId>
<executions>
<execution>
<id>cyclonedx</id>
<goals>
<goal>makeBom</goal>
</goals>
<phase>verify</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down Expand Up @@ -1284,7 +1271,7 @@
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-java17</id>
<id>enforce-java21</id>
<goals>
<goal>enforce</goal>
</goals>
Expand All @@ -1299,6 +1286,19 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.cyclonedx</groupId>
<artifactId>cyclonedx-maven-plugin</artifactId>
<executions>
<execution>
<id>cyclonedx</id>
<goals>
<goal>makeBom</goal>
</goals>
<phase>verify</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
Expand Down

0 comments on commit e1ee9b7

Please sign in to comment.