Maven: how to export project with sources and dependencies

Viewed 51449

I have Maven project with dependencies in repo and stuff. I want to "export" its sources with all dependencies so that I can successfully open it in IDE without Maven running on a machine.

When packaging project into war file, it has all dependencies packed with it.

So I want to have all that dependencies plus my sources gathered in one place, which can be opened with IDE (Eclipse or IDEA) all those libraries detected?

3 Answers
Related