pom.xml中依赖接口及文件编译拷贝
2015-07-13 10:25
381 查看
pom.xml: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <version>1.7</version> <executions> <execution> <id>install</id> <phase>install</phase> <configuration> <target> <echo message="********************copy profile propertie file *************************" /> <copy file="webContent/WEB-INF/temporary-lib/xxx.jar" tofile="webContent/WEB-INF/lib/xxx.jar" overwrite="true" /> </target> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> </plugin> <!-- pom.xml中接口模块 --> <dependency> <groupId>org.apache</groupId> <artifactId>test</artifactId> <version>1.0</version> <scope>system</scope> <systemPath>${basedir}/webContent/WEB-INF/temporary-lib/xxx.jar</systemPath> </dependency>
相关文章推荐
- Android学习之Handle
- Java Collections工具类
- 个人常用iOS第三方库以及XCode插件介绍
- 何时、如何开启 MySql 日志?
- iOS控制系统音量的大小
- sftp用户本机登录后,pwd总是在根目录
- android之java程序性能优化
- 何时、如何开启 MySql 日志?
- HTTP status codes
- MFC的CArray使用
- InnoDB中的doublewrite buffer技术原理
- linux popen函数
- Apache日志分析与状态查看方法-Linux命令
- Sleep()函数
- ISIS 是一个什么样的组织?它的资金是哪来的?
- LeetCode:Length of Last Word
- adb devices: no permissions
- 获取手机的短信内容和联系人信息
- 【UML】浅谈UML的概念和模型之UML视图
- hadoop内存大小设置问题