elharo commented on a change in pull request #3:
URL: 
https://github.com/apache/maven-artifact-plugin/pull/3#discussion_r558842682



##########
File path: pom.xml
##########
@@ -96,7 +96,7 @@
     <dependency>
       <groupId>org.apache.maven.resolver</groupId>
       <artifactId>maven-resolver-api</artifactId>
-      <version>1.4.1</version>

Review comment:
       Let's see if I understand this. I'm thinking that:
   
   1. When Maven runs to build a user project, it has already loaded 
maven-resolver-api before it loads this plugin, so it uses the version of 
maven-resolver-api that is already in the classpath. That could be 1.4.1 for 
Maven 3.1.1 or some other version with a different version of Maven. Either 
way, the version declared here is moot. Hence, provided.
   
   2. When this plugin is compiled, though, javac places the version of 
maven-resolver-api specified here on the classpath. 
   
   does that make sense?




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

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


Reply via email to