This repository was archived by the owner on May 31, 2022. It is now read-only.
File tree 6 files changed +143
-0
lines changed
6 files changed +143
-0
lines changed Original file line number Diff line number Diff line change @@ -15,4 +15,5 @@ script:
15
15
- jdk_switcher use openjdk7
16
16
- ./mvnw clean test -P bootstrap
17
17
- jdk_switcher use openjdk8
18
+ - ./mvnw -U clean checkstyle:check -P spring5
18
19
- ./mvnw -f spring-security-oauth2 -U clean test -P spring5
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" ?>
2
+ <!--
3
+ ~ Copyright 2002-2019 the original author or authors.
4
+ ~
5
+ ~ Licensed under the Apache License, Version 2.0 (the "License");
6
+ ~ you may not use this file except in compliance with the License.
7
+ ~ You may obtain a copy of the License at
8
+ ~
9
+ ~ https://www.apache.org/licenses/LICENSE-2.0
10
+ ~
11
+ ~ Unless required by applicable law or agreed to in writing, software
12
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
13
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ ~ See the License for the specific language governing permissions and
15
+ ~ limitations under the License.
16
+ -->
17
+
18
+ <!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN"
19
+ "https://www.puppycrawl.com/dtds/configuration_1_3.dtd">
20
+ <module name =" Checker" >
21
+ <property name =" charset" value =" UTF-8" />
22
+ <property name =" fileExtensions" value =" " />
23
+ <module name =" io.spring.nohttp.checkstyle.check.NoHttpCheck" >
24
+ <property name =" whitelistFileName" value =" etc/nohttp/whitelist.lines" />
25
+ </module >
26
+ </module >
Original file line number Diff line number Diff line change
1
+ http://junit.sourceforge.net/javadoc/
Original file line number Diff line number Diff line change 187
187
<snapshots ><enabled >true</enabled ></snapshots >
188
188
</repository >
189
189
</repositories >
190
+ <build >
191
+ <plugins >
192
+ <plugin >
193
+ <groupId >org.apache.maven.plugins</groupId >
194
+ <artifactId >maven-checkstyle-plugin</artifactId >
195
+ <version >3.1.0</version >
196
+ <dependencies >
197
+ <dependency >
198
+ <groupId >com.puppycrawl.tools</groupId >
199
+ <artifactId >checkstyle</artifactId >
200
+ <version >8.18</version >
201
+ </dependency >
202
+ <dependency >
203
+ <groupId >io.spring.nohttp</groupId >
204
+ <artifactId >nohttp-checkstyle</artifactId >
205
+ <version >0.0.3.RELEASE</version >
206
+ </dependency >
207
+ </dependencies >
208
+ <configuration >
209
+ <configLocation >${maven.multiModuleProjectDirectory} /etc/nohttp/checkstyle.xml</configLocation >
210
+ <includes >src/**/*,*</includes >
211
+ <sourceDirectories >
212
+ <sourceDirectory >./</sourceDirectory >
213
+ </sourceDirectories >
214
+ </configuration >
215
+ <executions >
216
+ <execution >
217
+ <goals >
218
+ <goal >check</goal >
219
+ </goals >
220
+ </execution >
221
+ </executions >
222
+ </plugin >
223
+ </plugins >
224
+ </build >
190
225
</profile >
191
226
<profile >
192
227
<id >default</id >
Original file line number Diff line number Diff line change 136
136
</pluginRepository >
137
137
</pluginRepositories >
138
138
139
+ <profiles >
140
+ <profile >
141
+ <id >spring5</id >
142
+ <build >
143
+ <plugins >
144
+ <plugin >
145
+ <groupId >org.apache.maven.plugins</groupId >
146
+ <artifactId >maven-checkstyle-plugin</artifactId >
147
+ <version >3.1.0</version >
148
+ <dependencies >
149
+ <dependency >
150
+ <groupId >com.puppycrawl.tools</groupId >
151
+ <artifactId >checkstyle</artifactId >
152
+ <version >8.18</version >
153
+ </dependency >
154
+ <dependency >
155
+ <groupId >io.spring.nohttp</groupId >
156
+ <artifactId >nohttp-checkstyle</artifactId >
157
+ <version >0.0.3.RELEASE</version >
158
+ </dependency >
159
+ </dependencies >
160
+ <configuration >
161
+ <configLocation >${maven.multiModuleProjectDirectory} /etc/nohttp/checkstyle.xml</configLocation >
162
+ <includes >src/**/*,*</includes >
163
+ <sourceDirectories >
164
+ <sourceDirectory >./</sourceDirectory >
165
+ </sourceDirectories >
166
+ </configuration >
167
+ <executions >
168
+ <execution >
169
+ <goals >
170
+ <goal >check</goal >
171
+ </goals >
172
+ </execution >
173
+ </executions >
174
+ </plugin >
175
+ </plugins >
176
+ </build >
177
+ </profile >
178
+ </profiles >
139
179
</project >
Original file line number Diff line number Diff line change 85
85
</pluginManagement >
86
86
</build >
87
87
88
+ <profiles >
89
+ <profile >
90
+ <id >spring5</id >
91
+ <build >
92
+ <plugins >
93
+ <plugin >
94
+ <groupId >org.apache.maven.plugins</groupId >
95
+ <artifactId >maven-checkstyle-plugin</artifactId >
96
+ <version >3.1.0</version >
97
+ <dependencies >
98
+ <dependency >
99
+ <groupId >com.puppycrawl.tools</groupId >
100
+ <artifactId >checkstyle</artifactId >
101
+ <version >8.18</version >
102
+ </dependency >
103
+ <dependency >
104
+ <groupId >io.spring.nohttp</groupId >
105
+ <artifactId >nohttp-checkstyle</artifactId >
106
+ <version >0.0.3.RELEASE</version >
107
+ </dependency >
108
+ </dependencies >
109
+ <configuration >
110
+ <configLocation >${maven.multiModuleProjectDirectory} /etc/nohttp/checkstyle.xml</configLocation >
111
+ <includes >src/**/*,*</includes >
112
+ <sourceDirectories >
113
+ <sourceDirectory >./</sourceDirectory >
114
+ </sourceDirectories >
115
+ </configuration >
116
+ <executions >
117
+ <execution >
118
+ <goals >
119
+ <goal >check</goal >
120
+ </goals >
121
+ </execution >
122
+ </executions >
123
+ </plugin >
124
+ </plugins >
125
+ </build >
126
+ </profile >
127
+ </profiles >
88
128
</project >
You can’t perform that action at this time.
0 commit comments