[英]How to hot deploy maven project to glassfish?
I have a webapp project generated with m2e maven plugin in eclipse indigo . 我在eclipse indigo中使用m2e maven插件生成了一个webapp项目。 And i have a embedded glassfish plugin configured in my pom.xml .
我在pom.xml中配置了一个嵌入式glassfish插件。 Right now when i change something i have to
mvn clean package
, mvn embedded-glassfish:run
, see whats up, then press x in console and server shutdowns. 现在,当我更改某些内容时,必须使用
mvn clean package
, mvn embedded-glassfish:run
,查看最新信息,然后在控制台和服务器关闭时按x。 Is there any way to make things easier? 有什么方法可以使事情变得容易吗? Ny help would be appreceited.
不会有任何帮助。
您可以尝试Oracle Enterprise Pack(http://www.oracle.com/technetwork/developer-tools/eclipse/overview/index.html),它具有对Glassfish的支持(使用WebTools基础结构,因此可以与m2e-wtp一起使用)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.