[Trivia] generating eclipse project dependencies with maven2

When we migrated to maven2 a few months back we had little problems, accept that we could not figure out how to automatically generate project dependencies for eclipse. Apparently, maven1 has a special tag for this, but this did not make it into maven2.

Recently, (and by that I mean a few weeks back, just didn't bother to post this yet) one of my co-workers found out that you can simple pass the location to your eclipse-workspace to the eclipse:eclipse tag:

mvn eclipse:eclipse -Declipse.workspace=/path/to/your/workspace


and we all lived happily ever after ...