每當我執行gmaven插件,我得到以下問題錯誤GMaven插件
org.apache.maven.lifecycle.LifecycleExecutionException: Internal error in the plugin manager executing goal 'org.codehaus.groovy.maven:gmaven-plugin:1.0-rc-5:generateStubs': Mojo execution failed.
我POM的相關部分如下。任何想法爲什麼?
<plugin>
<groupId>org.codehaus.groovy.maven</groupId>
<artifactId>gmaven-plugin</artifactId>
<version>1.0-rc-5</version>
<executions>
<execution>
<goals>
<goal>generateStubs</goal>
<goal>compile</goal>
<goal>generateTestStubs</goal>
<goal>testCompile</goal>
</goals>
<configuration>
<sources>
<fileset>
<directory>${project.build.sourceDirectory}</directory>
<includes>
<include>**/*.groovy</include>
</includes>
<directory>${project.build.testDirectory}</directory>
<includes>
<include>**/*.groovy</include>
</includes>
</fileset>
</sources>
</configuration>
</execution>
</executions>
</plugin>
這足以去除org/codehaus/groovy和org/codehaus/gmaven目錄。 – kopper 2010-09-22 09:27:04