This is an automated email from the ASF dual-hosted git repository.

elharo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 8b36ec61 Copye edits and typos (#606)
8b36ec61 is described below

commit 8b36ec61431dcf88a8ee9e3292e70c04831ff6b0
Author: Elliotte Rusty Harold <elh...@users.noreply.github.com>
AuthorDate: Thu Dec 26 12:44:11 2024 +0000

    Copye edits and typos (#606)
---
 .../guides/plugin/guide-java-plugin-development.apt.vm   | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/content/apt/guides/plugin/guide-java-plugin-development.apt.vm 
b/content/apt/guides/plugin/guide-java-plugin-development.apt.vm
index 3799b9dd..5b3d94b3 100644
--- a/content/apt/guides/plugin/guide-java-plugin-development.apt.vm
+++ b/content/apt/guides/plugin/guide-java-plugin-development.apt.vm
@@ -63,7 +63,7 @@ Guide to Developing Java Plugins
   superclass for the mojos to consolidate code common to all mojos.
 
   When processing the source tree to find mojos, {{{/plugin-tools/} 
<<<plugin-tools>>>}}
-  looks for classes with <<<@Mojo>>> Java 5 annotation.
+  looks for classes with <<<@Mojo>>> annotation.
   Any class with this annotation are included in the plugin configuration file.
 
 *** A Simple Mojo
@@ -193,7 +193,7 @@ public class GreetingMojo extends AbstractMojo
 
 ** Building a Plugin
 
-  There are few plugins goals bound to the standard build lifecycle
+  There are few plugin goals bound to the standard build lifecycle
   defined with the <<<maven-plugin>>> packaging:
 
 *-------------+----------------------------------------------------+
@@ -394,13 +394,13 @@ mvn archetype:generate \
 
 * Using Setters
 
- You are not restricted to using private field mapping which is good if you 
are trying to make you Mojos resuable
+ You are not restricted to using private field mapping which is good if you 
are trying to make your Mojos resuable
  outside the context of Maven.
- Using the example above we could define public setters methods that the 
configuration mapping mechanism can use.
- You can also add <<<@Parameter>>> annotation on setter method (from version 
3.7.0 of `plugin-tools`)
+ Using the example above, we could define public setter methods that the 
configuration mapping mechanism can use.
+ You can also add an <<<@Parameter>>> annotation on the setter method (from 
version 3.7.0 of `plugin-tools`)
 
 
- So our Mojo would look like the following:
+ So the Mojo would look like the following:
 
 +----+
 
@@ -438,8 +438,8 @@ public class MyQueryMojo extends AbstractMojo {
 
 +----+
 
- Note the specification of the property name for each parameter which tells 
Maven what setter and getter to use when
- the field's name does not match the intended name of the parameter in the 
plugin configuration.
+ Note the specification of the property name for each parameter which tells 
Maven which setter and getter to use when
+ the field's name does not match the name of the parameter in the plugin 
configuration.
 
 * Resources
 

Reply via email to