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

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

commit e11e7afacff4ac8edd4c6345a7f5912f6856af44
Author: Elliotte Rusty Harold <[email protected]>
AuthorDate: Sat Dec 13 16:50:19 2025 +0000

    Fix typos and improve clarity in documentation
---
 src/site/markdown/using-resolver-in-maven-plugins.md | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/src/site/markdown/using-resolver-in-maven-plugins.md 
b/src/site/markdown/using-resolver-in-maven-plugins.md
index 689481c8b..4102fd6c0 100644
--- a/src/site/markdown/using-resolver-in-maven-plugins.md
+++ b/src/site/markdown/using-resolver-in-maven-plugins.md
@@ -19,9 +19,8 @@ under the License.
 -->
 
 [Apache Maven](http://maven.apache.org/) 3.x uses Resolver (former Aether) for 
repository
-tasks and Maven plugins that target Maven 3.x can do so as well. To
-start, you likely want to add the following dependencies to your plugin
-POM:
+tasks, and Maven plugins that target Maven 3.x can do so as well. To
+start, add the following dependencies to the plugin POM:
 
 ```xml
 <project>
@@ -53,12 +52,12 @@ POM:
 </project>
 ```
 
-*Note:* At runtime, the actual version of `maven-resolver-api` being used is
-enforced by the Maven core, just like other Maven APIs. So be sure to
+*Note:* At runtime, the actual version of `maven-resolver-api` added to the 
classpath is
+set by the Maven core so be sure to
 compile/test your plugin against the version of `maven-resolver-api` that is
 used by the minimum version of Maven that your plugin wants to support.
 
-Next, in your mojo source, you need to grab the repository related
+Next, in your mojo source, you need to inject the repository related
 components and parameters:
 
 ```java
@@ -104,8 +103,8 @@ public class MyMojo extends AbstractMojo
 }
 ```
 
-Usually, you need only `remoteProjectRepositories` or 
`remotePluginRepositories`
+Usually, you only need one of  `remoteProjectRepositories` or 
`remotePluginRepositories`,
 depending on the nature of artifacts your plugin is dealing with. The other 
plugin
 parameter would be superfluous in that case. But in general, the bits
-shown above should give you all the handles that you need to work with
-Aether from within a Maven plugin.
+shown above should give you all the handles that you need to use the resolver
+from within a Maven plugin.

Reply via email to