gnodet-bot commented on code in PR #2347:
URL: https://github.com/apache/maven-resolver/pull/2347#discussion_r4720843879


##########
src/site/markdown/index.md:
##########
@@ -27,7 +27,7 @@ author:
 
 Apache Maven Artifact Resolver is a library for working with artifact 
repositories and dependency resolution.
 
-Maven Artifact Resolver deals with the specification of local repository, 
remote repository, developer workspaces, artifact transports, and artifact 
resolution. It is expected to be extended by a concrete repository 
implementation, such as [Maven Artifact Resolver 
Provider](/ref/current/maven-resolver-provider/) for Maven repositories or any 
other provider for other repository formats. 
+Maven Artifact Resolver deals with the specification of local repository, 
remote repository, developer workspaces, artifact transports, and artifact 
resolution. It is expected to be extended by a concrete repository 
implementation, such as [Maven Artifact Resolver 
Provider](/ref/current/maven-resolver-provider/) in Maven 3 or the 
`org.apache.maven.impl` implementation in Maven 4's [maven-impl 
module](https://maven.apache.org/ref/4-LATEST/impl/maven-impl/apidocs/index.html)
 for Maven repositories, or any other provider for other repository formats.

Review Comment:
   ⚠️ **Run-on sentence (STE: sentence length > 25 words):** The updated line 
is very long (50+ words) and hard to parse — the reader must work to find where 
"Maven 3" ends and "Maven 4" begins in the clause chain.
   
   Suggest splitting into two sentences:
   
   ```suggestion
   Maven Artifact Resolver deals with the specification of local repository, 
remote repository, developer workspaces, artifact transports, and artifact 
resolution. It is expected to be extended by a concrete repository 
implementation: in Maven 3, [Maven Artifact Resolver 
Provider](/ref/current/maven-resolver-provider/); in Maven 4, the 
`org.apache.maven.impl` implementation in the [maven-impl 
module](https://maven.apache.org/ref/4-LATEST/impl/maven-impl/apidocs/index.html).
 Any other provider for other repository formats works as well.
   ```



##########
src/site/markdown/what-is-resolver.md:
##########
@@ -24,10 +24,10 @@ Resolver (formerly Aether) is the answer. It is an 
*embeddable Java library that
 
 There are many ways to transfer artifacts, describe their relationships, and 
use them. Resolver was designed to be customizable, so you can augment or 
replace the stock functionality. The Resolver Core itself does not know how to 
handle Maven repositories, for example. It is tool agnostic. It provides a 
general artifact resolution and deployment framework and leaves details such as 
the repository format to extensions.
 
-The `maven-resolver-provider` from the [Apache 
Maven](https://maven.apache.org/) project supports Maven repositories. If you 
want to consume artifacts from the [Central 
Repository](https://search.maven.org/?eh=), Resolver together with the Maven 
Resolver Provider is the best choice. This simplifies your work with artifacts. 
It also ensures interoperability with other tools that work with Maven 
repositories.
+The `maven-resolver-provider` module in Maven 3, and the 
`org.apache.maven.impl` package of the `maven-impl` module in Maven 4, from the 
[Apache Maven](https://maven.apache.org/) project support Maven repositories. 
If you want to consume artifacts from the [Central 
Repository](https://search.maven.org/?eh=), Resolver together with the Maven 
Resolver Provider is the best choice. This simplifies your work with artifacts. 
It also ensures interoperability with other tools that work with Maven 
repositories.
 
 ## How To Embed Resolver
 

Review Comment:
   ⚠️ **Pronoun ambiguity:** After listing two modules 
(`maven-resolver-provider` for Maven 3 and `maven-impl` for Maven 4), `"That 
module"` is ambiguous — it could refer to either one. Suggest making the 
pronoun explicit:
   
   ```suggestion
   As noted earlier, Resolver alone does not know how to handle Maven 
repositories and models. To make Resolver minimally functional, you need the 
`maven-resolver-provider` module (Maven 3) or the `maven-impl` module (Maven 
4). These modules contain the required component implementations and the 
required models for Maven repositories. They give Resolver basic functionality.
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to