Monday, 11 June 2012

Groovy under Eclipse

Spent some time during configuration Java projects to be tested via Groovy (just adding Groovy nature to Eclipse projects). Sure everything should be done in Maven and Eclipse must get Groovy nature via plugins.
My problem like in the most cases was reading fast (throw 3 lines) documentation, where each line is very important. After installing Groovy for eclipse and groovy m2e configuration for Eclipse eclipse started to work well and sync faceds from pom.xml plugin.

That is almost all
1. Add explicit dependency to maven to load Groovy version which you need 2. Tell to maven-compiler-plugin about Groovy: 3. Show to Eclipse: where are my Groovy sources:

No comments:

Post a Comment