Maven2 dependency plugin

dependency:sources

Intellij can do this on import but it seems to slow it down. Instead, you can use the dependency:sources goal to download source code. usage:

  mvn dependency:sources
    

You can do this while IntelliJ is running - it will automatically detect the new sources

http://maven.apache.org/plugins/maven-dependency-plugin/plugin-info.html

dependency:tree

This is useful to know why a particular jar is being used. I've had instances where multiple versions or clashing libraries were being imported.

 

Published: Tuesday, 22 June 2010