|
| 1 | +<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"> |
| 2 | + <modelVersion>4.0.0</modelVersion> |
| 3 | + |
| 4 | + <groupId>fr.ign.validator</groupId> |
| 5 | + <artifactId>validator</artifactId> |
| 6 | + <packaging>pom</packaging> |
| 7 | + <version>4.4.20-SNAPSHOT</version> |
| 8 | + <name>Validator</name> |
| 9 | + |
| 10 | + <scm> |
| 11 | + <url>https://github.com/IGNF/validator</url> |
| 12 | + <tag>v4.4.9</tag> |
| 13 | + <developerConnection>scm:git:git@github.com:IGNF/validator.git</developerConnection> |
| 14 | + </scm> |
| 15 | + |
| 16 | + <description> |
| 17 | + This program validates data according to models |
| 18 | + </description> |
| 19 | + |
| 20 | + <properties> |
| 21 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 22 | + <java.version>11</java.version> |
| 23 | + <!-- |
| 24 | + See following page for the required java version |
| 25 | + http://docs.geotools.org/latest/userguide/build/install/jdk.html# |
| 26 | + --> |
| 27 | + <geotools.version>27.5</geotools.version> |
| 28 | + <log4j.version>2.25.3</log4j.version> |
| 29 | + <woodstox-core-asl.version>4.4.1</woodstox-core-asl.version> |
| 30 | + <jackson.version>2.19.2</jackson.version> |
| 31 | + <jackson.databind.version>2.19.2</jackson.databind.version> |
| 32 | + |
| 33 | + <maven-formatter-plugin.version>2.29.0</maven-formatter-plugin.version> |
| 34 | + <jaxen.version>1.2.0</jaxen.version> |
| 35 | + <jdom.version>1.0</jdom.version> |
| 36 | + <apache-common-io.version>2.21.0</apache-common-io.version> |
| 37 | + <apache-common-cli.version>1.11.0</apache-common-cli.version> |
| 38 | + <apache-commons-csv.version>1.14.1</apache-commons-csv.version> |
| 39 | + <apache-commons-lang.version>2.6</apache-commons-lang.version> |
| 40 | + <!-- JDBC --> |
| 41 | + <postgresql.version>42.7.9</postgresql.version> |
| 42 | + <sqlite-jdbc.version>3.51.1.0</sqlite-jdbc.version> |
| 43 | + <!-- Testing --> |
| 44 | + <junit.version>4.13.2</junit.version> |
| 45 | + <jsonassert.version>1.5.3</jsonassert.version> |
| 46 | + <mockito.version>5.21.0</mockito.version> |
| 47 | + <!-- Build and deploy --> |
| 48 | + <maven-compiler-plugin.version>3.14.1</maven-compiler-plugin.version> |
| 49 | + <maven-surefire-plugin.version>3.5.4</maven-surefire-plugin.version> |
| 50 | + <maven-release-plugin.version>3.3.1</maven-release-plugin.version> |
| 51 | + <jacoco-maven-plugin.version>0.8.14</jacoco-maven-plugin.version> |
| 52 | + |
| 53 | + <!-- sonarqube --> |
| 54 | + <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin> |
| 55 | + </properties> |
| 56 | + <organization> |
| 57 | + <name>IGN - Service RDS</name> |
| 58 | + <url>http://www.ign.fr</url> |
| 59 | + </organization> |
| 60 | + |
| 61 | + <developers> |
| 62 | + <developer> |
| 63 | + <name>Clément Bouché</name> |
| 64 | + <email>clement.bouche(at)ign.fr</email> |
| 65 | + <organization>IGN</organization> |
| 66 | + </developer> |
| 67 | + <developer> |
| 68 | + <name>Mickaël Borne</name> |
| 69 | + <email>mickael.borne(at)ign.fr</email> |
| 70 | + <organization>IGN</organization> |
| 71 | + </developer> |
| 72 | + </developers> |
| 73 | + |
| 74 | + <licenses> |
| 75 | + <license> |
| 76 | + <name>CeCILL B</name> |
| 77 | + <url>http://cecill.info/licences/Licence_CeCILL-B_V1-fr.html</url> |
| 78 | + </license> |
| 79 | + </licenses> |
| 80 | + |
| 81 | + <modules> |
| 82 | + <module>validator-core</module> |
| 83 | + <module>validator-cli</module> |
| 84 | + <module>validator-plugin-cnig</module> |
| 85 | + <module>validator-plugin-dgpr</module> |
| 86 | + <module>validator-plugin-pcrs</module> |
| 87 | + </modules> |
| 88 | + |
| 89 | + |
| 90 | + <dependencies> |
| 91 | + <!-- |
| 92 | + ################################################################ |
| 93 | + Logging |
| 94 | + ################################################################ |
| 95 | + --> |
| 96 | + |
| 97 | + <dependency> |
| 98 | + <groupId>org.apache.logging.log4j</groupId> |
| 99 | + <artifactId>log4j-api</artifactId> |
| 100 | + <version>${log4j.version}</version> |
| 101 | + </dependency> |
| 102 | + <dependency> |
| 103 | + <groupId>org.apache.logging.log4j</groupId> |
| 104 | + <artifactId>log4j-core</artifactId> |
| 105 | + <version>${log4j.version}</version> |
| 106 | + </dependency> |
| 107 | + <!-- log4j2 dependency--> |
| 108 | + <dependency> |
| 109 | + <groupId>org.codehaus.woodstox</groupId> |
| 110 | + <artifactId>woodstox-core-asl</artifactId> |
| 111 | + <version>${woodstox-core-asl.version}</version> |
| 112 | + </dependency> |
| 113 | + |
| 114 | + <!-- |
| 115 | + ################################################################ |
| 116 | + Apache common helpers |
| 117 | + ################################################################ |
| 118 | + --> |
| 119 | + |
| 120 | + <!-- List files, read files,... --> |
| 121 | + <dependency> |
| 122 | + <groupId>commons-io</groupId> |
| 123 | + <artifactId>commons-io</artifactId> |
| 124 | + <version>${apache-common-io.version}</version> |
| 125 | + </dependency> |
| 126 | + |
| 127 | + <!-- Command line option parser --> |
| 128 | + <dependency> |
| 129 | + <groupId>commons-cli</groupId> |
| 130 | + <artifactId>commons-cli</artifactId> |
| 131 | + <version>${apache-common-cli.version}</version> |
| 132 | + </dependency> |
| 133 | + |
| 134 | + <!-- Read/write CSV files --> |
| 135 | + <dependency> |
| 136 | + <groupId>org.apache.commons</groupId> |
| 137 | + <artifactId>commons-csv</artifactId> |
| 138 | + <version>${apache-commons-csv.version}</version> |
| 139 | + </dependency> |
| 140 | + |
| 141 | + <!-- String helpers --> |
| 142 | + <dependency> |
| 143 | + <groupId>commons-lang</groupId> |
| 144 | + <artifactId>commons-lang</artifactId> |
| 145 | + <version>${apache-commons-lang.version}</version> |
| 146 | + </dependency> |
| 147 | + |
| 148 | + <!-- |
| 149 | + ################################################################ |
| 150 | + Jackson to read/write JSON |
| 151 | + ################################################################ |
| 152 | + --> |
| 153 | + <dependency> |
| 154 | + <groupId>com.fasterxml.jackson.core</groupId> |
| 155 | + <artifactId>jackson-core</artifactId> |
| 156 | + <version>${jackson.version}</version> |
| 157 | + </dependency> |
| 158 | + <dependency> |
| 159 | + <groupId>com.fasterxml.jackson.core</groupId> |
| 160 | + <artifactId>jackson-databind</artifactId> |
| 161 | + <version>${jackson.databind.version}</version> |
| 162 | + </dependency> |
| 163 | + <dependency> |
| 164 | + <groupId>com.fasterxml.jackson.core</groupId> |
| 165 | + <artifactId>jackson-annotations</artifactId> |
| 166 | + <version>${jackson.version}</version> |
| 167 | + </dependency> |
| 168 | + |
| 169 | + <!-- |
| 170 | + ################################################################ |
| 171 | + Spatial libraries (projections and geometries) |
| 172 | + ################################################################ |
| 173 | + --> |
| 174 | + |
| 175 | + <!-- JTS throw geotools --> |
| 176 | + <dependency> |
| 177 | + <groupId>org.geotools</groupId> |
| 178 | + <artifactId>gt-main</artifactId> |
| 179 | + <version>${geotools.version}</version> |
| 180 | + </dependency> |
| 181 | + |
| 182 | + <!-- geotools epsg references --> |
| 183 | + <dependency> |
| 184 | + <groupId>org.geotools</groupId> |
| 185 | + <artifactId>gt-referencing</artifactId> |
| 186 | + <version>${geotools.version}</version> |
| 187 | + </dependency> |
| 188 | + <!-- |
| 189 | + Embedded database for common CRS |
| 190 | + (with official lat/lon for EPSG:4326) |
| 191 | + --> |
| 192 | + <dependency> |
| 193 | + <groupId>org.geotools</groupId> |
| 194 | + <artifactId>gt-epsg-hsql</artifactId> |
| 195 | + <version>${geotools.version}</version> |
| 196 | + </dependency> |
| 197 | + |
| 198 | + <!-- |
| 199 | + ################################################################ |
| 200 | + XML parsing |
| 201 | + ################################################################ |
| 202 | + --> |
| 203 | + |
| 204 | + <!-- jdom and jaxen (XPath) are required to parse metadata --> |
| 205 | + <dependency> |
| 206 | + <groupId>jdom</groupId> |
| 207 | + <artifactId>jdom</artifactId> |
| 208 | + <version>${jdom.version}</version> |
| 209 | + </dependency> |
| 210 | + <dependency> |
| 211 | + <groupId>jaxen</groupId> |
| 212 | + <artifactId>jaxen</artifactId> |
| 213 | + <version>${jaxen.version}</version> |
| 214 | + </dependency> |
| 215 | + |
| 216 | + |
| 217 | + <!-- |
| 218 | + ################################################################ |
| 219 | + JDBC drivers |
| 220 | + ################################################################ |
| 221 | + --> |
| 222 | + |
| 223 | + <!-- Driver SQLite --> |
| 224 | + <dependency> |
| 225 | + <groupId>org.xerial</groupId> |
| 226 | + <artifactId>sqlite-jdbc</artifactId> |
| 227 | + <version>${sqlite-jdbc.version}</version> |
| 228 | + </dependency> |
| 229 | + <!-- Drive postgresql --> |
| 230 | + <dependency> |
| 231 | + <groupId>org.postgresql</groupId> |
| 232 | + <artifactId>postgresql</artifactId> |
| 233 | + <version>${postgresql.version}</version> |
| 234 | + </dependency> |
| 235 | + |
| 236 | + <!-- |
| 237 | + ################################################################ |
| 238 | + Test dependencies |
| 239 | + ################################################################ |
| 240 | + --> |
| 241 | + |
| 242 | + <dependency> |
| 243 | + <groupId>junit</groupId> |
| 244 | + <artifactId>junit</artifactId> |
| 245 | + <version>${junit.version}</version> |
| 246 | + <scope>test</scope> |
| 247 | + </dependency> |
| 248 | + |
| 249 | + <dependency> |
| 250 | + <groupId>org.mockito</groupId> |
| 251 | + <artifactId>mockito-core</artifactId> |
| 252 | + <version>${mockito.version}</version> |
| 253 | + <scope>test</scope> |
| 254 | + </dependency> |
| 255 | + |
| 256 | + <dependency> |
| 257 | + <groupId>org.skyscreamer</groupId> |
| 258 | + <artifactId>jsonassert</artifactId> |
| 259 | + <version>${jsonassert.version}</version> |
| 260 | + <scope>test</scope> |
| 261 | + </dependency> |
| 262 | + </dependencies> |
| 263 | + |
| 264 | + <repositories> |
| 265 | + |
| 266 | + <repository> |
| 267 | + <id>maven</id> |
| 268 | + <name>Maven central repository</name> |
| 269 | + <url>https://repo1.maven.org/maven2/</url> |
| 270 | + </repository> |
| 271 | + |
| 272 | + <repository> |
| 273 | + <id>osgeo</id> |
| 274 | + <name>OSGeo Release Repository</name> |
| 275 | + <url>https://repo.osgeo.org/repository/release/</url> |
| 276 | + <snapshots> |
| 277 | + <enabled>false</enabled> |
| 278 | + </snapshots> |
| 279 | + <releases> |
| 280 | + <enabled>true</enabled> |
| 281 | + </releases> |
| 282 | + </repository> |
| 283 | + |
| 284 | + </repositories> |
| 285 | + |
| 286 | + |
| 287 | + <build> |
| 288 | + <plugins> |
| 289 | + <plugin> |
| 290 | + <groupId>org.apache.maven.plugins</groupId> |
| 291 | + <artifactId>maven-surefire-plugin</artifactId> |
| 292 | + <version>${maven-surefire-plugin.version}</version> |
| 293 | + <configuration> |
| 294 | + <useSystemClassLoader>false</useSystemClassLoader> |
| 295 | + <argLine>@{argLine} --illegal-access=permit</argLine> |
| 296 | + </configuration> |
| 297 | + </plugin> |
| 298 | + |
| 299 | + <plugin> |
| 300 | + <groupId>net.revelc.code.formatter</groupId> |
| 301 | + <artifactId>formatter-maven-plugin</artifactId> |
| 302 | + </plugin> |
| 303 | + |
| 304 | + </plugins> |
| 305 | + <pluginManagement> |
| 306 | + <plugins> |
| 307 | + <plugin> |
| 308 | + <groupId>org.apache.maven.plugins</groupId> |
| 309 | + <artifactId>maven-compiler-plugin</artifactId> |
| 310 | + <version>${maven-compiler-plugin.version}</version> |
| 311 | + <configuration> |
| 312 | + <source>${java.version}</source> |
| 313 | + <target>${java.version}</target> |
| 314 | + </configuration> |
| 315 | + </plugin> |
| 316 | + |
| 317 | + <!-- mvn release:prepare --> |
| 318 | + <plugin> |
| 319 | + <groupId>org.apache.maven.plugins</groupId> |
| 320 | + <artifactId>maven-release-plugin</artifactId> |
| 321 | + <version>${maven-release-plugin.version}</version> |
| 322 | + <configuration> |
| 323 | + <tagNameFormat>v@{project.version}</tagNameFormat> |
| 324 | + </configuration> |
| 325 | + </plugin> |
| 326 | + |
| 327 | + <!-- mvn formatter:format --> |
| 328 | + <plugin> |
| 329 | + <groupId>net.revelc.code.formatter</groupId> |
| 330 | + <artifactId>formatter-maven-plugin</artifactId> |
| 331 | + <version>${maven-formatter-plugin.version}</version> |
| 332 | + <configuration> |
| 333 | + <configFile>${project.parent.basedir}/eclipse/formatter-config.xml</configFile> |
| 334 | + </configuration> |
| 335 | + </plugin> |
| 336 | + |
| 337 | + |
| 338 | + <!-- coverage --> |
| 339 | + <plugin> |
| 340 | + <groupId>org.jacoco</groupId> |
| 341 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 342 | + <version>${jacoco-maven-plugin.version}</version> |
| 343 | + </plugin> |
| 344 | + |
| 345 | + </plugins> |
| 346 | + </pluginManagement> |
| 347 | + |
| 348 | + |
| 349 | + </build> |
| 350 | + |
| 351 | + <profiles> |
| 352 | + <profile> |
| 353 | + <id>coverage</id> |
| 354 | + <activation> |
| 355 | + <activeByDefault>true</activeByDefault> |
| 356 | + </activation> |
| 357 | + <build> |
| 358 | + <plugins> |
| 359 | + <plugin> |
| 360 | + <groupId>org.jacoco</groupId> |
| 361 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 362 | + <executions> |
| 363 | + <execution> |
| 364 | + <id>prepare-agent</id> |
| 365 | + <goals> |
| 366 | + <goal>prepare-agent</goal> |
| 367 | + </goals> |
| 368 | + </execution> |
| 369 | + </executions> |
| 370 | + </plugin> |
| 371 | + </plugins> |
| 372 | + </build> |
| 373 | + </profile> |
| 374 | + </profiles> |
| 375 | +</project> |
0 commit comments