jtanistra / spock

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

Plugin missing from mavenRepo /m2repo.spockframework.org #241

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Per installation instructions on the spock grails plugin page 
(http://grails.org/plugin/spock), I added the following dependencies to the 
BuildConfig.groovy file in my grails 2.0.1 project for the spock version 0.6:

repositories {
  mavenRepo "http://m2repo.spockframework.org/snapshots/"
}
plugins {
  test ":spock:0.6"
}

A unresolved dependency error occurs when I run test-app:
==== http://m2repo.spockframework.org/snapshots/: tried
      http://m2repo.spockframework.org/snapshots/org/grails/plugins/spock/0.6/spock-0.6.pom
      -- artifact org.grails.plugins#spock;0.6!spock.zip:
      http://m2repo.spockframework.org/snapshots/org/grails/plugins/spock/0.6/spock-0.6.zip

...MY LOCAL REPOSITORY CHECKS AND GRAILS CENTRAL CHECKS...

::::::::::::::::::::::::::::::::::::::::::::::
::          UNRESOLVED DEPENDENCIES         ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.grails.plugins#spock;0.6: not found
::::::::::::::::::::::::::::::::::::::::::::::

| Error Failed to resolve dependencies (Set log level to 'warn' in 
BuildConfig.groovy for more information):

- org.grails.plugins:spock:0.6

I looked at http://m2repo.spockframework.org/snapshots/org/grails/ and there 
isn't a plugins directory in the repository; only /grails/1.3.0.RC2/

Any help would be appreciated.

Original issue reported on code.google.com by HeidiEll...@gmail.com on 7 Mar 2012 at 7:37

GoogleCodeExporter commented 8 years ago
I am to having the same trouble with spock:0.6 version.
Kindly let me know if anybody has found out a solution for the same.

Original comment by nikhilsn...@gmail.com on 26 Mar 2012 at 5:46

GoogleCodeExporter commented 8 years ago
You need to add Maven Central, not http://m2repo.spockframework.org/snapshots/.

Original comment by pnied...@gmail.com on 26 Mar 2012 at 5:48

GoogleCodeExporter commented 8 years ago
Issue seems obsolete. spock-grails 0.6 is available from Central.

Original comment by pnied...@gmail.com on 12 May 2012 at 12:57