maven 插件2
Maven is - at its heart - a plugin execution framework; all work is done by plugins.
Maven 本质上就是一个插件搭建起来的框架, 它所有的功能都是由插件提供的。
核心插件:
| Plugin | Type* | Version | Release Date | Description | Source Repository | Issue Tracking |
|---|---|---|---|---|---|---|
| Core plugins | Plugins corresponding to default core phases (ie. clean, compile). They may have multiple goals as well. | |||||
| clean | B | 3.0.0 | 2015-10-22 | Clean up after the build. | SVN | JIRA |
| compiler | B | 3.6.1 | 2017-01-16 | Compiles Java sources. | SVN | JIRA |
| deploy | B | 2.8.2 | 2014-08-27 | Deploy the built artifact to the remote repository. | SVN | JIRA |
| failsafe | B | 2.20 | 2017-04-13 | Run the JUnit integration tests in an isolated classloader. | GIT | JIRA |
| install | B | 2.5.2 | 2014-08-27 | Install the built artifact into the local repository. | SVN | JIRA |
| resources | B | 3.0.2 | 2016-12-10 | Copy the resources to the output directory for including in the JAR. | SVN | JIRA |
| site | B | 3.6 | 2016-11-17 | Generate a site for the current project. | SVN | JIRA |
| surefire | B | 2.20 | 2017-04-13 | Run the JUnit unit tests in an isolated classloader. | GIT | JIRA |
| verifier | B | 1.1 | 2015-04-14 | Useful for integration tests - verifies the existence of certain conditions. | SVN | JIRA |
| Packaging types/tools | These plugins relate to packaging respective artifact types. | |||||
| ear | B | 2.10.1 | 2015-06-27 | Generate an EAR from the current project. | SVN | JIRA |
| ejb | B | 2.5.1 | 2015-06-20 | Build an EJB (and optional client) from the current project. | SVN | JIRA |
| jar | B | 3.0.2 | 2016-06-18 | Build a JAR from the current project. | SVN | JIRA |
| rar | B | 2.4 | 2014-09-08 | Build a RAR from the current project. | SVN | JIRA |
| war | B | 3.1.0 | 2017-04-26 | Build a WAR from the current project. | SVN | JIRA |
| app-client/acr | B | 3.0.0 | 2015-01-23 | Build a JavaEE application client from the current project. | SVN | JIRA |
| shade | B | 3.0.0 | 2017-01-27 | Build an Uber-JAR from the current project, including dependencies. | SVN | JIRA |
| source | B | 3.0.1 | 2016-06-18 | Build a source-JAR from the current project. | SVN | JIRA |
| Reporting plugins | Plugins which generate reports, are configured as reports in the POM and run under the site generation lifecycle. | |||||
| changelog | R | 2.3 | 2014-06-24 | Generate a list of recent changes from your SCM. | SVN | JIRA |
| changes | B+R | 2.12.1 | 2016-11-01 | Generate a report from an issue tracker or a change document. | SVN | JIRA |
| checkstyle | B+R | 2.17 | 2015-10-15 | Generate a Checkstyle report. | SVN | JIRA |
| doap | B | 1.2 | 2015-03-17 | Generate a Description of a Project (DOAP) file from a POM. | SVN | JIRA |
| docck | B | 1.1 | 2015-04-03 | Documentation checker plugin. | SVN | JIRA |
| javadoc | B+R | 2.10.4 | 2016-06-10 | Generate Javadoc for the project. | SVN | JIRA |
| jdeps | B | 3.0.0 | 2015-10-29 | Run JDK's JDeps tool on the project. | SVN | JIRA |
| jxr | R | 2.5 | 2014-11-02 | Generate a source cross reference. | SVN | JIRA |
| linkcheck | R | 1.2 | 2014-10-08 | Generate a Linkcheck report of your project's documentation. | SVN | JIRA |
| pmd | B+R | 3.8 | 2017-05-05 | Generate a PMD report. | SVN | JIRA |
| project-info-reports | R | 2.9 | 2016-03-01 | Generate standard project reports. | SVN | JIRA |
| surefire-report | R | 2.20 | 2017-04-13 | Generate a report based on the results of unit tests. | GIT | JIRA |
| Tools | These are miscellaneous tools available through Maven by default. | |||||
| ant | B | 2.4 | 2014-12-15 | Generate an Ant build file for the project. | SVN | JIRA |
| antrun | B | 1.8 | 2014-12-26 | Run a set of ant tasks from a phase of the build. | SVN | JIRA |
| archetype | B | 3.0.1 | 2017-04-11 | Generate a skeleton project structure from an archetype. | GIT | JIRA |
| assembly | B | 3.0.0 | 2016-11-12 | Build an assembly (distribution) of sources and/or binaries. | SVN | JIRA |
| dependency | B+R | 3.0.1 | 2017-05-11 | Dependency manipulation (copy, unpack) and analysis. | SVN | JIRA |
| enforcer | B | 1.4.1 | 2015-08-23 | Environmental constraint checking (Maven Version, JDK etc), User Custom Rule Execution. | SVN | JIRA |
| gpg | B | 1.6 | 2015-01-19 | Create signatures for the artifacts and poms. | SVN | JIRA |
| help | B | 2.2 | 2013-02-23 | Get information about the working environment for the project. | SVN | JIRA |
| invoker | B+R | 2.0.0 | 2015-06-27 | Run a set of Maven projects and verify the output. | SVN | JIRA |
| jarsigner | B | 1.4 | 2015-01-21 | Signs or verifies project artifacts. | SVN | JIRA |
| patch | B | 1.2 | 2015-03-09 | Use the gnu patch tool to apply patch files to source code. | SVN | JIRA |
| B | 1.3 | 2015-02-16 | Generate a PDF version of your project's documentation. | SVN | JIRA | |
| plugin | B+R | 3.5 | 2016-08-30 | Create a Maven plugin descriptor for any mojos found in the source tree, to include in the JAR. | SVN | JIRA |
| release | B | 2.5.3 | 2015-10-17 | Release the current project - updating the POM and tagging in the SCM. | SVN | JIRA |
| remote-resources | B | 1.5 | 2013-08-14 | Copy remote resources to the output directory for inclusion in the artifact. | SVN | JIRA |
| repository | B | 2.4 | 2015-02-22 | Plugin to help with repository-based tasks. | SVN | JIRA |
| scm | B | 1.9.5 | 2016-07-01 | Execute SCM commands for the current project. | GIT | JIRA |
| scm-publish | B | 1.1 | 2014-05-18 | Publish your Maven website to a scm location. | SVN | JIRA |
| stage | B | 1.0 | 2015-03-03 | Assists with release staging and promotion. | SVN | JIRA |
| toolchains | B | 1.1 | 2014-11-12 | Allows to share configuration across plugins. | SVN |
MojoHaus 的插件:
| Plugin (see complete list with version) | Description |
|---|---|
| animal-sniffer | Build signatures of APIs (JDK for example) and checks your classes against them. |
| build-helper | Attach extra artifacts and source folders to build. |
| castor | Generate sources from an XSD using Castor. |
| clirr | Compare binaries or sources for compatibility using Clirr |
| javacc | Generate sources from a JavaCC grammar. |
| jdepend | Generate a report on code metrics using JDepend. |
| nar-maven-plugin | Compiles C, C++, Fortran for different architectures. |
| native | Compiles C and C++ code with native compilers. |
| sql | Executes SQL scripts from files or inline. |
| taglist | Generate a list of tasks based on tags in your code. |
| versions |
Manage versions of your project, its modules, dependencies and plugins. |
google插件:
其他的插件
| Plugin | Maintainer | Description |
|---|---|---|
| cargo | Cargo Project | Start/stop/configure J2EE containers and deploy to them. |
| clover | Atlassian Clover | Generate a Clover report. |
| jetty | Jetty Project | Jetty Run a Jetty container for rapid webapp development. |
| jalopy | Triemax | Use Jalopy to format your source code. |
| rat | Apache Creadur Project | Release Audit Tool (RAT) to verify files. |
| Genesis Plugins | Apache Geronimo Project | Verify legal files in artifacts. |
| Apache Tomcat | Apache Tomcat Project | Run an Apache Tomcat container for rapid webapp development. |
参考:
https://maven.apache.org/plugins/index.html
http://maven.apache.org/ref/3.2.2/maven-core/default-bindings.html
maven 插件2的更多相关文章
- 安装eclipse的maven插件
我们团队用maven来管理项目需要的库文件,其实以前都没听过maven,第一次接触这个,师兄要我直接去装下这个,开始以为还挺简单的,没想到中间遇到了一些小麻烦,现在把我成功安装maven的过程分享下, ...
- eclipse内下载及配置maven插件(转)
本文介绍Maven的安装和配置,同样适用于eclipse 1.首先需要安装jdk,eclipse(废话!). 然后到maven官网下载maven,http://maven.apache.org/dow ...
- (十三)Maven插件解析运行机制
这里给大家详细说一下Maven的运行机制,让大家不仅知其然,更知其所以然. 1.插件保存在哪里? 与我们所依赖的构件一样,插件也是基于坐标保存在我们的Maven仓库当中的.在用到插件的时候会先从本地仓 ...
- java使用tomcat7的maven插件发布到服务器
服务器容器使用tomcat7的maven插件,使用该插件不需要使用tomcat服务器.以下示例均以paycore项目为例. 一.使用tomcat7-maven-plugin 首先在主pom(payco ...
- MyBatis Generator作为maven插件自动生成增删改查代码及配置文件例子
什么是MyBatis Generator MyBatis Generator (MBG) 是一个Mybatis的代码生成器,可以自动生成一些简单的CRUD(插入,查询,更新,删除)操作代码,model ...
- 【Maven】Eclipse安装Maven插件后导致Eclipse启动出错
本文纯属复制粘贴:具体请参照原文: Eclipse安装Maven插件后,Eclipse启动问题:Maven Integration for Eclipse JDK Warning. 解决方法: 1. ...
- 在eclipse的maven插件中搜寻本地仓库中的jar搜索不到的解决方案
在eclipse的maven插件中搜寻本地仓库中的jar搜索不到的解决方案 之前,用过maven管理项目的童鞋都知道本地会有一个${User_Home}.m2/repository仓库 是用来存放ja ...
- 为maven插件设置参数的三种方法
很多的maven插件都提供了丰富的可选参数,用户可以通过设置特定的参数值来控制maven插件的行为.设置插件参数的方法主要有三种,分别是命令行设置,POM文件中为插件设置全局参数和POM文件中为插件设 ...
- eclipse安装svn和maven插件以及m2e-extras
相关介绍: 1.SVN是Subversion的简称,是一个开放源代码的版本控制系统,相较于RCS.CVS,它采用了分支管理系统,它的设计目标就是取代CVS.互联网上很多版本控制服务已从CVS迁移到Su ...
- Maven插件之maven-archetype-plugin
Maven插件之maven-archetype-plugin 时间:2014-03-29 学过Maven的人,都知道用MyEclipse的Maven插件生成一个项目骨架,比如maven-archety ...
随机推荐
- js写法【2】
1.stringobject.replace(/regex/,function(capture,index,stringob){});可 用来对每个捕获执行一段脚本,返回捕获替换值. 2.arrayo ...
- android开发实践之1:安装部署环境设置
一.安装包 1.andorid studio: 2.Java sdk: 二.操作步骤 1.安装Java SDK: 2.安装android studio; 3.创建Helloword工程并运行:遇到问题 ...
- 使用python操作word
有两种方式: 使用win32com 使用docx 1.使用win32com扩展包 只对windows平台有效 代码: # coding=utf-8 import win32com from win32 ...
- sqlserver数据库设计完整性与约束
use StudentManageDB go --创建主键约束 if exists(select * from sysobjects where name='pk_StudentId') alter ...
- 一个服务器的IIS只能绑定一个HTTPS也就是443端口
默认情况一个服务器的IIS只能绑定一个HTTPS也就是443端口 要实现多个站点对应HTTPS只能更改IIS配置 地址:C:\Windows\System32\inetsrv\config\appli ...
- iOS 结构化数据访问
一.介绍 在存储大量数据时,除了最基本的打开文件,读取文件,存盘等这些没有明确管理机制的方式来存储数据外,iOS还提供了另外几种重要的数据存储方式.虽然这些方式最后还是将数据存储在文件中,但是iOS以 ...
- vue2.0-组件传值
父组件给子组件传值,子组件用props接收 例子:两个组件,一个是父组件标签名是parent,一个是子组件标签名是child,并且child组件嵌套在父组件parent里,大概的需求是:我们子组件里需 ...
- 旷视等Oral论文提出GeoNet:基于测地距离的点云分析深度网络
基于网格曲面的几何拓扑信息可以为物体语义分析和几何建模提供较强的线索,但是,如此重要的连接性信息在点云中是缺失的.为此,旷视西雅图研究院首次提出一种全新的深度学习网络,称之为 GeoNet,可建模点云 ...
- SVN安装后bin中没有svn.exe,TortoiseSVN安装后bin目录中没有svn.exe;
TortoiseSVN的bin目录中没有svn.exe 为什么没有,是因为安装TortoiseSVN的时候没有勾选指定安装项:找到svn的安装包,不用卸载旧的直接安装: 1.选择Modify 2.注意 ...
- Windows Server 2016 启用完整版任务管理器
众所周知 Windows Server 2012以上的任务管理器是被阉割过的 那么如何启用呢?首先把你的任务管理器复制一份出来位置:系统盘\Windows\System32\Taskmgr.exe和系 ...