Maven常用插件
来自: http://iffiffj.iteye.com/blog/1661936
=========Maven Report Plugin=========
1.源码分析
<artifactId>maven-pmd-plugin</artifactId>
2.代码格式检查
<artifactId>maven-checkstyle-plugin</artifactId>
3.代码相似度检查
<groupId>org.codehaus.mojo</groupId>
<artifactId>simian-maven-plugin</artifactId>
4.格式化统计报告
<groupId>org.codehaus.mojo</groupId>
<artifactId>jdepend-maven-plugin</artifactId>
5.FireBug检查
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
6.JavaDoc
<artifactId>maven-javadoc-plugin</artifactId>
7.生成java代码交叉引用和源代码的html格式
<artifactId>maven-jxr-plugin</artifactId>
8.代码覆盖率
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<groupId>org.codehaus.mojo</groupId>
<artifactId>emma-maven-plugin</artifactId>
9.java代码的度量工具
<groupId>org.codehaus.mojo</groupId>
<artifactId>javancss-maven-plugin</artifactId>
10.单元测试报告
<artifactId>maven-surefire-report-plugin</artifactId>
11.TODO检查报告
<groupId>org.codehaus.mojo</groupId>
<artifactId>taglist-maven-plugin</artifactId>
12.项目总报告
<artifactId>maven-project-info-reports-plugin</artifactId>
=========Maven Common Plugin=========
1.SCP文件传输
<groupId>com.github.goldin</groupId>
<artifactId>copy-maven-plugin</artifactId>
2.SSH命令
<groupId>com.github.goldin</groupId>
<artifactId>sshexec-maven-plugin</artifactId>
3.Maven Job
<groupId>com.github.goldin</groupId>
<artifactId>jenkins-maven-plugin</artifactId>
4.生成about信息
<groupId>com.github.goldin</groupId>
<artifactId>about-maven-plugin</artifactId>
5.查找重复依赖
<groupId>com.github.goldin</groupId>
<artifactId>duplicates-finder-plugin</artifactId>
6.Maven邮件发送
<groupId>com.github.goldin</groupId>
<artifactId>mail-maven-plugin</artifactId>
7.项目目录查找
<groupId>com.github.goldin</groupId>
<artifactId>find-maven-plugin</artifactId>
8.获取SVN版本
<groupId>com.google.code.maven-svn-revision-number-plugin</groupId>
<artifactId>maven-svn-revision-number-plugin</artifactId>
9.编译C++
<groupId>org.codehaus.mojo</groupId>
<artifactId>native-maven-plugin</artifactId>
10.DDL生成
<groupId>org.codehaus.mojo</groupId>
<artifactId>hibernate3-maven-plugin</artifactId>
11.Eclipse RCP
<groupid>org.sonatype.tycho</groupid>
<artifactid>target-platform-configuration</artifactid>
=========Maven Official Plugin=========
1.自动定义打包
<artifactId>maven-assembly-plugin</artifactId>
2.ANT
<artifactId>maven-antrun-plugin</artifactId>
=========Maven 全局属性=========
1.源码编码
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
maven.compile.classpath
maven.runtime.classpath
maven.test.classpath
maven.plugin.classpath
2.ClassPath
maven.compile.classpath
maven.runtime.classpath
maven.test.classpath
maven.plugin.classpath