File tree 3 files changed +0
-51
lines changed
3 files changed +0
-51
lines changed Original file line number Diff line number Diff line change 90
90
- name : Check license header
91
91
run : ./src/main/scripts/execute-command.sh check-license
92
92
93
- check-pom :
94
- name : Check pom.xml
95
- # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idruns-on
96
- runs-on : ubuntu-20.04
97
- steps :
98
- - name : Clone source code
99
- uses :
actions/[email protected] # https://github.com/actions/checkout
100
- with :
101
- # Whether to configure the token or SSH key with the local git config. Default: true
102
- persist-credentials : false
103
- - name : Install JDK
104
- uses :
actions/[email protected] # https://github.com/actions/setup-java
105
- with :
106
- distribution : ' adopt' # https://github.com/actions/setup-java#supported-distributions
107
- java-version : ' 8' # https://github.com/actions/setup-java#supported-version-syntax
108
- - name : Restore existing cache
109
- uses :
actions/[email protected] # https://github.com/actions/cache
110
- with :
111
- # https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#input-parameters-for-the-cache-action
112
- key : maven-repository-${{ hashFiles('pom.xml') }}
113
- path : ~/.m2/repository
114
- restore-keys : maven-repository-
115
- - name : Check pom.xml
116
- run : ./src/main/scripts/execute-command.sh check-pom
117
-
118
93
run-shellcheck :
119
94
name : Run ShellCheck
120
95
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idruns-on
Original file line number Diff line number Diff line change 683
683
<!-- Redefine default value from spring-boot-dependencies -->
684
684
<slf4j .version>1.7.36</slf4j .version>
685
685
686
- <sortpom .plugin.version>2.5.0</sortpom .plugin.version>
687
-
688
686
<spock .version>1.0-groovy-2.0</spock .version>
689
687
<spotbugs .plugin.version>3.1.11</spotbugs .plugin.version>
690
688
753
751
754
752
<plugins >
755
753
756
- <plugin >
757
- <groupId >com.github.ekryd.sortpom</groupId >
758
- <artifactId >sortpom-maven-plugin</artifactId >
759
- <version >${sortpom.plugin.version} </version >
760
- <configuration >
761
- <lineSeparator >\n</lineSeparator >
762
- <predefinedSortOrder >default_0_4_0</predefinedSortOrder >
763
- <keepBlankLines >true</keepBlankLines >
764
- <indentBlankLines >true</indentBlankLines >
765
- <sortDependencies >scope,groupId,artifactId</sortDependencies >
766
- <sortPlugins >groupId,artifactId</sortPlugins >
767
- <sortProperties >true</sortProperties >
768
- <!-- Use tabs instead of spaces for indentation -->
769
- <nrOfIndentSpace >-1</nrOfIndentSpace >
770
- </configuration >
771
- </plugin >
772
-
773
754
<!--
774
755
Usage:
775
756
./mvnw spotbugs:check (checks the sources and produces report to the console)
Original file line number Diff line number Diff line change @@ -27,12 +27,6 @@ case ${1:-} in
27
27
--batch-mode \
28
28
license:check
29
29
;;
30
- ' check-pom' )
31
- exec " $MVN " \
32
- --batch-mode \
33
- sortpom:verify \
34
- -Dsort.verifyFail=stop
35
- ;;
36
30
' checkstyle' )
37
31
exec " $MVN " \
38
32
--batch-mode \
@@ -104,7 +98,6 @@ case ${1:-} in
104
98
echo >&2 " Where <command> is one of:"
105
99
echo >&2 ' - ansible-lint'
106
100
echo >&2 ' - check-license'
107
- echo >&2 ' - check-pom'
108
101
echo >&2 ' - checkstyle'
109
102
echo >&2 ' - codenarc'
110
103
echo >&2 ' - enforcer'
You can’t perform that action at this time.
0 commit comments