groovy之在哪里可以获得 gmaven 插件中预定义变量的完整列表
mate10pro
阅读:12
2024-11-24 20:56:43
评论:0
在何处获取在 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
声明
1.本站遵循行业规范,任何转载的稿件都会明确标注作者和来源;2.本站的原创文章,请转载时务必注明文章作者和来源,不尊重原创的行为我们将追究责任;3.作者投稿可能会经我们编辑修改或补充。