Downloading dependency source for maven

In the Debugging your code using Embedded Jetty in Maven , i talked about how you can debug the code deployed in embedded Jetty server using Maven. Most of the enterprise applications use few dependencies, and some times you might want to debug the dependency code in addition to your own code, in those cases, you might want to download the dependency source code(if it exists in maven repository) You have 2 options for downloading the dependencies code
  1. Either you can execute mvn eclipse:eclipse -DdownloadSources=true command to download the source code along with the jars while setting up eclipse project
  2. You can execute mvn dependency:sources to download the source

1 comment:

maplestorymesos said...
This comment has been removed by a blog administrator.