File tree Expand file tree Collapse file tree 3 files changed +62
-16
lines changed
standard-maven-template-demo Expand file tree Collapse file tree 3 files changed +62
-16
lines changed Original file line number Diff line number Diff line change 29
29
30
30
<profiles >
31
31
<profile >
32
+ <!-- Disable checkstyle in root module as there is nothing to check -->
32
33
<id >checkstyle</id >
33
34
<build >
34
35
<plugins >
35
36
<plugin >
36
37
<groupId >org.apache.maven.plugins</groupId >
37
38
<artifactId >maven-checkstyle-plugin</artifactId >
38
- <version >3.3.1</version >
39
- <dependencies >
40
- <dependency >
41
- <groupId >com.puppycrawl.tools</groupId >
42
- <artifactId >checkstyle</artifactId >
43
- <version >10.12.7</version >
44
- </dependency >
45
- </dependencies >
46
39
<configuration >
47
- <configLocation >.config/checkstyle/checkstyle.xml</ configLocation >
40
+ <skip >true</ skip >
48
41
</configuration >
49
- <executions >
50
- <execution >
51
- <goals >
52
- <goal >check</goal >
53
- </goals >
54
- </execution >
55
- </executions >
56
42
</plugin >
57
43
</plugins >
58
44
</build >
Original file line number Diff line number Diff line change 79
79
</plugin >
80
80
</plugins >
81
81
</build >
82
+ <profiles >
83
+ <profile >
84
+ <id >checkstyle</id >
85
+ <build >
86
+ <plugins >
87
+ <plugin >
88
+ <groupId >org.apache.maven.plugins</groupId >
89
+ <artifactId >maven-checkstyle-plugin</artifactId >
90
+ <version >3.3.1</version >
91
+ <dependencies >
92
+ <dependency >
93
+ <groupId >com.puppycrawl.tools</groupId >
94
+ <artifactId >checkstyle</artifactId >
95
+ <version >10.12.7</version >
96
+ </dependency >
97
+ </dependencies >
98
+ <configuration >
99
+ <configLocation >../.config/checkstyle/checkstyle.xml</configLocation >
100
+ </configuration >
101
+ <executions >
102
+ <execution >
103
+ <goals >
104
+ <goal >check</goal >
105
+ </goals >
106
+ </execution >
107
+ </executions >
108
+ </plugin >
109
+ </plugins >
110
+ </build >
111
+ </profile >
112
+ </profiles >
82
113
</project >
Original file line number Diff line number Diff line change 204
204
</plugins >
205
205
</build >
206
206
</profile >
207
+ <profile >
208
+ <id >checkstyle</id >
209
+ <build >
210
+ <plugins >
211
+ <plugin >
212
+ <groupId >org.apache.maven.plugins</groupId >
213
+ <artifactId >maven-checkstyle-plugin</artifactId >
214
+ <version >3.3.1</version >
215
+ <dependencies >
216
+ <dependency >
217
+ <groupId >com.puppycrawl.tools</groupId >
218
+ <artifactId >checkstyle</artifactId >
219
+ <version >10.12.7</version >
220
+ </dependency >
221
+ </dependencies >
222
+ <configuration >
223
+ <configLocation >../.config/checkstyle/checkstyle.xml</configLocation >
224
+ </configuration >
225
+ <executions >
226
+ <execution >
227
+ <goals >
228
+ <goal >check</goal >
229
+ </goals >
230
+ </execution >
231
+ </executions >
232
+ </plugin >
233
+ </plugins >
234
+ </build >
235
+ </profile >
207
236
</profiles >
208
237
</project >
You can’t perform that action at this time.
0 commit comments