You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2017/11/16 18:11:18 UTC
svn commit: r1815494 -
/maven/site/trunk/content/apt/guides/plugin/guide-java-plugin-development.apt
Author: hboutemy
Date: Thu Nov 16 18:11:18 2017
New Revision: 1815494
URL: http://svn.apache.org/viewvc?rev=1815494&view=rev
Log:
added process-classes phase now separate from compile to get plugin descriptor and link to reference
Modified:
maven/site/trunk/content/apt/guides/plugin/guide-java-plugin-development.apt
Modified: maven/site/trunk/content/apt/guides/plugin/guide-java-plugin-development.apt
URL: http://svn.apache.org/viewvc/maven/site/trunk/content/apt/guides/plugin/guide-java-plugin-development.apt?rev=1815494&r1=1815493&r2=1815494&view=diff
==============================================================================
--- maven/site/trunk/content/apt/guides/plugin/guide-java-plugin-development.apt (original)
+++ maven/site/trunk/content/apt/guides/plugin/guide-java-plugin-development.apt Thu Nov 16 18:11:18 2017
@@ -169,14 +169,15 @@ public class GreetingMojo extends Abstra
</project>
+----+
-** Build Goals
+** Building a Plugin
- There are few goals which are defined with the <<<maven-plugin>>>
- packaging as part of a standard build lifecycle:
+ There are few plugins goals bound to the standard build lifecycle
+ defined with the <<<maven-plugin>>> packaging:
*-------------+----------------------------------------------------+
-|<<<compile>>>|Compiles the Java code for the plugin and builds the|
-| |plugin descriptor |
+|<<<compile>>>|Compiles the Java code for the plugin |
+*-------------+----------------------------------------------------+
+|<<<process-classes>>>|Extracts data to build the plugin descriptor|
*-------------+----------------------------------------------------+
|<<<test>>> |Runs the plugin's unit tests |
*-------------+----------------------------------------------------+
@@ -187,6 +188,9 @@ public class GreetingMojo extends Abstra
|<<<deploy>>> |Deploys the plugin jar to the remote repository |
*-------------+----------------------------------------------------+
+ For more details, you can look at
+ {{{/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_maven-plugin_packaging} detailed bindings for <<<maven-plugin>>> packaging}}.
+
** Executing Your First Mojo
The most direct means of executing your new plugin is to specify the