|
|
@ -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,22 +80,22 @@
|
|
|
|
<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>
|
|
|
|
<scope>test</scope>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependency>
|
|
|
|
<!-- Dependencies used by examples in this project (not required for using Spock) -->
|
|
|
|
<!-- Dependencies used by examples in this project (not required for using Spock) -->
|
|
|
|
<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>
|
|
|
|
|
|
|
|
|
|
|
|
<repositories>
|
|
|
|
<repositories>
|
|
|
|
<!-- Only required if a snapshot version of Spock is used -->
|
|
|
|
<!-- Only required if a snapshot version of Spock is used -->
|
|
|
|
<repository>
|
|
|
|
<repository>
|
|
|
|
<id>spock-snapshots</id>
|
|
|
|
<id>spock-snapshots</id>
|
|
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
|
|
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
|
|
|
@ -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>
|
|
|
|