gmaven-plugin

GroovyDoc as Maven Plugin

风流意气都作罢 提交于 2019-12-04 03:11:44
Is there a maven plugin available somewhere that utilizes GroovyDoc , preferably as a report? I guess GMaven would be the place to look but the docs are ancient (1.0, whereas the current version is 1.3) and the GMaven plugin doesn't have any mojo that fits as you can see: mvn help:describe -DgroupId=org.codehaus.gmaven -DartifactId=gmaven-plugin This plugin has 9 goals: groovy:compile Description: Compiles Groovy sources. groovy:console Description: Launches the Groovy GUI console. groovy:execute Description: Executes a Groovy script. groovy:generateStubs Description: Generate Java stubs from

gmaven plugin: how to set property in pom.xml for external groovy script

纵然是瞬间 提交于 2019-12-01 17:49:39
I'm running an external groovy script via gmaven plugin in pom.xml. The external script is say 'myscript.groovy'. I want to provide some parameters/arguments to myscript.groovy via the maven pom.xml [i.e. inside the plugin 'gmaven-plugin' execution]; but unable to do so.. I've tried using in ; but not sure how to retrieve its values in the groovy script. Simply calling properties.get is not giving the property value. Snap of pom file: <plugin> <groupId>org.codehaus.gmaven</groupId> <artifactId>gmaven-plugin</artifactId> <executions> <execution> <id>generate-resources-execute-groovyscript</id>

Maven compile mixed Java + Groovy 1.7 project, using gmaven-plugin

与世无争的帅哥 提交于 2019-11-26 19:49:49
问题 As per the top two answers in: maven dependencies groovy. I'm trying to compile a mixed Java 6 + Groovy project with Maven, using the GMaven-plugin from org.codehaus.gmaven. Up until yesterday we were using the old 1.6.0 version of Groovy (never changed it after we finally got it working), but since 1.7.0 is now stable I thought we'd switch to that. If only things were that simple.. The problems I'm now encountering seem to be two fold: Groovy 1.6 is somehow still picked up as the default.