Maven 2: Downloading sources

When you building a project using Maven 2 you may need to download sources for your project dependencies. This is how you can accomplish this goal:


mvn clean compile package -DdownloadSources=true

Comments are closed.