-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpom.xml
419 lines (372 loc) · 11.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
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
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
<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>fr.ign.validator</groupId>
<artifactId>validator</artifactId>
<packaging>pom</packaging>
<version>4.4.6-SNAPSHOT</version>
<name>Validator</name>
<scm>
<url>https://github.com/IGNF/validator</url>
<tag>HEAD</tag>
<developerConnection>scm:git:git@github.com:IGNF/validator.git</developerConnection>
</scm>
<description>
This program validates data according to models
</description>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>11</java.version>
<!--
See following page for the required java version
http://docs.geotools.org/latest/userguide/build/install/jdk.html#
-->
<geotools.version>27.2</geotools.version>
<log4j.version>2.23.1</log4j.version>
<woodstox-core-asl.version>4.4.1</woodstox-core-asl.version>
<jackson.version>2.17.2</jackson.version>
<jackson.databind.version>2.17.2</jackson.databind.version>
<maven-formatter-plugin.version>2.24.1</maven-formatter-plugin.version>
<jaxen.version>1.2.0</jaxen.version>
<jdom.version>1.0</jdom.version>
<apache-common-io.version>2.16.1</apache-common-io.version>
<apache-common-cli.version>1.8.0</apache-common-cli.version>
<apache-commons-csv.version>1.11.0</apache-commons-csv.version>
<apache-commons-lang.version>2.6</apache-commons-lang.version>
<!-- jaxb -->
<jaxb-core.version>2.3.0.1</jaxb-core.version>
<jaxb-impl.version>2.3.9</jaxb-impl.version>
<jaxb-api.version>2.3.1</jaxb-api.version>
<!-- JDBC -->
<postgresql.version>9.1-901-1.jdbc4</postgresql.version>
<sqlite-jdbc.version>3.46.0.1</sqlite-jdbc.version>
<!-- Testing -->
<junit.version>4.13.2</junit.version>
<jsonassert.version>1.5.3</jsonassert.version>
<mockito.version>5.12.0</mockito.version>
<!-- Build and deploy -->
<maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
<maven-surefire-plugin.version>3.3.1</maven-surefire-plugin.version>
<maven-release-plugin.version>3.1.1</maven-release-plugin.version>
<jacoco-maven-plugin.version>0.8.12</jacoco-maven-plugin.version>
<!-- JDK 8 features -->
<javax.annotation.version>1.3.2</javax.annotation.version>
<javax.activation.version>1.1.1</javax.activation.version>
<!-- sonarqube -->
<sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
</properties>
<organization>
<name>IGN - Service RDS</name>
<url>http://www.ign.fr</url>
</organization>
<developers>
<developer>
<name>Clément Bouché</name>
<email>clement.bouche(at)ign.fr</email>
<organization>IGN</organization>
</developer>
<developer>
<name>Florian Cerizay</name>
<email>florian.cerizay(at)ign.fr</email>
<organization>IGN</organization>
</developer>
<developer>
<name>Mickaël Borne</name>
<email>mickael.borne(at)ign.fr</email>
<organization>IGN</organization>
</developer>
</developers>
<licenses>
<license>
<name>CeCILL B</name>
<url>http://cecill.info/licences/Licence_CeCILL-B_V1-fr.html</url>
</license>
</licenses>
<modules>
<module>validator-core</module>
<module>validator-cli</module>
<module>validator-plugin-cnig</module>
<module>validator-plugin-dgpr</module>
<module>validator-plugin-pcrs</module>
</modules>
<dependencies>
<!--
################################################################
Logging
################################################################
-->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>${log4j.version}</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>${log4j.version}</version>
</dependency>
<!-- log4j2 dependency-->
<dependency>
<groupId>org.codehaus.woodstox</groupId>
<artifactId>woodstox-core-asl</artifactId>
<version>${woodstox-core-asl.version}</version>
</dependency>
<!--
################################################################
Apache common helpers
################################################################
-->
<!-- List files, read files,... -->
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${apache-common-io.version}</version>
</dependency>
<!-- Command line option parser -->
<dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
<version>${apache-common-cli.version}</version>
</dependency>
<!-- Read/write CSV files -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-csv</artifactId>
<version>${apache-commons-csv.version}</version>
</dependency>
<!-- String helpers -->
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>${apache-commons-lang.version}</version>
</dependency>
<!--
################################################################
Jackson to read/write JSON
################################################################
-->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson.databind.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>${jackson.version}</version>
</dependency>
<!--
################################################################
Spatial libraries (projections and geometries)
################################################################
-->
<!-- JTS throw geotools -->
<dependency>
<groupId>org.geotools</groupId>
<artifactId>gt-main</artifactId>
<version>${geotools.version}</version>
</dependency>
<!-- geotools epsg references -->
<dependency>
<groupId>org.geotools</groupId>
<artifactId>gt-referencing</artifactId>
<version>${geotools.version}</version>
</dependency>
<!--
Embedded database for common CRS
(with official lat/lon for EPSG:4326)
-->
<dependency>
<groupId>org.geotools</groupId>
<artifactId>gt-epsg-hsql</artifactId>
<version>${geotools.version}</version>
</dependency>
<!--
################################################################
XML parsing
################################################################
-->
<!-- jdom and jaxen (XPath) are required to parse metadata -->
<dependency>
<groupId>jdom</groupId>
<artifactId>jdom</artifactId>
<version>${jdom.version}</version>
</dependency>
<dependency>
<groupId>jaxen</groupId>
<artifactId>jaxen</artifactId>
<version>${jaxen.version}</version>
</dependency>
<!-- JABX is required by XmlModelReader -->
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>${jaxb-api.version}</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-core</artifactId>
<version>${jaxb-core.version}</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>${jaxb-impl.version}</version>
</dependency>
<!--
################################################################
JDBC drivers
################################################################
-->
<!-- Driver SQLite -->
<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>${sqlite-jdbc.version}</version>
</dependency>
<!-- Drive postgresql -->
<dependency>
<groupId>postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>${postgresql.version}</version>
</dependency>
<!--
################################################################
JDK 8 libraries
################################################################
-->
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<version>${javax.annotation.version}</version>
</dependency>
<dependency>
<groupId>javax.activation</groupId>
<artifactId>activation</artifactId>
<version>${javax.activation.version}</version>
</dependency>
<!--
################################################################
Test dependencies
################################################################
-->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockito.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.skyscreamer</groupId>
<artifactId>jsonassert</artifactId>
<version>${jsonassert.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<repositories>
<repository>
<id>maven</id>
<name>Maven central repository</name>
<url>https://repo1.maven.org/maven2/</url>
</repository>
<repository>
<id>osgeo</id>
<name>OSGeo Release Repository</name>
<url>https://repo.osgeo.org/repository/release/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<useSystemClassLoader>false</useSystemClassLoader>
<argLine>@{argLine} --illegal-access=permit</argLine>
</configuration>
</plugin>
<plugin>
<groupId>net.revelc.code.formatter</groupId>
<artifactId>formatter-maven-plugin</artifactId>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<!-- mvn release:prepare -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>${maven-release-plugin.version}</version>
<configuration>
<tagNameFormat>v@{project.version}</tagNameFormat>
</configuration>
</plugin>
<!-- mvn formatter:format -->
<plugin>
<groupId>net.revelc.code.formatter</groupId>
<artifactId>formatter-maven-plugin</artifactId>
<version>${maven-formatter-plugin.version}</version>
<configuration>
<configFile>${project.parent.basedir}/eclipse/formatter-config.xml</configFile>
</configuration>
</plugin>
<!-- coverage -->
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco-maven-plugin.version}</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
<profile>
<id>coverage</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>