-
Notifications
You must be signed in to change notification settings - Fork 3
/
pom.xml
369 lines (337 loc) · 14.6 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
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
<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>net.digitalid</groupId>
<artifactId>master</artifactId>
<packaging>pom</packaging>
<version>1.0.0</version>
<organization>
<name>Synacts GmbH</name>
<url>https://www.synacts.com</url>
</organization>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<developers>
<developer>
<name>Kaspar Etter</name>
<email>[email protected]</email>
<organization>Synacts</organization>
<organizationUrl>https://www.synacts.com</organizationUrl>
</developer>
<developer>
<name>Stephanie Stroka</name>
<email>[email protected]</email>
<organization>Synacts</organization>
<organizationUrl>https://www.synacts.com</organizationUrl>
</developer>
</developers>
<!-- You can override properties with 'mvn install -Dtests.skip=true'. -->
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.version>1.8</maven.compiler.version>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.argument></maven.compiler.argument>
<maven.compiler.argument1></maven.compiler.argument1>
<maven.compiler.argument2></maven.compiler.argument2>
<maven.javadoc.skip>true</maven.javadoc.skip>
<maven.source.skip>true</maven.source.skip>
<maven.test.skip>false</maven.test.skip>
<maven.test.failure.ignore>false</maven.test.failure.ignore>
<assertj.packages>none</assertj.packages>
<assertj.classes></assertj.classes>
<jacoco.skip>false</jacoco.skip>
<gpg.skip>true</gpg.skip>
</properties>
<!-- You can activate a profile with 'mvn install -P fast,ignore,debugging'. -->
<profiles>
<!-- Fast compilation by skipping all test: -->
<profile>
<id>fast</id>
<properties>
<maven.test.skip>true</maven.test.skip>
<jacoco.skip>true</jacoco.skip>
</properties>
</profile>
<!-- Build all modules by ignoring failed tests: -->
<profile>
<id>ignore</id>
<properties>
<maven.test.failure.ignore>true</maven.test.failure.ignore>
</properties>
</profile>
<!-- Remote debugging of the annotation processing: -->
<profile>
<id>debugging</id>
<properties>
<maven.compiler.argument1>-J-Xdebug</maven.compiler.argument1>
<maven.compiler.argument2>-J-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005</maven.compiler.argument2>
</properties>
</profile>
<!-- Deploy the artifacts with Javadoc and sources: -->
<profile>
<id>deployment</id>
<properties>
<maven.javadoc.skip>false</maven.javadoc.skip>
<maven.source.skip>false</maven.source.skip>
<gpg.skip>false</gpg.skip>
</properties>
</profile>
<!-- Generate the code in optimized production mode: -->
<profile>
<id>production</id>
<properties>
<maven.compiler.argument1>-Aproduction</maven.compiler.argument1>
</properties>
</profile>
</profiles>
<dependencies>
<!-- https://mvnrepository.com/artifact/com.google.j2objc/j2objc-annotations -->
<dependency>
<groupId>com.google.j2objc</groupId>
<artifactId>j2objc-annotations</artifactId>
<version>1.3</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.assertj/assertj-core -->
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.8.0</version>
<scope>test</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/junit/junit -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
</dependencies>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<build>
<plugins>
<!-- Required by the Eclipse IDE to locate the generated sources. -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>add-sources</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>target/generated-sources/annotations</source>
<source>target/generated-test-sources/annotations</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.6.2</version>
<configuration>
<fork>true</fork>
<verbose>false</verbose>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
<compilerVersion>${maven.compiler.version}</compilerVersion>
<compilerArgs>
<arg>${maven.compiler.argument}</arg>
<arg>${maven.compiler.argument1}</arg>
<arg>${maven.compiler.argument2}</arg>
</compilerArgs>
<!-- NetBeans seems to need the following line sometimes: -->
<generatedSourcesDirectory>target/generated-sources/annotations</generatedSourcesDirectory>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.20</version>
<configuration>
<trimStackTrace>false</trimStackTrace>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.0.0-M1</version>
<configuration>
<quiet>true</quiet>
<linksource>false</linksource>
<doctitle>Digital ID Library</doctitle>
<additionalparam>-Xdoclint:none</additionalparam>
<links>
<!-- Include all Javadocs here! -->
<!--<link>https://docs.digitalid.net/utility/logging/${project.version}/</link>-->
<link>http://docs.oracle.com/javase/7/docs/api/</link>
</links>
<tagletArtifacts>
<tagletArtifact>
<groupId>net.digitalid.utility</groupId>
<artifactId>utility-taglets</artifactId>
<version>0.7.0</version>
</tagletArtifact>
</tagletArtifacts>
</configuration>
<executions>
<execution>
<id>attach-javadoc</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Execute the plugin with 'mvn assertj:generate-assertions'. -->
<plugin>
<groupId>org.assertj</groupId>
<artifactId>assertj-assertions-generator-maven-plugin</artifactId>
<version>2.0.0</version>
<configuration>
<hierarchical>true</hierarchical>
<generateAssertions>true</generateAssertions>
<generateBddAssertions>false</generateBddAssertions>
<generateSoftAssertions>false</generateSoftAssertions>
<generateJUnitSoftAssertions>false</generateJUnitSoftAssertions>
<templates>
<templatesDirectory>resources/assertj</templatesDirectory>
<assertionsEntryPointClass>assertions_entry_point_class.txt</assertionsEntryPointClass>
<assertionEntryPointMethod>assertions_entry_point_method.txt</assertionEntryPointMethod>
</templates>
</configuration>
<executions>
<execution>
<id>generate-assertions</id>
<goals>
<goal>generate-assertions</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.9</version>
<configuration>
<destFile>${project.build.directory}/coverage-reports/jacoco-unit.exec</destFile>
<dataFile>${project.build.directory}/coverage-reports/jacoco-unit.exec</dataFile>
</configuration>
<executions>
<execution>
<id>jacoco-prepare</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>jacoco-report</id>
<phase>prepare-package</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Goals: 'license:check', 'license:format' and 'license:remove'. -->
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>3.0</version>
<configuration>
<header>com/mycila/licenses/APACHE-2</header>
<properties>
<owner>Synacts GmbH, Switzerland</owner>
<year>2017</year>
<email>[email protected]</email>
</properties>
<includes>
<include>**/*.java</include>
</includes>
<mapping>
<java>SLASHSTAR_STYLE</java>
</mapping>
</configuration>
<dependencies>
<dependency>
<groupId>com.mycila</groupId>
<artifactId>licenses</artifactId>
<version>1</version>
</dependency>
</dependencies>
</plugin>
<!-- Execute the plugin with 'mvn j2objc:convert'. -->
<plugin>
<groupId>com.smoope.utils</groupId>
<artifactId>j2objc-maven-plugin</artifactId>
<version>1.1.4</version>
<configuration>
<j2objcPath>${J2OBJC_HOME}/j2objc</j2objcPath>
<noPackageDirectories>true</noPackageDirectories>
<skipParent>true</skipParent>
<verbose>false</verbose>
<werror>true</werror>
<useArc>true</useArc>
<source>8</source>
</configuration>
</plugin>
<!-- Required for deployment on OSSRH. -->
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>false</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>