Maven构建成功后复制jar包到指定位置插件
2015-12-26 11:20
309 查看
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <version>1.8</version> <executions> <execution> <id>deploy</id> <phase>package</phase> <goals> <goal>run</goal> </goals> <configuration> <target> <property name="servicemix_path" value="D:/apache-servicemix-5.4.0/deploy" /> <property name="target_file" value="${project.artifactId}-${project.version}.jar" /> <echo message="servicemix_path: ${servicemix_path}" /> <echo message="file: ${target_file}" /> <delete file="${servicemix_path}/${target_file}"></delete> <copy file="target/${target_file}" todir="${servicemix_path}/" /> </target> </configuration> </execution> </executions> </plugin>
相关文章推荐
- block在美团开发中的应用
- android IBeacon 开发(一)搜索IBeacon基站
- 软件项目版本号的命名规则及格式
- linux使用velocity出现的一个奇葩问题-Unable to find resource
- 四舍五入保留两位小数
- selenium2中TestNG相关解释
- C++ 复制控制
- 深度学习一:安装MXnet包,实现MNIST手写数体识别
- 时间戳 计算 工作时间
- D3学习:力导向图布局
- SSU 495. Kids and Prizes(简单概率)
- php【基础学习九】命名空间
- 短信猫价格之短信猫接口, wavecom短信猫深圳厂家
- 为什么选择dubbo?
- LinkedList和ArrayList的区别
- **静态工厂**
- Hadoop:解析Partition
- HTTP电脑发送短信接口调用示例
- Eclipse中配置ServiceMix的远程调试模式
- Android Fragment完全解析,关于碎片你所需知道的一切