File tree Expand file tree Collapse file tree 3 files changed +51
-1
lines changed Expand file tree Collapse file tree 3 files changed +51
-1
lines changed Original file line number Diff line number Diff line change 20
20
mvn versions:set --file ./pom.xml -DnewVersion=${GITHUB_REF##*/}
21
21
- name : Build and Test
22
22
id : buildAndTest
23
- run : mvn -B clean install
23
+ run : mvn -B clean install -Pdependency-check
24
24
- uses : actions/upload-artifact@v2
25
25
with :
26
26
name : artifacts
Original file line number Diff line number Diff line change 46
46
47
47
<!-- test dependencies -->
48
48
<junit .version>5.8.2</junit .version>
49
+
50
+ <!-- build plugin dependencies -->
51
+ <dependency-check .version>7.0.0</dependency-check .version>
52
+ <nexus-staging .version>1.6.8</nexus-staging .version>
49
53
</properties >
50
54
51
55
<dependencies >
191
195
192
196
193
197
<profiles >
198
+ <profile >
199
+ <id >dependency-check</id >
200
+ <build >
201
+ <plugins >
202
+ <plugin >
203
+ <groupId >org.owasp</groupId >
204
+ <artifactId >dependency-check-maven</artifactId >
205
+ <version >${dependency-check.version} </version >
206
+ <configuration >
207
+ <cveValidForHours >24</cveValidForHours >
208
+ <failBuildOnCVSS >0</failBuildOnCVSS >
209
+ <skipTestScope >true</skipTestScope >
210
+ <detail >true</detail >
211
+ <suppressionFile >suppression.xml</suppressionFile >
212
+ </configuration >
213
+ <executions >
214
+ <execution >
215
+ <goals >
216
+ <goal >check</goal >
217
+ </goals >
218
+ </execution >
219
+ </executions >
220
+ </plugin >
221
+ </plugins >
222
+ </build >
223
+ </profile >
224
+
194
225
<profile >
195
226
<id >sign</id >
196
227
<build >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <suppressions xmlns =" https://jeremylong.github.io/DependencyCheck/dependency-suppression.1.3.xsd" >
3
+ <suppress >
4
+ <notes ><![CDATA[
5
+ Incorrectly matched CPE, see https://github.com/jeremylong/DependencyCheck/issues/4177git
6
+ ]]> </notes >
7
+ <gav regex =" true" >^org\.cryptomator:.*$</gav >
8
+ <cpe >cpe:/a:cryptomator:cryptomator</cpe >
9
+ <cve >CVE-2022-25366</cve >
10
+ </suppress >
11
+ <suppress >
12
+ <notes ><![CDATA[
13
+ False postive, because secret-service only accesses the external gnome-keyring service
14
+ ]]> </notes >
15
+ <gav regex =" true" >^de\.swiesend\:secret\-service:.*$</gav >
16
+ <cve >CVE-2018-19358</cve >
17
+ <cve >CVE-2018-20781</cve >
18
+ </suppress >
19
+ </suppressions >
You can’t perform that action at this time.
0 commit comments