MVN

org.spockframework : spock-maven

Maven & Gradle

Oct 08, 2012
5 usages
3.5k stars

Spock Framework - Maven Module · Spock's Maven Module provides some advanced features when executing Spock specifications with Maven 2. This module is purely optional; Maven 2/3 will execute Spock specifications just fine without it.

<dependency>
    <groupId>org.spockframework</groupId>
    <artifactId>spock-maven</artifactId>
    <version>0.7-groovy-2.0</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of org.spockframework : spock-maven to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 0.7-groovy-2.0
  • Latest Release Candidate: 0.6-groovy-1.8-rc-1

All Versions

Choose a version of org.spockframework : spock-maven to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
0.7
spock-maven-0.7-groovy-2.0
spock-maven-0.7-groovy-1.8
0.6
spock-maven-0.6-groovy-1.8
spock-maven-0.6-groovy-1.7
spock-maven-0.6-groovy-1.8-rc-1
spock-maven-0.6-groovy-1.7-rc-1
0.5
spock-maven-0.5-groovy-1.8
spock-maven-0.5-groovy-1.7
spock-maven-0.5-groovy-1.6
0.4
spock-maven-0.4-groovy-1.7
spock-maven-0.4-groovy-1.6
0.3
spock-maven-0.3
0.2
spock-maven-0.2
0.1
spock-maven-0.1

How to add a dependency to Maven

Add the following org.spockframework : spock-maven maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>org.spockframework</groupId>
    <artifactId>spock-maven</artifactId>
    <version>0.7-groovy-2.0</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following org.spockframework : spock-maven gradle dependency to your build.gradle file:

implementation 'org.spockframework:spock-maven:0.7-groovy-2.0'

Gradle Kotlin DSL: Add the following org.spockframework : spock-maven gradle kotlin dependency to your build.gradle.kts file:

implementation("org.spockframework:spock-maven:0.7-groovy-2.0")

How to add a dependency to SBT Scala

SBT Scala: Add the following org.spockframework : spock-maven sbt scala dependency to your build.sbt file:

libraryDependencies += "org.spockframework" % "spock-maven" % "0.7-groovy-2.0"

Advertisement