Skip to content

Commit

Permalink
Merge pull request #9 from companieshouse/feature/add-security-check
Browse files Browse the repository at this point in the history
added security check to Makefile
  • Loading branch information
JpLuuCH authored Mar 16, 2023
2 parents 925f3a5 + f822e11 commit 60237b9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ clean:
rm -rf ./build-*
rm -f ./build.log

.PHONY: security-check
security-check:
mvn org.owasp:dependency-check-maven:purge
mvn org.owasp:dependency-check-maven:check -DfailBuildOnCVSS=4 -DassemblyAnalyzerEnabled=false

.PHONY: build
build:
mvn versions:set -DnewVersion=$(version) -DgenerateBackupPoms=false
Expand Down

0 comments on commit 60237b9

Please sign in to comment.