liuyingyyll / spock

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

spock-maven in central repository is not valid #365

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem? If possible, provide source code and
stack trace.
1.create a pom with spock maven plugin, like:
<plugin>
<groupId>org.spockframework</groupId>
<artifactId>spock-maven</artifactId>
<version>0.7-groovy-1.8</version>
<executions>
  <execution>
    <goals>
      <goal>find-specs</goal>
    </goals>
  </execution>
</executions>
</plugin>
2.execute: mvn clean install
3.will see error log:
Plugin's descriptor contains the wrong version: 0.7-groovy-1.8-SNAPSHOT
According to : 
https://cwiki.apache.org/confluence/display/MAVEN/InvalidPluginDescriptorExcepti
on
"The plugin descriptor is a special file in the plugin's JAR. An invalid 
descriptor is usually the result of bad tooling while assembling the plugin."

What version of Spock and Groovy are you using?

spock: 0.7-groovy-1.8, groovy: 2.3
spock: 0.7-groovy-2.0, groovy: 2.3

Please provide any additional information below. You can also assign
labels.

Original issue reported on code.google.com by lanxia...@gmail.com on 28 May 2014 at 1:07

GoogleCodeExporter commented 8 years ago

Original comment by pnied...@gmail.com on 28 May 2014 at 4:40