Author: svn-site-role
Date: Sun Jun 23 20:46:41 2024
New Revision: 1918526

Log:
Site checkin for project Apache Maven Site

Modified:
    maven/website/content/guides/plugin/guide-java-plugin-development.html

Modified: maven/website/content/guides/plugin/guide-java-plugin-development.html
==============================================================================
--- maven/website/content/guides/plugin/guide-java-plugin-development.html 
(original)
+++ maven/website/content/guides/plugin/guide-java-plugin-development.html Sun 
Jun 23 20:46:41 2024
@@ -198,7 +198,7 @@ public class GreetingMojo extends Abstra
 <ul>
 <li>The class <code>org.apache.maven.plugin.AbstractMojo</code> provides most 
of the infrastructure required to implement a mojo except for the 
<code>execute</code> method.</li>
 <li>The annotation &quot;<code>@Mojo</code>&quot; is required and control how 
and when the mojo is executed.</li>
-<li>The <code>execute</code> method can throw 
<code>org.apache.maven.plugin.MojoExecutionException</code> if an problem 
occurs. Throwing this exception causes a <code>BUILD FAILURE</code> message to 
be displayed.</li>
+<li>The <code>execute</code> method can throw 
<code>org.apache.maven.plugin.MojoExecutionException</code> if a problem 
occurs. Throwing this exception causes a <code>BUILD FAILURE</code> message to 
be displayed.</li>
 <li>The <code>getLog</code> method (defined in <code>AbstractMojo</code>) 
returns a log4j-like logger object which allows plugins to create messages at 
levels of &quot;debug&quot;, &quot;info&quot;, &quot;warn&quot;, and 
&quot;error&quot;. This logger is the accepted means to display information to 
the user. Please have a look at the section <a 
href="../../plugin-developers/common-bugs.html#Retrieving_the_Mojo_Logger">Retrieving
 the Mojo Logger</a> for a hint on its proper usage.</li></ul>
 <p>All Mojo annotations are described by the <a 
href="../../developers/mojo-api-specification.html#The_Descriptor_and_Annotations">Mojo
 API Specification</a>.</p></section></section><section>
 <h3><a id="Project_Definition">Project Definition</a></h3>


Reply via email to