「APACHE-GROOVY」- 相关工具 | 常用工具 | Toolchain

groovy-eclipse | Eclipse Groovy Development Tools

文档:https://github.com/groovy/groovy-eclipse/wiki
项目:https://github.com/groovy/groovy-eclipse

This project provides Eclipse and Maven tooling support for the Apache Groovy programming language.

通过该项目,其能够让 Eclipse 及 Maven 支持 Apache Groovy 语言。

for Eclipse

https://github.com/groovy/groovy-eclipse/wiki#how-to-install

for Maven

通过该项目,其使我们能够在 Maven 中同时编译 Groovy 与 Java 代码。

Groovy-Eclipse provides a compiler adapter plugin for Maven, making it is possible to co-locate and compile your Groovy and Java sources using the Groovy-Eclipse batch compiler.

The maven-compiler-plugin does not actually compile, but rather delegates the compilation to a different artifact (in our case, the groovy-eclipse-batch artifact).

The groovy-eclipse-compiler recognizes most <configuration> elements supported by the maven-compiler-plugin. The groovy-eclipse-batch supports many compiler arguments in addition to indy and configScript.

配置 pom.xml 案例 | https://github.com/groovy/groovy-eclipse/tree/master/extras/groovy-eclipse-compiler-tests/src/it

Work with Project Lombok

Project Lombok is a java library that automatically plugs into your editor and build tools, spicing up your java.
Never write another getter or equals method again, with one annotation your class has a fully featured builder, Automate your logging variables, and much more.

Project Lombok is compatible with the groovy-eclipse-compiler.

https://projectlombok.org

Work with M2Eclipse

M2Eclipse provides tight integration for Apache Maven into the Eclipse IDE. And to use your Groovy projects with m2eclipse, you will need to install the Groovy-Eclipse configurator for m2e. This feature is available on all Groovy-Eclipse update sites. Just go to your Eclipse update manager and add the Groovy-Eclipse update sites (if you haven’t done so already). Select the Groovy-Eclipse M2E integration feature.

https://eclipse.dev/m2e/

GMaven | Groovy Integration for Maven

https://github.com/groovy/gmaven
https://groovy.github.io/gmaven/

GMavenPlus | A rewrite of GMaven

GMavenPlus is a rewrite of GMaven, a Maven plugin that allows you to integrate Groovy into your Maven projects.

文档:https://github.com/groovy/GMavenPlus/wiki
项目:https://github.com/groovy/GMavenPlus