I ended up with the following solution to be able to run spock tests
in a maven project, in eclipse, but without m2e or m2eclipse.
-1. use the latest version of the groovy eclipse plugin
-2. configure the maven eclipse pluging as follows: (note the
<sourceInclude> and the groovy nature)
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.9</version>
<configuration>
<wtpversion>2.0</wtpversion>
<additionalConfig>
<file>
<name>.settings/org.eclipse.core.resources.prefs</name>
<content>
<![CDATA[eclipse.preferences.version=1${line.separator}encoding/<project>=${project.build.sourceEncoding}${line.separator}]]>
</content>
</file>
</additionalConfig>
<additionalProjectnatures>
<projectnature>org.eclipse.jdt.groovy.core.groovyNature</projectnature>
</additionalProjectnatures>
<downloadJavadocs>true</downloadJavadocs>
<downloadSources>true</downloadSources>
<sourceIncludes>
<sourceInclude>**/*.groovy</sourceInclude>
</sourceIncludes>
</configuration>
</plugin>
3: run maven eclipse:clean eclipse:eclipse and all should work.
Cheers,
Hans