在何处获取在 gmaven-plugin 下执行的 Groovy 脚本中可用变量的完整列表在马文?除此之外,也许有人知道在哪里可以找到 Gmaven 文档?
我了解项目
和设置
。我想还有一些其他的..
最佳答案
页面http://docs.codehaus.org/display/GMAVEN/Executing+Groovy+Code列表:
Default Variables
By default a few variables are bound into the scripts environment:
project The maven project, with auto-resolving properties
pom Alias for project
session The executing MavenSession
settings The executing Settings
log A SLF4J Logger instance
ant An AntBuilder instance for easy access to Ant tasks
fail() A helper to throw MojoExecutionException
关于groovy - 在哪里可以获得 gmaven 插件中预定义变量的完整列表?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5212772/