According to the plugin page the latest version of the maven dependencies plugin is 3.1.1
.
In my project I see:
./mvnw dependency:help | grep "Apache Maven Dependency Plugin" [INFO] Apache Maven Dependency Plugin 2.10
If I run ./mvnw versions:display-plugin-updates | grep -i dependency | wc -l
I see 0
Indicating that the versions plugin doesn't seem to want to let me know that I could update from 2.10 -> 3.1.1
I am using Maven 3.5.4
.
If I explicitly add this to my pom then the latest version is used:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.1.1</version>
</plugin>
./mvnw dependency:help | grep "Apache Maven Dependency Plugin" [INFO] Apache Maven Dependency Plugin 3.1.1
Is anyone able to educate me as to why this might be? Is it likely misconfiguration in my project or did I misunderstood how mvn:versions
should work.