如何将maven项目轻松部署到glassfish? [英] How to hot deploy maven project to glassfish?

查看:187
本文介绍了如何将maven项目轻松部署到glassfish?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个web应用程序生成与 m2e maven插件在eclipse靛蓝。而且我的 pom.xml 中配置了嵌入式glassfish 插件。现在,当我改变一些东西我必须 mvn clean package mvn embedded-glassfish:运行,看看什么,然后在控制台和服务器关机中按x。有什么办法让事情更容易吗?您可以尝试使用Oracle Enterprise Pack(http://www.oracle.com/technetwork/),您可以尝试使用Oracle帮助。

I have a webapp project generated with m2e maven plugin in eclipse indigo. And i have a embedded glassfish plugin configured in my pom.xml. 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. Is there any way to make things easier? Ny help would be appreceited.

推荐答案

开发人员工具/ eclipse / overview / index.html),它支持Glassfish(使用WebTools基础设施,因此可以使用m2e-wtp)。

You may try Oracle Enterprise Pack (http://www.oracle.com/technetwork/developer-tools/eclipse/overview/index.html) which has support for Glassfish (using WebTools infrastructure so it can work with m2e-wtp).

这篇关于如何将maven项目轻松部署到glassfish?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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