Maven Grails 插件环境
在打包要部署的 war 文件时,如何在 Maven Grails 插件中指定开发、测试或生产环境等构建目标?
谢谢
how do I specify build goals like development, test or production environment in the maven grails plugin when packaging a war file for deployment?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
运行maven时设置
grails.env
:如果省略此选项,则环境默认为
生产
。Set
grails.env
when running maven:If you omit this option, the environment defaults to
production
.您也可以在
部分进行设置You can also set it in the
<configuration>
section