gnodet commented on code in PR #13153:
URL: https://github.com/apache/maven/pull/13153#discussion_r4024383355


##########
api/maven-api-core/src/main/java/org/apache/maven/api/Node.java:
##########
@@ -68,6 +68,8 @@ public interface Node {
 
     /**
      * The repository where this artifact has been downloaded from.

Review Comment:
   Fixed in 3ce87eeed572ba3eac0a1bb30cbe7d8816ab3454.



##########
impl/maven-impl/src/main/java/org/apache/maven/impl/DefaultNode.java:
##########
@@ -72,8 +74,15 @@ public List<RemoteRepository> getRemoteRepositories() {
 
     @Override
     public Optional<RemoteRepository> getRepository() {
-        // TODO: v4: implement
-        throw new UnsupportedOperationException("Not implemented yet");
+        org.eclipse.aether.artifact.Artifact artifact = node.getArtifact();

Review Comment:
   Fixed in 3ce87eeed572ba3eac0a1bb30cbe7d8816ab3454.



-- 
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