From 98d6f09887b6beec7e56b6b25353cb35ab6b1a61 Mon Sep 17 00:00:00 2001
From: OZGCloud <ozgcloud@mgm-tp.com>
Date: Wed, 12 Jun 2024 10:34:21 +0200
Subject: [PATCH] OZG-4833 move sbom config to ozg-common

---
 Jenkinsfile                    |  2 +-
 vorgang-manager-server/pom.xml | 29 -----------------------------
 2 files changed, 1 insertion(+), 30 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index e439d34a6..81a74c975 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -158,7 +158,7 @@ pipeline {
             }	
         }
         
-        stage ('Generate SBOM - DependencyTrack') {
+        stage ('Deploy SBOM to DependencyTrack') {
             steps {
                 configFileProvider([configFile(fileId: 'maven-settings', variable: 'MAVEN_SETTINGS')]) {
                     withCredentials([string(credentialsId: 'dependency-track-api-key', variable: 'API_KEY')]) {
diff --git a/vorgang-manager-server/pom.xml b/vorgang-manager-server/pom.xml
index 01506e2f7..5cb05ee5f 100644
--- a/vorgang-manager-server/pom.xml
+++ b/vorgang-manager-server/pom.xml
@@ -433,36 +433,7 @@
 					</dependency>
 				</dependencies>
 			</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>
-		</pluginManagement>
 	</build>
 
 	<distributionManagement>
-- 
GitLab