-
Notifications
You must be signed in to change notification settings - Fork 37
/
pom.xml
313 lines (296 loc) · 12.7 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
<?xml version="1.0" encoding="UTF-8"?>
<!--
Maven parent POM for all 'nl.xiam' and 'eu.infomas' Java based projects.
-->
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>9</version>
</parent>
<groupId>eu.infomas</groupId>
<artifactId>infomas-asl</artifactId>
<version>3.0.6-SNAPSHOT</version>
<packaging>pom</packaging>
<name>INFOMAS ASL :: Parent</name>
<description>Parent POM for open source projects of XIAM Solutions B.V.</description>
<url>http://rmuller.github.io/infomas-asl/annotation-detector/</url>
<!-- TODO:
We can not use scm here with ${project.artifactId} variables, because it creates wrong
URL's in sub modules. So scm must be redefined in the sub modules!
-->
<scm>
<url>https://github.com/rmuller/infomas-asl</url>
<connection>scm:git:https://github.com/rmuller/infomas-asl</connection>
<developerConnection>scm:git:https://github.com/rmuller/infomas-asl</developerConnection>
<tag>HEAD</tag>
</scm>
<issueManagement>
<system>GitHub Issues</system>
<url>https://github.com/rmuller/infomas-asl/issues</url>
</issueManagement>
<ciManagement>
<system>Travis-CI</system>
<url>https://travis-ci.org/#!/rmuller/infomas-asl</url>
</ciManagement>
<modules>
<module>annotation-detector</module>
</modules>
<inceptionYear>2011</inceptionYear>
<organization>
<name>XIAM Solutions B.V.</name>
<url>http://www.xiam.nl</url>
</organization>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<id>rmuller</id>
<name>Ronald Muller</name>
<roles>
<role>Owner</role>
<role>Lead Developer</role>
</roles>
<timezone>+1</timezone>
<organization>XIAM Solutions B.V.</organization>
</developer>
</developers>
<properties>
<java.version>1.6</java.version>
<!-- As close as we can get for the W3C / ISO Date Time format. Due to a
limitation of Java's SimpleDateFormat the colon in the time zone is missing. -->
<maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ssZ</maven.build.timestamp.format>
<!-- Workaround for http://jira.codehaus.org/browse/MRESOURCES-99 -->
<timestamp>${maven.build.timestamp}</timestamp>
<checkstyle.baseLocation>https://raw.github.com/rmuller/infomas-asl/master/development</checkstyle.baseLocation>
<checkstyle.header>checkstyle-header.txt</checkstyle.header>
<checkstyle.console.severity>info</checkstyle.console.severity>
<!-- http://mevenide.codehaus.org/m2-site/mevenide2-netbeans/customizations.html -->
<netbeans.hint.license>apache20</netbeans.hint.license>
<github.global.server>github</github.global.server>
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>1.10.19</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.6</version>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.10</version>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.3</version>
<configuration>
<encoding>${project.build.sourceEncoding}</encoding>
<notree>true</notree>
<noindex>true</noindex>
<nohelp>true</nohelp>
<links>
<link>http://docs.oracle.com/javase/8/docs/api/</link>
</links>
<!-- http://blog.joda.org/2014/02/turning-off-doclint-in-jdk-8-javadoc.html -->
<!--<additionalparam>-Xdoclint:none</additionalparam>-->
</configuration>
</plugin>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>2.7</version>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.19.1</version>
</plugin>
<plugin>
<!-- version 3 depends on Java 7 -->
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.5.4</version>
<extensions>true</extensions>
</plugin>
<plugin>
<!-- Starting v3.4 inheritance of plugin info is fixed (MSITE-516) -->
<artifactId>maven-site-plugin</artifactId>
<version>3.4</version>
</plugin>
<plugin>
<!-- 2.15 uses Checkstyle 6.1.1 by default and requires Java 1.6.
Newer versions of Checkstyle are based on Java 7! -->
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.15</version>
<configuration>
<includeResources>false</includeResources>
<includeTestResources>false</includeTestResources>
<includes>eu/infomas/**/*.java</includes>
<propertyExpansion>checkstyle.console.severity=${checkstyle.console.severity}</propertyExpansion>
<configLocation>${checkstyle.baseLocation}/checkstyle-config.xml</configLocation>
<headerLocation>${checkstyle.baseLocation}/${checkstyle.header}</headerLocation>
<consoleOutput>true</consoleOutput>
<!-- build fails on errors, not on warnings -->
<failsOnError>true</failsOnError>
<!-- all default values
<violationSeverity>error</violationSeverity>
<logViolationsToConsole>true</logViolationsToConsole>
<failOnViolation>true</failOnViolation>
-->
<linkXRef>false</linkXRef>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4.3</version>
</plugin>
<plugin>
<!-- since 0.9: "mvn site" to deploy maven generated site -->
<groupId>com.github.github</groupId>
<artifactId>site-maven-plugin</artifactId>
<version>0.12</version>
<configuration>
<message>Creating gh-pages for ${project.artifactId}-${project.version}</message>
<outputDirectory>target/site</outputDirectory>
<repositoryName>infomas-asl</repositoryName>
<repositoryOwner>rmuller</repositoryOwner>
<merge>false</merge>
</configuration>
<executions>
<execution>
<goals>
<goal>site</goal>
</goals>
<phase>site</phase>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.4.1</version>
<configuration>
<rules>
<!-- 3.1.1: reporting plugins use version info of plugin management -->
<requireMavenVersion>
<version>[3.1.1,)</version>
</requireMavenVersion>
<!-- Latest public release Oracle JDK 6: update 45 -->
<requireJavaVersion>
<version>[1.6.0-45,)</version>
</requireJavaVersion>
</rules>
</configuration>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<compilerArgument>-Xlint:all,-rawtypes</compilerArgument>
<showDeprecation>true</showDeprecation>
<showWarnings>true</showWarnings>
<!-- Since JDK1.3 javac ignores any optimization flags -->
<optimize>true</optimize>
<debug>false</debug>
</configuration>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>2.6</version>
<configuration>
<archive>
<manifestEntries>
<Build-Timestamp>${timestamp}</Build-Timestamp>
<Built-By>[email protected]</Built-By>
</manifestEntries>
<manifest>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<artifactId>maven-checkstyle-plugin</artifactId>
<executions>
<execution>
<id>checkstyle-main</id>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.github.github</groupId>
<artifactId>site-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.8.1</version>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<reportSets>
<reportSet>
<reports>
<report>javadoc</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<!-- Code Quality -->
<plugin>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.19.1</version>
</plugin>
<plugin>
<artifactId>maven-checkstyle-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-pmd-plugin</artifactId>
<version>3.6</version>
<configuration>
<targetJdk>${java.version}</targetJdk>
</configuration>
</plugin>
<!-- starting version 3.0.0 of findbugs-maven-plugin, Java 7 is required! -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>2.5.5</version>
</plugin>
</plugins>
</reporting>
</project>