【发布时间】:2011-07-02 12:26:57
【问题描述】:
我正在尝试在我的 Windows 机器中配置 maven。我的(webappDirectory) pom.xml 如下
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.0</version>
<configuration>
<webappDirectory>C:\Program Files\apache-tomcat-6.0.32-windows-x86\apache-tomcat-6.0.32\webapps\myapp</webappDirectory>
</configuration>
</plugin>
我正在使用 apache-tomcat,它工作正常。但是当我进行干净的构建并运行时,我的 webapp 目录没有任何内容。我猜它与路径有关
我是 maven 的新手
谁能帮忙提前谢谢
干杯
这样
【问题讨论】:
标签: windows maven-2 pom.xml tomcat