thanneeruvenu / spock

Automatically exported from code.google.com/p/spock
0 stars 0 forks source link

Plugin incompatible with Grails 2.1.1 #279

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Missing artifact :spock-grails-support:0.7-groovy-2.0-SNAPSHOT

What steps will reproduce the problem? 

1. grails create-app
2. Edit BuildConfig.groovy as follows:
...
mavenRepo "http://m2repo.spockframework.org/snapshots/"
mavenRepo "http://oss.sonatype.org/content/repositories/snapshots/"
}
dependencies{
    test "org.spockframework:spock-grails-support:0.7-groovy-2.0-SNAPSHOT"
}
plugins{ test(":spock:0.7-SNAPSHOT"){
    exclude "spock-grails-support"
}
}
...

2. grails refresh-dependencies

source code and stack trace attached.

Grails 2.1.1
Spock 0.7-SNAPSHOT

Results in the following error message:

::::::::::::::::::::::::::::::::::::::::::::::
::          UNRESOLVED DEPENDENCIES         ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.spockframework#spock-grails-support;0.7-groovy-2.0-SNAPSHOT: not found
::::::::::::::::::::::::::::::::::::::::::::::

Original issue reported on code.google.com by dacoa...@gmail.com on 1 Nov 2012 at 11:03

Attachments:

GoogleCodeExporter commented 8 years ago
http://m2repo.spockframework.org no longer exists. 
http://oss.sonatype.org/content/repositories/snapshots/ is the correct repo for 
snapshots. However, snapshots get deleted after a release. Please follow the 
installation instructions for 0.7 final at http://grails.org/plugin/spock.

Original comment by pnied...@gmail.com on 1 Nov 2012 at 11:09

GoogleCodeExporter commented 8 years ago

Original comment by pnied...@gmail.com on 1 Nov 2012 at 11:10

GoogleCodeExporter commented 8 years ago
Thank you, that did it. 

FYI... for Grails 2.1.1, following the Spock plugin installation instructions 
for Grails 2.0, and not 2.2.

Original comment by dacoa...@gmail.com on 5 Nov 2012 at 6:35