Maven Dependency Updates

Mar 4, 2016 / Updated on Mar 4, 2016

Use the following command to find any updates on dependencies

mvn versions:display-dependency-updates

Sample Output:

$ mvn versions:display-dependency-updates
[INFO] Scanning for projects...
[INFO]
[INFO] --------------------< com.sample.myproject:app >--------------------
[INFO] Building MyProject 1.0-SNAPSHOT
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] --- versions-maven-plugin:2.5:display-dependency-updates (default-cli) @ app ---
[INFO] artifact commons-io:commons-io: checking for updates from local-release-repository
[INFO] artifact commons-fileupload:commons-fileupload: checking for updates from prime-repo
[INFO] artifact commons-io:commons-io: checking for updates from local-release-repository
[INFO] The following dependencies in Dependencies have newer versions:
[INFO]   commons-io:commons-io ..................................... 2.5 -> 2.6
[INFO]
[INFO] The following dependencies in Plugin Dependencies have newer versions:
[INFO]   org.apache.tomee:tomee ................................ 7.0.4 -> 7.0.5
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 45.973 s
[INFO] Finished at: 2018-09-07T09:41:28+05:30
[INFO] ------------------------------------------------------------------------
comments powered by Disqus
Categories:
Tags: