Maven常用插件--轉


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

Java代碼   收藏代碼
  1. <artifactId>maven-pmd-plugin</artifactId>  


2.代碼格式檢查 

Java代碼   收藏代碼
  1. <artifactId>maven-checkstyle-plugin</artifactId>  


3.代碼相似度檢查 

Java代碼   收藏代碼
  1. <groupId>org.codehaus.mojo</groupId>  
  2. <artifactId>simian-maven-plugin</artifactId>  


4.格式化統計報告 

Java代碼   收藏代碼
  1. <groupId>org.codehaus.mojo</groupId>  
  2. <artifactId>jdepend-maven-plugin</artifactId>  


5.FireBug檢查 

Java代碼   收藏代碼
  1. <groupId>org.codehaus.mojo</groupId>  
  2. <artifactId>findbugs-maven-plugin</artifactId>  


6.JavaDoc 

Java代碼   收藏代碼
  1. <artifactId>maven-javadoc-plugin</artifactId>  


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

Java代碼   收藏代碼
  1. <artifactId>maven-jxr-plugin</artifactId>  


8.代碼覆蓋率 

Java代碼   收藏代碼
  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代碼   收藏代碼
  1. <groupId>org.codehaus.mojo</groupId>  
  2. <artifactId>javancss-maven-plugin</artifactId>   


10.單元測試報告 

Java代碼   收藏代碼
  1. <artifactId>maven-surefire-report-plugin</artifactId>  


11.TODO檢查報告 

Java代碼   收藏代碼
  1.     <groupId>org.codehaus.mojo</groupId>  
  2.     <artifactId>taglist-maven-plugin</artifactId>  


12.項目總報告 

Java代碼   收藏代碼
  1. <artifactId>maven-project-info-reports-plugin</artifactId>  




=========Maven Common Plugin========= 
1.SCP文件傳輸 

Java代碼   收藏代碼
  1. <groupId>com.github.goldin</groupId>  
  2. <artifactId>copy-maven-plugin</artifactId>  


2.SSH命令 

Java代碼   收藏代碼
  1. <groupId>com.github.goldin</groupId>  
  2. <artifactId>sshexec-maven-plugin</artifactId>  


3.Maven Job 

Java代碼   收藏代碼
  1. <groupId>com.github.goldin</groupId>  
  2. <artifactId>jenkins-maven-plugin</artifactId>  


4.生成about信息 

Java代碼   收藏代碼
  1. <groupId>com.github.goldin</groupId>  
  2. <artifactId>about-maven-plugin</artifactId>  


5.查找重復依賴 

Java代碼   收藏代碼
  1. <groupId>com.github.goldin</groupId>  
  2. <artifactId>duplicates-finder-plugin</artifactId>  


6.Maven郵件發送 

Java代碼   收藏代碼
  1. <groupId>com.github.goldin</groupId>  
  2. <artifactId>mail-maven-plugin</artifactId>  


7.項目目錄查找 

Java代碼   收藏代碼
  1. <groupId>com.github.goldin</groupId>  
  2. <artifactId>find-maven-plugin</artifactId>  


8.獲取SVN版本 

Java代碼   收藏代碼
  1. <groupId>com.google.code.maven-svn-revision-number-plugin</groupId>  
  2. <artifactId>maven-svn-revision-number-plugin</artifactId>  


9.編譯C++ 

Java代碼   收藏代碼
  1. <groupId>org.codehaus.mojo</groupId>  
  2. <artifactId>native-maven-plugin</artifactId>  


10.DDL生成 

Java代碼   收藏代碼
  1. <groupId>org.codehaus.mojo</groupId>  
  2. <artifactId>hibernate3-maven-plugin</artifactId>  


11.Eclipse RCP 

Java代碼   收藏代碼
  1. <groupid>org.sonatype.tycho</groupid>  
  2. <artifactid>target-platform-configuration</artifactid>  




=========Maven Official Plugin========= 
1.自動定義打包 

Java代碼   收藏代碼
  1. <artifactId>maven-assembly-plugin</artifactId>  


2.ANT 

Java代碼   收藏代碼
  1. <artifactId>maven-antrun-plugin</artifactId>  



=========Maven 全局屬性========= 
1.源碼編碼 

Java代碼   收藏代碼
  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代碼   收藏代碼
    1. maven.compile.classpath  
    2. maven.runtime.classpath  
    3. maven.test.classpath  
    4. maven.plugin.classpath 

原文地址:

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

 

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM