sreedharkesarla / spock

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

spock-maven 0.7-groovy-2.0 has SNAPSHOT version in maven/plugin.xml #339

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Created pull request with the fix:
https://github.com/spockframework/spock/pull/35

Original comment by pvdis...@gmail.com on 26 Jan 2014 at 5:11