You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kw...@apache.org on 2024/08/10 12:49:39 UTC

(maven-resolver) branch master updated: doc: Fix typo in sample code

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 362a4367 doc: Fix typo in sample code
362a4367 is described below

commit 362a43675f01b8bb3d85d7b0ff76a21d57de6fee
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Sat Aug 10 14:49:34 2024 +0200

    doc: Fix typo in sample code
    
    readonly element on Parameter annotation is lower-case
---
 src/site/markdown/using-resolver-in-maven-plugins.md | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/site/markdown/using-resolver-in-maven-plugins.md b/src/site/markdown/using-resolver-in-maven-plugins.md
index 67d738fe..7c254464 100644
--- a/src/site/markdown/using-resolver-in-maven-plugins.md
+++ b/src/site/markdown/using-resolver-in-maven-plugins.md
@@ -71,7 +71,7 @@ public class MyMojo extends AbstractMojo
 {
 
     /**
-     * The entry point to Aether, i.e. the component doing all the work.
+     * The entry point to resolver (fka. Aether), i.e. the component doing all the work.
      */
     @Component
     private RepositorySystem repoSystem;
@@ -79,19 +79,19 @@ public class MyMojo extends AbstractMojo
     /**
      * The current repository/network configuration of Maven.
      */
-    @Parameter(defaultValue="${repositorySystemSession}", readOnly = true)
+    @Parameter(defaultValue="${repositorySystemSession}", readonly = true)
     private RepositorySystemSession repoSession;
 
     /**
      * The project's remote repositories to use for the resolution of project dependencies.
      */
-    @Parameter(defaultValue = "${project.remoteProjectRepositories}", readOnly = true)
+    @Parameter(defaultValue = "${project.remoteProjectRepositories}", readonly = true)
     private List<RemoteRepository> projectRepos;
 
     /**
      * The project's remote repositories to use for the resolution of plugins and their dependencies.
      */
-    @Parameter(defaultValue = "${project.remotePluginRepositories}", readOnly = true)
+    @Parameter(defaultValue = "${project.remotePluginRepositories}", readonly = true)
     private List<RemoteRepository> pluginRepos;
 
     // Your other mojo parameters and code here