How to download mvn sources to IDE such as Eclipse or IDEA - Articles -


Whenever you need to download sources or javadocs you can supply maven with the option keys bellow to do so:

To download sources:

mvn [goal] -DdownloadSources=true

so for example for IDEA project setup you would do: mvn idea:idea -DdownloadSources=true

To download javadocs:

mvn [goal] -DdownloadJavadocs=true


Hope this helps...

This page was last updated on: 21/02/2010 05:36