Grails应用程序只使用maven运行,放弃对grails的支持 [英] Grails app only use maven to run, drop support for grails

查看:120
本文介绍了Grails应用程序只使用maven运行,放弃对grails的支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个启用maven的grails应用程序。应用程序运行正常使用两种:

$ p
$ b $ p
$ b $ $ p $ mvn grails:run-app

现在我的要求是仅使用maven运行应用程序,如果使用grails run-app执行应用程序,则会显示一条消息以运行使用maven的应用程序。

解决方案

请看 Grails禁用run-app命令。我也面临同样的问题。



谢谢

I have a grails application with maven enabled. Application is running fine using both:

grails run-app 

and

mvn grails:run-app

Now my requirement is to run application using maven only and if application is executed using grails run-app a message is displayed to run the application using maven.

解决方案

Please have a look at Grails Disable run-app command. I was also facing the same issue.

Thanks

这篇关于Grails应用程序只使用maven运行,放弃对grails的支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆