Skip to content
Snippets Groups Projects
Commit 791f7c43 authored by Tobias Ullerich's avatar Tobias Ullerich
Browse files

Fix dependency-check plugin

parent add70b8a
Branches
Tags
No related merge requests found
Pipeline #6650 failed
...@@ -40,7 +40,6 @@ ...@@ -40,7 +40,6 @@
<itextpdf.version>5.5.13.3</itextpdf.version> <itextpdf.version>5.5.13.3</itextpdf.version>
<vanilla-picker.version>2.12.1</vanilla-picker.version> <vanilla-picker.version>2.12.1</vanilla-picker.version>
<jacoco-maven-plugin.version>0.8.8</jacoco-maven-plugin.version> <jacoco-maven-plugin.version>0.8.8</jacoco-maven-plugin.version>
<dependency-check-maven.version>7.1.0</dependency-check-maven.version>
<project.outputDirectory>${project.build.directory}/../build/${project.version}</project.outputDirectory> <project.outputDirectory>${project.build.directory}/../build/${project.version}</project.outputDirectory>
<project.artifactName>${project.artifactId}-v${project.version}</project.artifactName> <project.artifactName>${project.artifactId}-v${project.version}</project.artifactName>
...@@ -284,31 +283,6 @@ ...@@ -284,31 +283,6 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>${dependency-check-maven.version}</version>
<inherited>false</inherited>
<configuration>
<skip>false</skip>
<cveValidForHours>48</cveValidForHours>
<assemblyAnalyzerEnabled>false</assemblyAnalyzerEnabled>
<failOnError>false</failOnError>
<formats>
<format>HTML</format>
<format>XML</format>
</formats>
</configuration>
<executions>
<execution>
<goals>
<goal>aggregate</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins> </plugins>
</build> </build>
</project> </project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<suppressions xmlns="https://jeremylong.github.io/DependencyCheck/dependency-suppression.1.3.xsd">
</suppressions>
\ No newline at end of file
...@@ -57,6 +57,8 @@ ...@@ -57,6 +57,8 @@
<testcontainer.version>1.17.2</testcontainer.version> <testcontainer.version>1.17.2</testcontainer.version>
<assertj-core.version>3.22.0</assertj-core.version> <assertj-core.version>3.22.0</assertj-core.version>
<dependency-check-maven.version>7.1.0</dependency-check-maven.version>
</properties> </properties>
<dependencies> <dependencies>
...@@ -88,6 +90,36 @@ ...@@ -88,6 +90,36 @@
</dependency> </dependency>
</dependencies> </dependencies>
<build>
<plugins>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>${dependency-check-maven.version}</version>
<inherited>false</inherited>
<configuration>
<skip>false</skip>
<cveValidForHours>48</cveValidForHours>
<assemblyAnalyzerEnabled>false</assemblyAnalyzerEnabled>
<failOnError>false</failOnError>
<formats>
<format>HTML</format>
<format>XML</format>
</formats>
<suppressionFile>dependency-check-maven-suppression.xml</suppressionFile>
</configuration>
<executions>
<execution>
<goals>
<goal>aggregate</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<distributionManagement> <distributionManagement>
<repository> <repository>
<id>release</id> <id>release</id>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment