Chinaunix首页 | 论坛 | 博客
  • 博客访问: 92952
  • 博文数量: 18
  • 博客积分: 185
  • 博客等级: 入伍新兵
  • 技术积分: 215
  • 用 户 组: 普通用户
  • 注册时间: 2012-11-16 01:15
个人简介

。。。。

文章分类

全部博文(18)

文章存档

2015年(6)

2014年(3)

2012年(9)

我的朋友

分类: Java

2015-01-05 16:39:10


  1. <!-- Source attach plugin -->
  2.         <plugins>
  3.             <plugin>
  4.                 <groupId>org.apache.maven.plugins</groupId>
  5.                 <artifactId>maven-compiler-plugin</artifactId>
  6.                 <configuration>
  7.                   <source>1.7</source>
  8.                   <target>1.7</target>
  9.                   <encoding>utf-8</encoding>
  10.                 </configuration>
  11.             </plugin>
  12.             <plugin>
  13.                 <groupId>org.apache.maven.plugins</groupId>
  14.                 <artifactId>maven-source-plugin</artifactId>
  15.                 <executions>
  16.                     <execution>
  17.                         <id>attach-sources</id>
  18.                         <goals>
  19.                             <goal>jar</goal>
  20.                         </goals>
  21.                     </execution>
  22.                 </executions>
  23.             </plugin>
  24.                
  25.              
  26.             <plugin>
  27.                 <groupId>org.apache.tomcat.maven</groupId>
  28.                 <artifactId>tomcat7-maven-plugin</artifactId>
  29.                 <version>2.1</version>
  30.                 <executions>
  31.                     <execution>
  32.                         <id>tomcat-deploy</id>
  33.                         <phase>deploy</phase>
  34.                         <goals>
  35.                             <goal>deploy</goal>
  36.                         </goals>
  37.                     </execution>
  38.                 </executions>
  39.                 <configuration>
  40.                     <path>/</path>
  41.                     <!--访问路径 -->
  42.                     <contextReloadable>true</contextReloadable>
  43.                 </configuration>
  44.             </plugin>
  45.         </plugins>


阅读(2228) | 评论(0) | 转发(0) |
0

上一篇:spring + maven + cxf

下一篇:web项目测试环境

给主人留下些什么吧!~~