aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-web/archiva-webapp/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'archiva-modules/archiva-web/archiva-webapp/pom.xml')
-rw-r--r--archiva-modules/archiva-web/archiva-webapp/pom.xml51
1 files changed, 27 insertions, 24 deletions
diff --git a/archiva-modules/archiva-web/archiva-webapp/pom.xml b/archiva-modules/archiva-web/archiva-webapp/pom.xml
index 1418bec90..d3ca90441 100644
--- a/archiva-modules/archiva-web/archiva-webapp/pom.xml
+++ b/archiva-modules/archiva-web/archiva-webapp/pom.xml
@@ -840,30 +840,6 @@
</systemPropertyVariables>
</configuration>
</plugin>
-
-
-
-
- <plugin>
- <groupId>org.owasp</groupId>
- <artifactId>dependency-check-maven</artifactId>
- <version>6.0.4</version>
- <configuration>
- <skipProvidedScope>true</skipProvidedScope>
- <failBuildOnCVSS>8</failBuildOnCVSS>
- <suppressionFile>${project.basedir}/src/main/resources/META-INF/owasp/cve-suppressions.xml</suppressionFile>
- <ossindexAnalyzerEnabled>false</ossindexAnalyzerEnabled>
- <assemblyAnalyzerEnabled>false</assemblyAnalyzerEnabled>
- <nodeAnalyzerEnabled>false</nodeAnalyzerEnabled>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>check</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
</plugins>
</build>
@@ -874,6 +850,33 @@
<archiva.repositorySessionFactory.id>cassandra</archiva.repositorySessionFactory.id>
</properties>
</profile>
+ <profile>
+ <id>owasp</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.owasp</groupId>
+ <artifactId>dependency-check-maven</artifactId>
+ <version>6.0.4</version>
+ <configuration>
+ <skipProvidedScope>true</skipProvidedScope>
+ <failBuildOnCVSS>8</failBuildOnCVSS>
+ <suppressionFile>${project.basedir}/src/main/resources/META-INF/owasp/cve-suppressions.xml</suppressionFile>
+ <ossindexAnalyzerEnabled>false</ossindexAnalyzerEnabled>
+ <assemblyAnalyzerEnabled>false</assemblyAnalyzerEnabled>
+ <nodeAnalyzerEnabled>false</nodeAnalyzerEnabled>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>