maven 总结整理(二)——download source code
当我们用maven下载jar包时,有时希望下载jar包的源代码,此时可以在pom.xml文件中,进行设置。
<build> <finalName>WebProject</finalName> <plugins> <plugin> <groupId>org.codehaus.cargo</groupId> <artifactId>cargo-maven2-plugin</artifactId> <version>1.2.3</version> <configuration> <container> <!-- 指明使用的tomcat服务器版本 --> <containerId>tomcat7x</containerId> <!--指明tomcat服务器的安装目录 --> <home>C:\d\install_software\apache-tomcat-7.0.75-windows-x86\apache-tomcat-7.0.75</home> </container> <configuration> <type>existing</type> <!--指明tomcat服务器的安装目录 --> <home>C:\d\install_software\apache-tomcat-7.0.75-windows-x86\apache-tomcat-7.0.75</home> </configuration> <configuration> <downloadSources>true</downloadSources> <downloadJavadocs>false</downloadJavadocs> </configuration> </configuration> <executions> <execution> <id>cargo-run</id> <phase>install</phase> <goals> <goal>run</goal> </goals> </execution> </executions> </plugin> </plugins> </build>
<configuration>
标签部分追加进来之后,重新编译项目,就可以得到源代码了。
转载于:https://www.cnblogs.com/lihao007/p/7011219.html
maven 总结整理(二)——download source code相关推荐
- import openfire4.0.2 source code in eclipse
[0]README 1)本文旨在给出 导入 openfire4.0.2 源码到 eclipse的具体 steps: 2)小生我导入该version 的 openfire 用了近2 天时间, 比较心酸, ...
- Howto: Download SLES or SLED Source Code
Show Me the RPM's A customer just asked me this one: where can they get the source code or source RP ...
- Download source files for maven dependencies_莫负春光_百度空间
Download source files for maven dependencies_莫负春光_百度空间 Download source files for maven dependencies ...
- Downloading Android Source Code
Git 是 Linux Torvalds 为了帮助管理 Linux 内核开发而开发的一个开放源码的分布式版本控制软件,它不同于Subversion.CVS这样的集中式版本控制系统.在集中式版本控制系统 ...
- DevExpress Components16.2.6 Source Code 编译
DevExpress 是一个比较有名的界面控件套件,提供了一系列优秀的界面控件.这篇文章将展示如何在拥有源代码的情况下,对 DevExpress 的程序集进行重新编译. 特别提示:重编译后,已安装好的 ...
- Source Code Collection for Reproducible Research
Source Code Collection for Reproducible Research [ http://www.csee.wvu.edu/~xinl/source.html] " ...
- Google Chrome Source Code 源码下载
2019独角兽企业重金招聘Python工程师标准>>> Goolgle 于 2008.09.02 发布了浏览器 Google Chrome.Google Chrome 使用的内核源码 ...
- UI5 Source code map机制的细节介绍
在我的博客A debugging issue caused by source code mapping里我介绍了在我做SAP C4C开发时遇到的一个曾经困扰我很久的问题,最后结论是这个问题由于Jav ...
- Reverse-engineer Source Code into UML Diagrams
今天同事需要反向生成类图,用PowerDesigner 转了一份,不甚满意,在网上逛了逛,发现在这篇文章挺不错. I have been on several teams where we studi ...
最新文章
- neat算法——本质就是遗传算法用于神经网络的自动构建
- 程序员面试系列——约瑟夫环
- HttpClient的释放问题
- Springboot后台接收前端Date类型
- 有没有什么方法快速能找到导致软件崩溃的进程_手机软件闪退闪得怀疑人生?看我专治闪退二十年!...
- 磨刀霍霍:我李汉三又回来写代码啦~
- RocketMQ3.2.6安装部署及调用
- 作业1-3 求1+2!+3!+...+20!的和
- Java 中的 AQS 到底是什么?高级面试必问!
- atitit.故障排除--- 当前命令发生了严重错误。应放弃任何可能产生的结果sql server 2008
- c语言米粒数实验报告,《單片机C程序设计》实验报告.doc
- [misc]T型知识实践结构的力量
- 【网络通信三】研华网关Modbus服务设置
- 实测!Ubuntu18.04解决Teamview检测为商用问题
- 急!!!微信公众号数据迁移后openid无法转换
- Linux下安装和使用杀毒软件AntiVir(ZZ)
- 微信小程序苹果手机边框显示不全解决办法
- java与C++中文字符的问题
- ORA-00257: archiver error. Connect internal only, until freed 处理方法
- 学python与嵌入式操作系统_嵌入式操作系统那么多,哪一个适合你?