forked from uhafner/codingstyle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
314 lines (297 loc) · 11.2 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>edu.hm.hafner</groupId>
<artifactId>codingstyle</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Example Java project that integrates several static analysis tools in Maven, Eclipse and IntelliJ</name>
<description>Provides all necessary resources for a Java project to enforce the coding style used in the lecture
software development. It configures several static analysis tools for Maven, Eclipse and IntelliJ. Moreover,
it provides some sample classes that already use this style guide. This classes can be used as such but are not
required in this project. These classes also use some additional libraries that are included using the Maven
dependency mechanism. If the sample classes are deleted then the dependencies can be safely deleted, too.
</description>
<scm>
<connection>scm:git:git://github.com/uhafner/${project.artifactId}.git</connection>
<developerConnection>scm:git:[email protected]:uhafner/${project.artifactId}.git</developerConnection>
<url>https://github.com/uhafner/${project.artifactId}</url>
</scm>
<licenses>
<license>
<name>MIT license</name>
<comments>All source code is copyrighted by Ullrich Hafner and licensed under the MIT license.</comments>
</license>
<license>
<name>Creative Commons Attribution 4.0 International License</name>
<comments>All documents are licensed under a Creative Commons Attribution 4.0 International License</comments>
</license>
<license>
<comments>All icons in the resources folder are copyrighted by Alexander Thümler.
You are not allowed to reuse this icons.</comments>
</license>
<license>
<comments>All Sokoban level files are copyrighted by their authors.
The license is included in every level file.</comments>
</license>
</licenses>
<developers>
<developer>
<name>Ullrich Hafner</name>
<id>uhafner</id>
<email>[email protected]</email>
</developer>
</developers>
<url>http://www.cs.hm.edu/die_fakultaet/ansprechpartner/professoren/hafner/index.de.html</url>
<properties>
<source.encoding>UTF-8</source.encoding>
<project.build.sourceEncoding>${source.encoding}</project.build.sourceEncoding>
<java.version>1.8</java.version>
<!-- Project Dependencies Configuration -->
<findbugs.annotations>3.0.0</findbugs.annotations>
<guava.version>18.0</guava.version>
<commons.lang.version>3.3.2</commons.lang.version>
<commons.io.version>2.4</commons.io.version>
<junit.version>4.12</junit.version>
<mockito.version>1.10.19</mockito.version>
<assertj.version>2.0.0</assertj.version>
<!-- Maven Plug-ins Configuration -->
<site.maven.plugin>3.4</site.maven.plugin>
<compiler.maven.plugin>3.2</compiler.maven.plugin>
<resources.maven.plugin>2.7</resources.maven.plugin>
<buildhelper.maven.plugin>1.9.1</buildhelper.maven.plugin>
<surefire.maven.plugin>2.18.1</surefire.maven.plugin>
<pmd.maven.plugin>3.5</pmd.maven.plugin>
<checkstyle.maven.plugin>2.16</checkstyle.maven.plugin>
<findbugs.maven.plugin>3.0.0</findbugs.maven.plugin>
<cobertura.maven.plugin>2.7</cobertura.maven.plugin>
<projectinfo.maven.plugin>2.8</projectinfo.maven.plugin>
<jxr.maven.plugin>2.5</jxr.maven.plugin>
<taglist.maven.plugin>2.4</taglist.maven.plugin>
</properties>
<dependencies>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>annotations</artifactId>
<version>${findbugs.annotations}</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>${commons.lang.version}</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${commons.io.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>${mockito.version}</version>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>${assertj.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>etc</directory>
<filtering>true</filtering>
</resource>
<resource>
<directory>src/main/resources</directory>
<filtering>false</filtering>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>${compiler.maven.plugin}</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<testSource>${java.version}</testSource>
<testTarget>${java.version}</testTarget>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>${site.maven.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${surefire.maven.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>${resources.maven.plugin}</version>
<configuration>
<encoding>${source.encoding}</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>${cobertura.maven.plugin}</version>
<configuration>
<instrumentation>
<excludes>
<exclude>**/*GameLoop*</exclude>
</excludes>
</instrumentation>
<check>false</check>
<formats>
<format>html</format>
<format>xml</format>
</formats>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${checkstyle.maven.plugin}</version>
<configuration>
<configLocation>etc/checkstyle-configuration.xml</configLocation>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>${pmd.maven.plugin}</version>
<configuration>
<rulesets>
<ruleset>etc/pmd-configuration.xml</ruleset>
</rulesets>
<targetJdk>${java.version}</targetJdk>
<includeTests>true</includeTests>
<minimumTokens>50</minimumTokens>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>${findbugs.maven.plugin}</version>
<configuration>
<xmlOutput>true</xmlOutput>
<findbugsXmlOutput>true</findbugsXmlOutput>
<threshold>Low</threshold>
<effort>Max</effort>
<relaxed>false</relaxed>
<fork>true</fork>
<excludeFilterFile>etc/findbugs-exclusion-filter.xml</excludeFilterFile>
<includeTests>true</includeTests>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>${projectinfo.maven.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>${jxr.maven.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>${surefire.maven.plugin}</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>${cobertura.maven.plugin}</version>
<configuration>
<instrumentation>
<excludes>
<exclude>**/*GameLoop*</exclude>
</excludes>
</instrumentation>
<check>false</check>
<formats>
<format>html</format>
<format>xml</format>
</formats>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${checkstyle.maven.plugin}</version>
<configuration>
<configLocation>etc/checkstyle-configuration.xml</configLocation>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>${pmd.maven.plugin}</version>
<configuration>
<rulesets>
<ruleset>etc/pmd-configuration.xml</ruleset>
</rulesets>
<skipEmptyReport>false</skipEmptyReport>
<targetJdk>${java.version}</targetJdk>
<includeTests>true</includeTests>
<minimumTokens>50</minimumTokens>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>${findbugs.maven.plugin}</version>
<configuration>
<xmlOutput>true</xmlOutput>
<xmlOutput>true</xmlOutput>
<findbugsXmlOutput>true</findbugsXmlOutput>
<threshold>Low</threshold>
<effort>Max</effort>
<relaxed>false</relaxed>
<fork>true</fork>
<excludeFilterFile>etc/findbugs-exclusion-filter.xml</excludeFilterFile>
<includeTests>true</includeTests>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>taglist-maven-plugin</artifactId>
<version>${taglist.maven.plugin}</version>
<configuration>
<tags>
<tag>TODO</tag>
<tag>FIXME</tag>
</tags>
</configuration>
</plugin>
</plugins>
</reporting>
</project>