Sunday, March 7, 2010

Maven: Copy Dependencies to a folder

So if you need to copy all project dependencies to a folder using Maven, just type
mvn dependency:copy-dependencies -DoutputDirectory=<folder name>

Can it be more simple?
So why I'm googleing for it over and over again?


Recommended Reading

1. Maven: The Definitive Guide
2. Pro Git
3. Smart and Gets Things Done: Joel Spolsky's Concise Guide to Finding the Best Technical TalentProgramming Language & Tool Books)

3 comments:

Anonymous said...
This comment has been removed by a blog administrator.
Chris said...

Thanks for this. I was also searching all over for a solution. Your post was the first one I came across.

SANTOSH said...

Thank you so much dude.. very helpful