Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 38 additions & 34 deletions parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -166,40 +166,6 @@
</build>

<profiles>

<profile>
<!-- Generates SBOM. Skip with '-DskipSBOM'.-->
<id>sbom</id>
<activation>
<property>
<name>!skipSBOM</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.cyclonedx</groupId>
<artifactId>cyclonedx-maven-plugin</artifactId>
<configuration>
<schemaVersion>1.4</schemaVersion>
<projectType>library</projectType>
<!-- Without this it doesn't generate cyclonedx files at all. -->
<!-- Watch https://github.com/CycloneDX/cyclonedx-maven-plugin/issues/597 -->
<skipNotDeployed>false</skipNotDeployed>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>makeAggregateBom</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>

<!--
This profile provides configuration for the plugins that are required in
order to deploy both release and snapshot artifacts.
Expand Down Expand Up @@ -268,6 +234,25 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.cyclonedx</groupId>
<artifactId>cyclonedx-maven-plugin</artifactId>
<configuration>
<schemaVersion>1.4</schemaVersion>
<projectType>library</projectType>
<!-- Without this it doesn't generate cyclonedx files at all. -->
<!-- Watch https://github.com/CycloneDX/cyclonedx-maven-plugin/issues/597 -->
<skipNotDeployed>false</skipNotDeployed>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>makeAggregateBom</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
Expand Down Expand Up @@ -376,6 +361,25 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.cyclonedx</groupId>
<artifactId>cyclonedx-maven-plugin</artifactId>
<configuration>
<schemaVersion>1.4</schemaVersion>
<projectType>library</projectType>
<!-- Without this it doesn't generate cyclonedx files at all. -->
<!-- Watch https://github.com/CycloneDX/cyclonedx-maven-plugin/issues/597 -->
<skipNotDeployed>false</skipNotDeployed>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>makeAggregateBom</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
Expand Down