Skip to content
Snippets Groups Projects
Commit 98d6f098 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-4833 move sbom config to ozg-common

parent c3d8f754
No related branches found
No related tags found
No related merge requests found
...@@ -158,7 +158,7 @@ pipeline { ...@@ -158,7 +158,7 @@ pipeline {
} }
} }
stage ('Generate SBOM - DependencyTrack') { stage ('Deploy SBOM to DependencyTrack') {
steps { steps {
configFileProvider([configFile(fileId: 'maven-settings', variable: 'MAVEN_SETTINGS')]) { configFileProvider([configFile(fileId: 'maven-settings', variable: 'MAVEN_SETTINGS')]) {
withCredentials([string(credentialsId: 'dependency-track-api-key', variable: 'API_KEY')]) { withCredentials([string(credentialsId: 'dependency-track-api-key', variable: 'API_KEY')]) {
......
...@@ -433,36 +433,7 @@ ...@@ -433,36 +433,7 @@
</dependency> </dependency>
</dependencies> </dependencies>
</plugin> </plugin>
<plugin>
<groupId>org.cyclonedx</groupId>
<artifactId>cyclonedx-maven-plugin</artifactId>
<version>${cyclonedx-maven-plugin.version}</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>makeAggregateBom</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>io.github.pmckeown</groupId>
<artifactId>dependency-track-maven-plugin</artifactId>
<version>${dependency-track-maven-plugin.version}</version>
<configuration>
<dependencyTrackBaseUrl>https://dependency-track.ozg-sh.de</dependencyTrackBaseUrl>
<failOnError>true</failOnError>
<createProject>true</createProject>
</configuration>
</plugin>
</plugins> </plugins>
</pluginManagement>
</build> </build>
<distributionManagement> <distributionManagement>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment