Add support for the dependency-check plugin
This commit is contained in:
parent
9ff4e8d189
commit
d26ab57154
2 changed files with 9 additions and 1 deletions
|
@ -39,7 +39,7 @@ check:
|
||||||
image: markhobson/maven-chrome:jdk-18
|
image: markhobson/maven-chrome:jdk-18
|
||||||
script:
|
script:
|
||||||
- *setup-mvn
|
- *setup-mvn
|
||||||
- ./mvnw clean compile
|
- ./mvnw clean compile dependency-check:aggregate
|
||||||
- ./mvnw sonar:sonar -Dsonar.projectKey=$SONAR_PROJECT -Dsonar.projectName=$SONAR_PROJECT -Dsonar.host.url=$SONAR_URL -Dsonar.token=$SONAR_TOKEN
|
- ./mvnw sonar:sonar -Dsonar.projectKey=$SONAR_PROJECT -Dsonar.projectName=$SONAR_PROJECT -Dsonar.host.url=$SONAR_URL -Dsonar.token=$SONAR_TOKEN
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
|
|
@ -108,6 +108,14 @@
|
||||||
<compilerArgument>-parameters</compilerArgument>
|
<compilerArgument>-parameters</compilerArgument>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.owasp</groupId>
|
||||||
|
<artifactId>dependency-check-maven</artifactId>
|
||||||
|
<version>8.4.0</version>
|
||||||
|
<configuration>
|
||||||
|
<format>ALL</format>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue