标签:
1. 将本地的jar包加入maven dependency
<dependency>
<groupId>com.ebay.app.raptor.cs.qa</groupId>
<artifactId>ecaf</artifactId>
<version>0.0.1-SNAPSHOT</version>
<systemPath>${project.basedir}/lib/ecaf.jar</systemPath>
<scope>system</scope>
</dependency>
2. 指定JDK的版本,以及字体
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<encoding>utf-8</encoding>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
3. 将项目打成war包
<packaging>war</packaging>
暂时写到这里,会再次更新。
标签:
原文地址:http://www.cnblogs.com/huaxiong/p/4701907.html