lwr commented on issue #2: [MRESOLVER-98] resolver ant task doesn't obey 
dependencyManagement
URL: 
https://github.com/apache/maven-resolver-ant-tasks/pull/2#issuecomment-593997719
 
 
   After applying the patch, the resolving mechanism still does not work as 
expected
   
   test case
   ```xml
     <dependencyManagement>
       <dependencies>
         <dependency>
           <groupId>org.apache.maven.resolver</groupId>
           <artifactId>maven-resolver-api</artifactId>
           <version>1.4.1</version>
         </dependency>
       </dependencies>
     </dependencyManagement>
   
     <dependencies>
       <dependency>
         <groupId>org.apache.maven.resolver</groupId>
         <artifactId>maven-resolver-util</artifactId>
         <version>1.4.1</version>
         <scope>test</scope>
       </dependency>
     </dependencies>
   ```
   
   the dependency tree
   ```
   [INFO] \- org.apache.maven.resolver:maven-resolver-util:jar:1.4.1:test
   [INFO]    \- org.apache.maven.resolver:maven-resolver-api:jar:1.4.1:test
   ```
   
   but the resolver will incorrectly resolve `maven-resolver-api` as `compile` 
scope
   
   I think it would be caused by the resolver itself

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


With regards,
Apache Git Services

Reply via email to