I added all dependencies and plugins from the sample of
http://nzhu.blogspot.nl/2011/01/sample-pomxml-for-groovy-project-with.html and
upgraded it to the following versions:
- spock 0.7-groovy-2.0
- groovy 2.2.1
- gmaven 1.5
- gmaven providerSelection 2.0
When running `mvn test` I receive the following Maven error:
[ERROR] Invalid plugin descriptor for org.spockframework:spock-maven:0.7-groovy-2.0 (/home/pvdissel/.m2/repository/org/spockframework/spock-maven/0.7-groovy-2.0/spock-maven-0.7-groovy-2.0.jar), Plugin's descriptor contains the wrong version: 0.7-groovy-2.0-SNAPSHOT -> [Help 1]
I unpacked the plugin jar file:
~/.m2/repository/org/spockframework/spock-maven/0.7-groovy-2.0/spock-maven-0.7-g
roovy-2.0.jar
And found "0.7-groovy-2.0-SNAPSHOT" in the file:
META-INF/maven/plugin.xml
I think it's best to automaticly update that version in the plugin.xml during
the creation of a new release.
I will see if I can implement this over the weekend.
Original issue reported on code.google.com by pvdis...@gmail.com on 9 Jan 2014 at 11:30
Original issue reported on code.google.com by
pvdis...@gmail.com
on 9 Jan 2014 at 11:30