maven
文章平均质量分 81
hty68024352
这个作者很懒,什么都没留下…
展开
-
使用assembly plugin实现自定义打包
在对maven 的机制不熟悉的情况下,为了实现自己需要的打包格式而使用maven ant task 以maven + ant 的方式来实现非标准打包,而现在要介绍的是maven 中针对打包任务而提供的标准插件:assembly plugin 。 依然以上文(初学maven(4)- 使用maven ant task 实现非标准打包)的项目为例,要打包的程序如下: ...原创 2011-05-25 21:51:30 · 113 阅读 · 0 评论 -
The Maven Integration requires that Eclipse be running in a JDK
he fully error message that you might get is as follows: The Maven Integration requires that Eclipse be running in a JDK, because a number of Maven core plugins are using jars from the JDK. Pleas...原创 2012-02-15 10:59:05 · 87 阅读 · 0 评论 -
聚合与继承-- Maven in Action 读书笔记
1. 为了能用一条命令来构建一个实际项目下的多个模块,而不是到两个模块目录下分别执行 mvn 命令, Maven 提供了聚合(或者称为多模块)的特性。我们可以额外建一个聚合用的模块,它仅有一个 pom.xml 文件,没有别的目录和文件。在它的 pom.xml 中 packaging 必须为 POM ,并且多了一个 <modules> 元素。在 ...原创 2012-03-14 22:09:27 · 68 阅读 · 0 评论 -
cobertura
Cobertura 是一款优秀的开源测试覆盖率统计工具( http://cobertura.sourceforge.net ), Maven 通过 cobertura-maven-plugin 与之集成,可以使用 mvn cobertura:cobertura 命令生成单元测试覆盖率报告。报告会在项目的 target/site/bobertura 目录下生成 htm...原创 2012-03-15 16:42:05 · 165 阅读 · 0 评论