Skip to content

Commit 8f9677c

Browse files
committed
Add dependency track to release steps
Signed-off-by: Gary O'Neall <gary@sourceauditor.com>
1 parent fc8bb3b commit 8f9677c

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

RELEASE-CHECKLIST.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Release Checklist for the SPDX Java Tools
22

33
- [ ] Check for any warnings from the compiler and findbugs
4+
- [ ] Run dependency check to find any potential vulnerabilities `mvn dependency-check:check`
45
- [ ] Test the release `mvn release:prepare -DdryRun`
56
- [ ] Run `mvn release:prepare` - you will be prompted for the release - typically take the defaults
67
- [ ] Run `mvn release:perform`

pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
5050
<sonar.organization>spdx</sonar.organization>
5151
<sonar.projectKey>java-spdx-library</sonar.projectKey>
52+
<dependency-check-maven.version>8.0.1</dependency-check-maven.version>
5253
</properties>
5354
<profiles>
5455
<profile>
@@ -301,6 +302,11 @@
301302
<goals>deploy</goals>
302303
</configuration>
303304
</plugin>
305+
<plugin>
306+
<groupId>org.owasp</groupId>
307+
<artifactId>dependency-check-maven</artifactId>
308+
<version>${dependency-check-maven.version}</version>
309+
</plugin>
304310
</plugins>
305311
</build>
306312
<reporting>

0 commit comments

Comments
 (0)