Maven常用外掛程式--轉

來源:互聯網
上載者:User

標籤:style   blog   http   java   io   strong   檔案   for   

=========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

 

 

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.