You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ni...@apache.org on 2022/02/25 09:36:47 UTC
[servicecomb-pack] 01/01: SCB-2368 Added the dependency check maven plugin
This is an automated email from the ASF dual-hosted git repository.
ningjiang pushed a commit to branch SCB-2368
in repository https://gitbox.apache.org/repos/asf/servicecomb-pack.git
commit 0c57ed41032301309d0244e52195b732f96479eb
Author: Willem Jiang <wi...@gmail.com>
AuthorDate: Fri Feb 25 17:36:29 2022 +0800
SCB-2368 Added the dependency check maven plugin
---
pom.xml | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/pom.xml b/pom.xml
index 61c62f6..9f7a1f5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -80,6 +80,7 @@
<hystrix.version>1.5.12</hystrix.version>
<openfeign.version>9.5.1</openfeign.version>
<mockito.version>2.23.4</mockito.version>
+ <dependency-check.version>6.5.3</dependency-check.version>
</properties>
<name>Apache ServiceComb Pack</name>
@@ -876,6 +877,36 @@
<profiles>
<profile>
+ <id>dependency-check</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.owasp</groupId>
+ <artifactId>dependency-check-maven</artifactId>
+ <version>${dependency-check.version}</version>
+ <configuration>
+ <name>notifier-dependency-check</name>
+ <format>HTML</format>
+ <failBuildOnCVSS>9</failBuildOnCVSS>
+ <failOnError>false</failOnError>
+ <skipProvidedScope>true</skipProvidedScope>
+ <skipRuntimeScope>true</skipRuntimeScope>
+ <skipTestScope>true</skipTestScope>
+ <retireJsAnalyzerEnabled>false</retireJsAnalyzerEnabled>
+ <skipArtifactType>pom</skipArtifactType>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>aggregate</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
<id>release</id>
<modules>
<module>demo</module>