Switch Maven build to gmavenplus plugin and bump dependency versions
This commit is contained in:
@@ -14,15 +14,14 @@
|
|||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<!-- Mandatory plugins for using Spock -->
|
|
||||||
<plugins>
|
<plugins>
|
||||||
|
<!-- Mandatory plugins for using Spock -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.gmaven</groupId>
|
<!-- The gmavenplus plugin is used to compile Groovy code. To learn more about this plugin,
|
||||||
<artifactId>gmaven-plugin</artifactId>
|
visit https://github.com/groovy/GMavenPlus/wiki -->
|
||||||
|
<groupId>org.codehaus.gmavenplus</groupId>
|
||||||
|
<artifactId>gmavenplus-plugin</artifactId>
|
||||||
<version>1.4</version>
|
<version>1.4</version>
|
||||||
<configuration>
|
|
||||||
<providerSelection>2.0</providerSelection>
|
|
||||||
</configuration>
|
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<goals>
|
<goals>
|
||||||
@@ -31,27 +30,9 @@
|
|||||||
</goals>
|
</goals>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
<dependencies>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.codehaus.gmaven.runtime</groupId>
|
|
||||||
<artifactId>gmaven-runtime-2.0</artifactId>
|
|
||||||
<version>1.4</version>
|
|
||||||
<exclusions>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.codehaus.groovy</groupId>
|
|
||||||
<artifactId>groovy-all</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
</exclusions>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.codehaus.groovy</groupId>
|
|
||||||
<artifactId>groovy-all</artifactId>
|
|
||||||
<version>2.3.8</version>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
|
||||||
</plugin>
|
</plugin>
|
||||||
<!-- Optional plugins for using Spock -->
|
<!-- Optional plugins for using Spock -->
|
||||||
<!-- Only required if default Surefire configuration is not satisfactory -->
|
<!-- Only required if names of spec classes don't match default Surefire patterns (`*Test` etc.) -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-surefire-plugin</artifactId>
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
<version>2.6</version>
|
<version>2.6</version>
|
||||||
@@ -82,6 +63,11 @@
|
|||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- Optional dependencies for using Spock -->
|
<!-- Optional dependencies for using Spock -->
|
||||||
|
<dependency> <!-- use a specific Groovy version rather than the one specified by spock-core -->
|
||||||
|
<groupId>org.codehaus.groovy</groupId>
|
||||||
|
<artifactId>groovy-all</artifactId>
|
||||||
|
<version>2.3.10</version>
|
||||||
|
</dependency>
|
||||||
<dependency> <!-- enables mocking of classes (in addition to interfaces) -->
|
<dependency> <!-- enables mocking of classes (in addition to interfaces) -->
|
||||||
<groupId>cglib</groupId>
|
<groupId>cglib</groupId>
|
||||||
<artifactId>cglib-nodep</artifactId>
|
<artifactId>cglib-nodep</artifactId>
|
||||||
@@ -94,7 +80,7 @@
|
|||||||
<version>2.1</version>
|
<version>2.1</version>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency> <!-- only necessary if Hamcrest matchers are used -->
|
<dependency> <!-- only required if Hamcrest matchers are used -->
|
||||||
<groupId>org.hamcrest</groupId>
|
<groupId>org.hamcrest</groupId>
|
||||||
<artifactId>hamcrest-core</artifactId>
|
<artifactId>hamcrest-core</artifactId>
|
||||||
<version>1.3</version>
|
<version>1.3</version>
|
||||||
@@ -104,7 +90,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.h2database</groupId>
|
<groupId>com.h2database</groupId>
|
||||||
<artifactId>h2</artifactId>
|
<artifactId>h2</artifactId>
|
||||||
<version>1.4.182</version>
|
<version>1.4.185</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
@@ -119,17 +105,6 @@
|
|||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
<!-- Only required if a snapshot version of Spock's Maven plugin is used -->
|
|
||||||
<pluginRepositories>
|
|
||||||
<pluginRepository>
|
|
||||||
<id>spock-snapshots</id>
|
|
||||||
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
|
|
||||||
<snapshots>
|
|
||||||
<enabled>true</enabled>
|
|
||||||
</snapshots>
|
|
||||||
</pluginRepository>
|
|
||||||
</pluginRepositories>
|
|
||||||
|
|
||||||
<!-- Only required in spock-example build -->
|
<!-- Only required in spock-example build -->
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
<repository>
|
<repository>
|
||||||
|
|||||||
Reference in New Issue
Block a user