码迷,mamicode.com
首页 > 其他好文 > 详细

Maven常用插件--转

时间:2014-08-11 10:01:32      阅读:237      评论:0      收藏:0      [点我收藏+]

标签:style   blog   http   java   io   strong   文件   for   

=========Maven Report Plugin========= 
1.源码分析 

Java代码  bubuko.com,布布扣
  1. <artifactId>maven-pmd-plugin</artifactId>  


2.代码格式检查 

Java代码  bubuko.com,布布扣
  1. <artifactId>maven-checkstyle-plugin</artifactId>  


3.代码相似度检查 

Java代码  bubuko.com,布布扣
  1. <groupId>org.codehaus.mojo</groupId>  
  2. <artifactId>simian-maven-plugin</artifactId>  


4.格式化统计报告 

Java代码  bubuko.com,布布扣
  1. <groupId>org.codehaus.mojo</groupId>  
  2. <artifactId>jdepend-maven-plugin</artifactId>  


5.FireBug检查 

Java代码  bubuko.com,布布扣
  1. <groupId>org.codehaus.mojo</groupId>  
  2. <artifactId>findbugs-maven-plugin</artifactId>  


6.JavaDoc 

Java代码  bubuko.com,布布扣
  1. <artifactId>maven-javadoc-plugin</artifactId>  


7.生成java代码交叉引用和源代码的html格式 

Java代码  bubuko.com,布布扣
  1. <artifactId>maven-jxr-plugin</artifactId>  


8.代码覆盖率 

Java代码  bubuko.com,布布扣
  1. <groupId>org.codehaus.mojo</groupId>  
  2. <artifactId>cobertura-maven-plugin</artifactId>  
  3.   
  4. <groupId>org.codehaus.mojo</groupId>  
  5. <artifactId>emma-maven-plugin</artifactId>  


9.java代码的度量工具 

Java代码  bubuko.com,布布扣
  1. <groupId>org.codehaus.mojo</groupId>  
  2. <artifactId>javancss-maven-plugin</artifactId>   


10.单元测试报告 

Java代码  bubuko.com,布布扣
  1. <artifactId>maven-surefire-report-plugin</artifactId>  


11.TODO检查报告 

Java代码  bubuko.com,布布扣
  1.     <groupId>org.codehaus.mojo</groupId>  
  2.     <artifactId>taglist-maven-plugin</artifactId>  


12.项目总报告 

Java代码  bubuko.com,布布扣
  1. <artifactId>maven-project-info-reports-plugin</artifactId>  




=========Maven Common Plugin========= 
1.SCP文件传输 

Java代码  bubuko.com,布布扣
  1. <groupId>com.github.goldin</groupId>  
  2. <artifactId>copy-maven-plugin</artifactId>  


2.SSH命令 

Java代码  bubuko.com,布布扣
  1. <groupId>com.github.goldin</groupId>  
  2. <artifactId>sshexec-maven-plugin</artifactId>  


3.Maven Job 

Java代码  bubuko.com,布布扣
  1. <groupId>com.github.goldin</groupId>  
  2. <artifactId>jenkins-maven-plugin</artifactId>  


4.生成about信息 

Java代码  bubuko.com,布布扣
  1. <groupId>com.github.goldin</groupId>  
  2. <artifactId>about-maven-plugin</artifactId>  


5.查找重复依赖 

Java代码  bubuko.com,布布扣
  1. <groupId>com.github.goldin</groupId>  
  2. <artifactId>duplicates-finder-plugin</artifactId>  


6.Maven邮件发送 

Java代码  bubuko.com,布布扣
  1. <groupId>com.github.goldin</groupId>  
  2. <artifactId>mail-maven-plugin</artifactId>  


7.项目目录查找 

Java代码  bubuko.com,布布扣
  1. <groupId>com.github.goldin</groupId>  
  2. <artifactId>find-maven-plugin</artifactId>  


8.获取SVN版本 

Java代码  bubuko.com,布布扣
  1. <groupId>com.google.code.maven-svn-revision-number-plugin</groupId>  
  2. <artifactId>maven-svn-revision-number-plugin</artifactId>  


9.编译C++ 

Java代码  bubuko.com,布布扣
  1. <groupId>org.codehaus.mojo</groupId>  
  2. <artifactId>native-maven-plugin</artifactId>  


10.DDL生成 

Java代码  bubuko.com,布布扣
  1. <groupId>org.codehaus.mojo</groupId>  
  2. <artifactId>hibernate3-maven-plugin</artifactId>  


11.Eclipse RCP 

Java代码  bubuko.com,布布扣
  1. <groupid>org.sonatype.tycho</groupid>  
  2. <artifactid>target-platform-configuration</artifactid>  




=========Maven Official Plugin========= 
1.自动定义打包 

Java代码  bubuko.com,布布扣
  1. <artifactId>maven-assembly-plugin</artifactId>  


2.ANT 

Java代码  bubuko.com,布布扣
  1. <artifactId>maven-antrun-plugin</artifactId>  



=========Maven 全局属性========= 
1.源码编码 

Java代码  bubuko.com,布布扣
  1. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>  
  2. maven.compile.classpath  
  3. maven.runtime.classpath  
  4. maven.test.classpath  
  5. maven.plugin.classpath  


2.ClassPath 

Java代码  bubuko.com,布布扣
    1. maven.compile.classpath  
    2. maven.runtime.classpath  
    3. maven.test.classpath  
    4. maven.plugin.classpath 

原文地址:

http://iffiffj.iteye.com/blog/1661936

 

 

 

Maven常用插件--转,布布扣,bubuko.com

Maven常用插件--转

标签:style   blog   http   java   io   strong   文件   for   

原文地址:http://www.cnblogs.com/davidwang456/p/3904027.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!