|
I'm unable to run tests now after attempting to include code coverage.
The error I'm seeing when attempting to run the tests is: :::: ERRORS grailsCentral: bad organisation found in http://grails.org/plugins/grails-code-coverage/tags/RELEASE_1_2_5/code-coverage-1.2.5.pom: expected='' found='org.grails.plugins' This was after I have just added test to the dependencies in my BuildConfig.groovy file. dependencies { // specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes eg. test ":code-coverage:1.2.5" } I've never had any luck with doing anything in BuildConfig so I'm assuming I'm doing something wrong. Any help would be appreciated. -- Brian Doyle Director of Engineering @ Closely 1822 Blake St. Denver, CO 80202 @brian_doyle - Twitter --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
The 'dependencies' section in BuildConfig is for .jar library dependencies - try moving the plugin definition under the 'plugins' section:
plugins { test ":code-coverage:1.2.5" ... } On Sat, Aug 11, 2012 at 7:00 PM, Brian Doyle <[hidden email]> wrote: I'm unable to run tests now after attempting to include code coverage. |
|
Thanks Craig. Worked like a charm!
On Sat, Aug 11, 2012 at 6:14 PM, Craig Atkinson <[hidden email]> wrote: > The 'dependencies' section in BuildConfig is for .jar library dependencies - > try moving the plugin definition under the 'plugins' section: > > plugins { > test ":code-coverage:1.2.5" > ... > } > > On Sat, Aug 11, 2012 at 7:00 PM, Brian Doyle <[hidden email]> > wrote: >> >> I'm unable to run tests now after attempting to include code coverage. >> The error I'm seeing when attempting to run the tests is: >> >> :::: ERRORS >> grailsCentral: bad organisation found in >> >> http://grails.org/plugins/grails-code-coverage/tags/RELEASE_1_2_5/code-coverage-1.2.5.pom: >> expected='' found='org.grails.plugins' >> >> This was after I have just added test to the dependencies in my >> BuildConfig.groovy file. >> >> dependencies { >> // specify dependencies here under either 'build', 'compile', >> 'runtime', 'test' or 'provided' scopes eg. >> test ":code-coverage:1.2.5" >> } >> >> I've never had any luck with doing anything in BuildConfig so I'm >> assuming I'm doing something wrong. Any help would be appreciated. >> >> -- >> Brian Doyle >> Director of Engineering @ Closely >> 1822 Blake St. >> Denver, CO 80202 >> @brian_doyle - Twitter >> >> --------------------------------------------------------------------- >> To unsubscribe from this list, please visit: >> >> http://xircles.codehaus.org/manage_email >> >> > -- Brian Doyle Director of Engineering @ Closely 1822 Blake St. Denver, CO 80202 @brian_doyle - Twitter --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
| Powered by Nabble | Edit this page |
