开发者

Eclipse mvn project deploy to jboss

I changed my project to use maven2 (from just plain eclipse dynamic web project) and now I can't do Debug As > Debug on Server (JBoss).

Previously I can just do Debug As > Debug on Server (JBoss) and Eclipse will happily copy the war file into jboss deploy directory and I can debug etc.

Now it seems like eclipse just don't recognize 开发者_高级运维the maven2 project and therefore cannot package the war file? I have to deploy it manually using the command line mvn war:war and copy the war file to deploy directory.

What can I do to make Eclipse understand mvn project so I can just do Debug As > Debug on Server?

Eclipse 3.5


Use m2eclipse (and the extra Maven Integration for WTP). Once installed, Import... your webapp project as Existing Maven Projects and it will get imported as a dynamic web project.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜