How to check pom.xml for updated dependencies

Viewed 27738

I am fairly new to Maven and pom.xml. Is there a way I can find out which of my dependencies that are outdated, so that I can update version numbers in my pom.xml.

In other languages, for instance, Ruby has the command gem list outdated that gives me a list of dependencies (rubygems) I can update

I am using IntelliJ Idea if that can help.

3 Answers

It isn't obvious what the POM dependency is for this.

For your convenience:

<dependency>
    <groupId>org.codehaus.mojo</groupId>
    <artifactId>versions-maven-plugin</artifactId>
    <version>2.1</version>
</dependency>

and the Repository:

<repository>
    <id>Codehaus Mojo</id>
    <name>Codehaus Mojo</name>
    <url>https://nexus.codehaus.org/content/repositories/releases/</url>
</repository>
Related