You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "laeubi (via GitHub)" <gi...@apache.org> on 2023/02/04 13:27:07 UTC

[GitHub] [maven] laeubi commented on a diff in pull request #805: MNG-7544 - MavenMetadataSource.retrieve(MetadataResolutionRequest) do not check for null when reading from project map

laeubi commented on code in PR #805:
URL: https://github.com/apache/maven/pull/805#discussion_r1096536783


##########
maven-core/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java:
##########
@@ -96,7 +99,11 @@
     private RepositoryMetadataManager repositoryMetadataManager;
 
     @Requirement
-    private ArtifactFactory repositorySystem;
+    private RepositorySystem repositorySystem;

Review Comment:
   Can you suggest what is the modern alternative for this? I see it still used in maven-3.9x code base (and actually adapted from there the usage here ...)



-- 
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: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org