Skip to content

Commit

Permalink
Add dependency track to release steps
Browse files Browse the repository at this point in the history
Signed-off-by: Gary O'Neall <[email protected]>
  • Loading branch information
goneall committed Dec 13, 2023
1 parent fc8bb3b commit 8f9677c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions RELEASE-CHECKLIST.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Release Checklist for the SPDX Java Tools

- [ ] Check for any warnings from the compiler and findbugs
- [ ] Run dependency check to find any potential vulnerabilities `mvn dependency-check:check`
- [ ] Test the release `mvn release:prepare -DdryRun`
- [ ] Run `mvn release:prepare` - you will be prompted for the release - typically take the defaults
- [ ] Run `mvn release:perform`
Expand Down
6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<sonar.organization>spdx</sonar.organization>
<sonar.projectKey>java-spdx-library</sonar.projectKey>
<dependency-check-maven.version>8.0.1</dependency-check-maven.version>
</properties>
<profiles>
<profile>
Expand Down Expand Up @@ -301,6 +302,11 @@
<goals>deploy</goals>
</configuration>
</plugin>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>${dependency-check-maven.version}</version>
</plugin>
</plugins>
</build>
<reporting>
Expand Down

0 comments on commit 8f9677c

Please sign in to comment.