English 中文(简体)
服务器问题Eclipse Maven Debug
原标题:Eclipse Maven Debug on Server problem

我创建了一个ven网应用项目,然后将其装入春天工具箱2.7.1(该套设备有 m子芯和外装)。

当我做“在服务器上的Run”时, p中的额外建筑步骤没有执行,我最后部署基本的网络应用(指数jsp和WEBINF 夹)。

我必须建设(小型一揽子计划),并以人工方式部署(范围与过去)以便我走到一起。

我是否可以指示Mm2eclipse/STS处理我的om子,然后再“在服务器上的Run”?

Edit

我有maven-war-plugin,在我选择“服务器上的Run”时,这确实没有执行。

最佳回答

The answer is: Eclipse + Maven + Tomcat: testing web apps when the WAR is built with custom options

基本上,我可以使用“部署大会”来部署物资。

问题回答

哪些步骤没有执行?

The first check that I would suggest is to see if the project is correctly configured.

您必须确保,<代码>executions>的正确定义是在所希望的 阶段上运行。





相关问题
Derby gets stuck closing?

I ve got unit tests (in maven) that use derby. At the end of the test run, there is a very long pause, with these log messages before the pause. INFO: Closing Hibernate SessionFactory Nov 16, 2009 8:...

Execute goal on parent after children complete

I have a multi-module maven project (several levels of nesting). Normally, when I execute a maven build (like mvn install or whatever), maven will run all the goals for the parent project before ...

Including dependencies in a jar with Maven

Is there a way to force maven(2.0.9) to include all the dependencies in a single jar file? I have a project the builds into a single jar file. I want the classes from dependencies to be copied into ...

Java Equivalent of distcc

Distcc makes it easy to distribute a C or C++ compile job across a number of machines, and is a godsend for working with large, frequently-built codebases. An increasing number of our large projects ...

Maven Assembly Problem

I have a maven multiple-module project, which is giving me headaches in the assembly:assembly phase. I have a module which has an assembly defined in it which works fine when I invoke mvn assembly:...

热门标签