eclipse dynamic web project pom.xml配置
来源:互联网 发布:广州有mac专柜吗 编辑:程序博客网 时间:2024/05/19 18:10
eclipse dynamic web project pom.xml配置
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.7</source>
<target>1.7</target>
<encoding>UTF-8</encoding>
<compilerArguments>
<extdirs>WebContent/WEB-INF/lib</extdirs>
</compilerArguments>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<webXml>WebContent/WEB-INF/web.xml</webXml>
<warSourceDirectory>WebContent</warSourceDirectory>
</configuration>
</plugin>
</plugins>
</build>
<build>
<finalName>projectName</finalName>
<plugins>
<!-- 修改webapp目录为WebContent -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
<configuration>
<!-- 设置WebContent目录为Web目录 -->
<webappDirectory>WebContent</webappDirectory>
<warSourceDirectory>WebContent</warSourceDirectory>
</configuration>
</plugin>
</plugins>
</build>
<finalName>projectName</finalName>
<plugins>
<!-- 修改webapp目录为WebContent -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
<configuration>
<!-- 设置WebContent目录为Web目录 -->
<webappDirectory>WebContent</webappDirectory>
<warSourceDirectory>WebContent</warSourceDirectory>
</configuration>
</plugin>
</plugins>
</build>
0 0
- eclipse dynamic web project pom.xml配置
- eclipse配置dynamic web project问题
- eclipse建立Dynamic Web Project 时没有web.xml
- Eclipse juno 新建Dynamic web project 没有web.xml
- eclipse 中新建的Dynamic Web Project 中无web.xml&&web.xml中Servlet的配置问题
- Eclipse创建dynamic web project
- 详解Eclipse Dynamic Web Project
- Eclipse导入dynamic web project
- Eclipse创建dynamic web Project
- eclipse-->Dynamic Web Project-->maven
- eclipse配置tomcat开发Dynamic Web Project环境图解
- Eclipse Maven Project 转成 Dynamic Web Project
- 新建Dynamic web project 没有web.xml
- 【eclipse】eclipse导入Dynamic Web Project项目
- eclipse中Dynamic Web Project的srcfolder
- Eclipse如何创建dynamic web project项目
- Eclipse 中 不能创建 Dynamic web project
- Eclipse如何创建dynamic web project项目
- perl 分析binlog 生成update sql
- Android 的服务-Service
- C语言
- GUI布局学习1
- C项目开发—通讯录(三) 删除、修改、搜索功能、源码发放
- eclipse dynamic web project pom.xml配置
- Double.NaN和Float.NaN
- JAVA8 十大新特性详解
- 日期转换 NSDate 格式 格林尼治时间 时差
- 使用csc.exe构建C#应用程序
- vhdl的描述
- Java Map遍历方式方式及性能测试
- dom4j中selectNodes无法获得节点
- dos命令弹出对话框---Msg命令详解