Nuoyu Yang created MNG-6950: ------------------------------- Summary: Outdated version of maven-dependency-plugin in Maven 3.6.3 Key: MNG-6950 URL: https://issues.apache.org/jira/browse/MNG-6950 Project: Maven Issue Type: Bug Components: core, Dependencies, Inheritance and Interpolation Affects Versions: 3.6.3 Environment: Java 11.0.7; Maven 3.6.3; Linux Reporter: Nuoyu Yang
When I run "mvn dependency:tree" with maven 3.6.3 to view the dependency hierarchy of the project currently being built, the result shows that the version of maven-dependency-plugin is 2.8. For example, I have a pom.xml file like this: {code:java} <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org.codehaus.mojo.flatten.its</groupId> <artifactId>test</artifactId> <version>0.0.1-SNAPSHOT</version> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.13</version> </dependency> </dependencies> </project> {code} When I run "mvn dependency:tree", the result is as follows: !Screenshot 2020-06-30 at 4.25.31 PM.png|width=604,height=261! It shows that the maven-dependency-plugin version is 2.8. I have checked the org.apache:apache:23 where the maven-dependency-plugin is managed and the version of it is defined as 3.1.1. But the output of dependency:tree shows the version is 2.8. So I think it is not an updating issue but a bug. -- This message was sent by Atlassian Jira (v8.3.4#803005)