1、maven添加第三方jar
<span style="font-size:14px;"><dependency>
<groupId>com.tencent</groupId>
<artifactId>xinge</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>${basedir}/src/main/webapp/WEB-INF/lib/XingeApp.jar</systemPath>
</dependency></span>
2、maven内置变量:
${basedir} 项目根目录
${project.build.directory} 构建目录,缺省为target
${project.build.outputDirectory} 构建过程输出目录,缺省为target/classes
${project.build.finalName} 产出物名称,缺省为${project.artifactId}-${project.version}
${project.packaging} 打包类型,缺省为jar
${project.xxx} 当前pom文件的任意节点的内容