Skip to content
Snippets Groups Projects
Commit 1ee13444 authored by Felix Reichenbach's avatar Felix Reichenbach
Browse files

OZG-6988 update spring boot version property

parent 09f8ad5d
Branches
Tags
1 merge request!3Ozg 6988 update spring boot version property
......@@ -53,7 +53,7 @@
<ozgcloud.license.version>1.12.0-SNAPSHOT</ozgcloud.license.version>
<mapstruct.version>1.6.3</mapstruct.version>
<spring-boot.version>3.4.1</spring-boot.version>
<spring-boot.version>3.3.7</spring-boot.version>
<!-- plugins -->
<maven-surefire-plugin.version>3.5.2</maven-surefire-plugin.version>
......@@ -81,7 +81,7 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
<version>3.0.5</version>
<version>${spring-boot.version}</version>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
......@@ -220,12 +220,12 @@
</env>
</image>
<docker>
<publishRegistry>
<username>${docker.publishRegistry.username}</username>
<password>${docker.publishRegistry.password}</password>
<url>${docker.publishRegistry.url}</url>
</publishRegistry>
</docker>
<publishRegistry>
<username>${docker.publishRegistry.username}</username>
<password>${docker.publishRegistry.password}</password>
<url>${docker.publishRegistry.url}</url>
</publishRegistry>
</docker>
</configuration>
<executions>
<execution>
......@@ -375,7 +375,8 @@
<dependencyTrackBaseUrl>https://dependency-track.ozg-sh.de</dependencyTrackBaseUrl>
<failOnError>true</failOnError>
<createProject>true</createProject>
<bomLocation>${project.build.outputDirectory}/META-INF/sbom/application.cdx.json</bomLocation>
<bomLocation>
${project.build.outputDirectory}/META-INF/sbom/application.cdx.json</bomLocation>
</configuration>
</plugin>
</plugins>
......@@ -428,45 +429,45 @@
</snapshotRepository>
</distributionManagement>
<profiles>
<profile>
<id>ci-build</id>
<build>
<plugins>
<plugin>
<groupId>io.github.pmckeown</groupId>
<artifactId>dependency-track-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.cyclonedx</groupId>
<artifactId>cyclonedx-maven-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>makeAggregateBom</goal>
<goal>makeBom</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<directory>${project.build.outputDirectory}/META-INF/sbom</directory>
<includes>
<include>application.cdx.json</include>
</includes>
<targetPath>META-INF/sbom</targetPath>
</resource>
</resources>
</build>
</profile>
</profiles>
<profiles>
<profile>
<id>ci-build</id>
<build>
<plugins>
<plugin>
<groupId>io.github.pmckeown</groupId>
<artifactId>dependency-track-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.cyclonedx</groupId>
<artifactId>cyclonedx-maven-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>makeAggregateBom</goal>
<goal>makeBom</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<directory>${project.build.outputDirectory}/META-INF/sbom</directory>
<includes>
<include>application.cdx.json</include>
</includes>
<targetPath>META-INF/sbom</targetPath>
</resource>
</resources>
</build>
</profile>
</profiles>
</project>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment