File tree Expand file tree Collapse file tree 4 files changed +0
-350
lines changed Expand file tree Collapse file tree 4 files changed +0
-350
lines changed Original file line number Diff line number Diff line change 65
65
restore-keys : maven-repository-
66
66
- name : Run maven-enforcer-plugin
67
67
run : ./src/main/scripts/execute-command.sh enforcer
68
-
69
- run-spotbugs :
70
- name : Run SpotBugs
71
- # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idruns-on
72
- runs-on : ubuntu-20.04
73
- steps :
74
- - name : Clone source code
75
- uses :
actions/[email protected] # https://github.com/actions/checkout
76
- with :
77
- # Whether to configure the token or SSH key with the local git config. Default: true
78
- persist-credentials : false
79
- - name : Install JDK
80
- uses :
actions/[email protected] # https://github.com/actions/setup-java
81
- with :
82
- distribution : ' adopt' # https://github.com/actions/setup-java#supported-distributions
83
- java-version : ' 8' # https://github.com/actions/setup-java#supported-version-syntax
84
- - name : Restore existing cache
85
- uses :
actions/[email protected] # https://github.com/actions/cache
86
- with :
87
- # https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#input-parameters-for-the-cache-action
88
- key : maven-repository-${{ hashFiles('pom.xml') }}
89
- path : ~/.m2/repository
90
- restore-keys : maven-repository-
91
- - name : Compile sources
92
- run : >-
93
- mvn \
94
- --batch-mode \
95
- -Denforcer.skip=true \
96
- -DskipMinify \
97
- compile
98
- - name : Run SpotBugs
99
- run : ./src/main/scripts/execute-command.sh spotbugs
Original file line number Diff line number Diff line change 680
680
<slf4j .version>1.7.36</slf4j .version>
681
681
682
682
<spock .version>1.0-groovy-2.0</spock .version>
683
- <spotbugs .plugin.version>3.1.11</spotbugs .plugin.version>
684
683
685
684
<!-- Redefine default value from spring-boot-dependencies in order to have the latest version -->
686
685
<!-- LATER: remove overriding once version from Spring Boot will match the used one -->
747
746
748
747
<plugins >
749
748
750
- <!--
751
- Usage:
752
- ./mvnw spotbugs:check (checks the sources and produces report to the console)
753
- -->
754
- <plugin >
755
- <groupId >com.github.spotbugs</groupId >
756
- <artifactId >spotbugs-maven-plugin</artifactId >
757
- <version >${spotbugs.plugin.version} </version >
758
- <configuration >
759
- <includeTests >true</includeTests >
760
- <excludeFilterFile >src/main/config/spotbugs-filter.xml</excludeFilterFile >
761
- </configuration >
762
- </plugin >
763
-
764
749
<plugin >
765
750
<groupId >com.mycila</groupId >
766
751
<artifactId >license-maven-plugin</artifactId >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -40,11 +40,6 @@ case ${1:-} in
40
40
frontend:npm \
41
41
-Dfrontend.npm.arguments=' install-ci-test'
42
42
;;
43
- ' spotbugs' )
44
- exec " $MVN " \
45
- --batch-mode \
46
- spotbugs:check
47
- ;;
48
43
' unit-tests' )
49
44
exec " $MVN " \
50
45
--batch-mode \
@@ -63,7 +58,6 @@ case ${1:-} in
63
58
echo >&2 ' - enforcer'
64
59
echo >&2 ' - integration-tests'
65
60
echo >&2 ' - jest'
66
- echo >&2 ' - spotbugs'
67
61
echo >&2 ' - unit-tests'
68
62
exit 1
69
63
;;
You can’t perform that action at this time.
0 commit comments