????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>
????4. ??jenkins job????java main????????job??????? ??pom?????????????
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<mainClass>com.ebay.cs.qdash.dump.startup.Main</mainClass>  <!--???main??????·??-->
</manifest>
</archive>
</configuration>
</plugin>
</build>
??????jenkins??job???????£?