|
12 | 12 | *
|
13 | 13 | **/
|
14 | 14 | -->
|
15 |
| -<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"> |
| 15 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 16 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 17 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
16 | 18 | <modelVersion>4.0.0</modelVersion>
|
17 | 19 |
|
18 | 20 | <groupId>org.codice.test</groupId>
|
|
36 | 38 | </licenses>
|
37 | 39 |
|
38 | 40 | <properties>
|
| 41 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 42 | + |
39 | 43 | <!-- default URL properties -->
|
40 | 44 | <codice.scm.connection.url />
|
41 | 45 | <snapshots.repository.url />
|
42 | 46 | <reports.repository.url />
|
43 | 47 |
|
44 |
| - <maven.compiler.source>1.8</maven.compiler.source> |
45 |
| - <maven.compiler.target>1.8</maven.compiler.target> |
| 48 | + <maven.compiler.source>11</maven.compiler.source> |
| 49 | + <maven.compiler.target>11</maven.compiler.target> |
| 50 | + <maven.compiler.release>11</maven.compiler.release> |
46 | 51 |
|
47 |
| - <codice-maven.version>0.1</codice-maven.version> |
| 52 | + <codice-maven.version>0.2</codice-maven.version> |
48 | 53 |
|
49 | 54 | <commons-lang.version>2.6</commons-lang.version>
|
50 |
| - <guava.version>23.0</guava.version> |
| 55 | + <guava.version>26.0-jre</guava.version> |
51 | 56 | <jsr305.version>3.0.2_1</jsr305.version>
|
52 | 57 | <org.slf4j.version>1.7.1</org.slf4j.version>
|
53 | 58 | <jodah-failsafe.version>0.9.5</jodah-failsafe.version>
|
54 | 59 | <logback.version>1.2.3</logback.version>
|
55 | 60 | <logback.classic.version>1.2.3</logback.classic.version>
|
56 | 61 |
|
57 | 62 | <junit.version>4.12</junit.version>
|
58 |
| - <spock.version>1.1-groovy-2.4</spock.version> |
59 |
| - <groovy.version>2.4.7</groovy.version> |
60 |
| - <mockito-core.version>2.8.47</mockito-core.version> |
| 63 | + <spock.version>1.2-groovy-2.5</spock.version> |
| 64 | + <groovy.version>2.5.3-SNAPSHOT</groovy.version> |
| 65 | + <mockito-core.version>2.23.0</mockito-core.version> |
61 | 66 | <hamcrest-all.version>1.3</hamcrest-all.version>
|
62 | 67 |
|
63 |
| - <javassist.version>3.22.0-GA</javassist.version> |
| 68 | + <javassist.version>3.23.1-GA</javassist.version> |
64 | 69 |
|
65 | 70 | <!-- Gitflow Incremental Builder Properties -->
|
66 | 71 | <gib.referenceBranch>refs/remotes/origin/master</gib.referenceBranch>
|
|
69 | 74 | <gib.failOnError>false</gib.failOnError>
|
70 | 75 |
|
71 | 76 | <!-- Maven Plugin Version Properties -->
|
72 |
| - <maven-jacoco-plugin.version>0.8.1</maven-jacoco-plugin.version> |
| 77 | + <maven-jacoco-plugin.version>0.8.2</maven-jacoco-plugin.version> |
| 78 | + <maven-surefire-plugin.version>2.22.0</maven-surefire-plugin.version> |
73 | 79 | </properties>
|
74 | 80 |
|
75 | 81 | <scm>
|
|
112 | 118 | <name>Codice Repository</name>
|
113 | 119 | <url>https://artifacts.codice.org/content/groups/public/</url>
|
114 | 120 | </repository>
|
| 121 | + <repository> |
| 122 | + <!-- Temp repo to get Groovy snapshot - must set mirrors in settings.xml to "*,!oss-jfrog" --> |
| 123 | + <id>oss-jfrog</id> |
| 124 | + <url>https://oss.jfrog.org/artifactory/libs-snapshot/</url> |
| 125 | + <snapshots> |
| 126 | + <enabled>true</enabled> |
| 127 | + </snapshots> |
| 128 | + </repository> |
115 | 129 | </repositories>
|
116 | 130 |
|
117 | 131 | <pluginRepositories>
|
|
201 | 215 | </dependency>
|
202 | 216 | <dependency>
|
203 | 217 | <groupId>org.codehaus.groovy</groupId>
|
204 |
| - <artifactId>groovy-all</artifactId> |
| 218 | + <artifactId>groovy-dateutil</artifactId> |
205 | 219 | <version>${groovy.version}</version>
|
206 | 220 | </dependency>
|
207 | 221 | <dependency>
|
208 | 222 | <groupId>org.spockframework</groupId>
|
209 | 223 | <artifactId>spock-core</artifactId>
|
210 | 224 | <version>${spock.version}</version>
|
| 225 | + <!-- Need to exclude groovy artifacts as spock is pulling in an older version --> |
211 | 226 | <exclusions>
|
212 | 227 | <exclusion>
|
213 | 228 | <groupId>org.codehaus.groovy</groupId>
|
214 | 229 | <artifactId>groovy-all</artifactId>
|
215 | 230 | </exclusion>
|
| 231 | + <exclusion> |
| 232 | + <groupId>org.codehaus.groovy</groupId> |
| 233 | + <artifactId>groovy</artifactId> |
| 234 | + </exclusion> |
| 235 | + <exclusion> |
| 236 | + <groupId>org.codehaus.groovy</groupId> |
| 237 | + <artifactId>groovy-groovysh</artifactId> |
| 238 | + </exclusion> |
| 239 | + <exclusion> |
| 240 | + <groupId>org.codehaus.groovy</groupId> |
| 241 | + <artifactId>groovy-json</artifactId> |
| 242 | + </exclusion> |
| 243 | + <exclusion> |
| 244 | + <groupId>org.codehaus.groovy</groupId> |
| 245 | + <artifactId>groovy-macro</artifactId> |
| 246 | + </exclusion> |
| 247 | + <exclusion> |
| 248 | + <groupId>org.codehaus.groovy</groupId> |
| 249 | + <artifactId>groovy-nio</artifactId> |
| 250 | + </exclusion> |
| 251 | + <exclusion> |
| 252 | + <groupId>org.codehaus.groovy</groupId> |
| 253 | + <artifactId>groovy-sql</artifactId> |
| 254 | + </exclusion> |
| 255 | + <exclusion> |
| 256 | + <groupId>org.codehaus.groovy</groupId> |
| 257 | + <artifactId>groovy-templates</artifactId> |
| 258 | + </exclusion> |
| 259 | + <exclusion> |
| 260 | + <groupId>org.codehaus.groovy</groupId> |
| 261 | + <artifactId>groovy-test</artifactId> |
| 262 | + </exclusion> |
| 263 | + <exclusion> |
| 264 | + <groupId>org.codehaus.groovy</groupId> |
| 265 | + <artifactId>groovy-xml</artifactId> |
| 266 | + </exclusion> |
216 | 267 | </exclusions>
|
217 | 268 | </dependency>
|
218 | 269 | </dependencies>
|
|
229 | 280 |
|
230 | 281 | <pluginManagement>
|
231 | 282 | <plugins>
|
| 283 | + <plugin> |
| 284 | + <groupId>org.apache.maven.plugins</groupId> |
| 285 | + <artifactId>maven-compiler-plugin</artifactId> |
| 286 | + <version>3.8.0</version> |
| 287 | + </plugin> |
232 | 288 | <plugin>
|
233 | 289 | <groupId>org.apache.maven.plugins</groupId>
|
234 | 290 | <artifactId>maven-jar-plugin</artifactId>
|
235 |
| - <version>3.0.2</version> |
| 291 | + <version>3.1.0</version> |
236 | 292 | </plugin>
|
237 | 293 | <plugin>
|
238 | 294 | <groupId>org.apache.maven.plugins</groupId>
|
239 | 295 | <artifactId>maven-assembly-plugin</artifactId>
|
240 |
| - <version>2.2.2</version> |
| 296 | + <version>3.1.0</version> |
241 | 297 | </plugin>
|
242 | 298 | <plugin>
|
243 | 299 | <groupId>org.jacoco</groupId>
|
|
262 | 318 | <plugin>
|
263 | 319 | <groupId>org.apache.maven.plugins</groupId>
|
264 | 320 | <artifactId>maven-surefire-plugin</artifactId>
|
265 |
| - <version>2.20.1</version> |
| 321 | + <version>${maven-surefire-plugin.version}</version> |
266 | 322 | <configuration>
|
267 |
| - <argLine>${argLine} -Djava.awt.headless=true -noverify</argLine> |
| 323 | + <argLine>${argLine} -Djava.awt.headless=true -noverify |
| 324 | + </argLine> |
268 | 325 | <includes>
|
269 | 326 | <include>**/*Test.java</include>
|
270 | 327 | <include>**/*Spec.class</include>
|
271 | 328 | </includes>
|
272 | 329 | </configuration>
|
| 330 | + <dependencies> |
| 331 | + <!-- without this dependency, surefire uses testng instead --> |
| 332 | + <dependency> |
| 333 | + <groupId>org.apache.maven.surefire</groupId> |
| 334 | + <artifactId>surefire-junit47</artifactId> |
| 335 | + <version>${maven-surefire-plugin.version}</version> |
| 336 | + </dependency> |
| 337 | + </dependencies> |
273 | 338 | </plugin>
|
274 | 339 | </plugins>
|
275 | 340 | </pluginManagement>
|
|
278 | 343 | <plugin>
|
279 | 344 | <groupId>com.coveo</groupId>
|
280 | 345 | <artifactId>fmt-maven-plugin</artifactId>
|
281 |
| - <version>2.0.0</version> |
| 346 | + <version>2.5.1</version> |
282 | 347 | <executions>
|
283 | 348 | <execution>
|
284 | 349 | <phase>validate</phase>
|
|
291 | 356 | <plugin>
|
292 | 357 | <groupId>org.codehaus.gmavenplus</groupId>
|
293 | 358 | <artifactId>gmavenplus-plugin</artifactId>
|
294 |
| - <version>1.5</version> |
| 359 | + <version>1.6.1</version> |
295 | 360 | <executions>
|
296 | 361 | <execution>
|
297 | 362 | <goals>
|
298 | 363 | <goal>compile</goal>
|
299 |
| - <goal>testCompile</goal> |
| 364 | + <goal>compileTests</goal> |
300 | 365 | </goals>
|
301 | 366 | </execution>
|
302 | 367 | </executions>
|
| 368 | + <configuration> |
| 369 | + <!-- does not yet support 11 --> |
| 370 | + <targetBytecode>1.8</targetBytecode> |
| 371 | + </configuration> |
303 | 372 | </plugin>
|
304 | 373 | <plugin>
|
305 | 374 | <groupId>org.jacoco</groupId>
|
|
0 commit comments