maven 插件使用之:打包jar到lib
2015-08-07 09:11
375 查看
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>2.10</version> <executions> <execution> <id>copy-dependencies</id> <phase>prepare-package</phase> <goals> <goal>copy-dependencies</goal> </goals> <configuration> <outputDirectory>${project.build.directory}/lib</outputDirectory> <overWriteReleases>false</overWriteReleases> <overWriteSnapshots>false</overWriteSnapshots> <overWriteIfNewer>true</overWriteIfNewer> </configuration> </execution> </executions> </plugin>
相关文章推荐
- Spring事务传播性与隔离级别
- 对asy4j异步任务框架的改进和封装
- 互联网+环境下,物联网如何迈向下一站?
- HDU 1030
- sql servr 操作xml&获取最新的自增主键
- iOS开发系列--音频播放、录音、视频播放、拍照、视频录制
- poj 1936 All in All
- 操作系统note
- viewPager+RadioButton+Fragment
- Netstat 简介
- 【.Net MVC学习笔记】--过滤器
- 服务
- iOS开发系列--地图与定位
- C/C++知识要点3——类成员函数的重载、覆盖和隐藏的区别
- scikit-learn(工程中用的相对较多的模型介绍):1.14. Semi-Supervised
- 设计模式—简单工厂模式
- iOS开发系列--网络开发
- Win10 Edge浏览器关闭兼任列表的方法
- C++中的string类的用法小结
- 【NYIST】暑假训练赛 (一)-----Problem H