Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: eclipse:add-maven-repo has been deprecated in favor of eclipse:configure-workspace, back in 2012. As far as I can tell only this new version works now (it's what I use)

...

No Format
$ mvn -DdownloadSources=true -DdownloadJavadocs=true -DoutputDirectory=target/eclipse-classes -Declipse.workspace=/path/to/workspace eclipse:eclipse eclipse:addconfigure-maven-repoworkspace

Where /path/to/workspace is the path to your Eclipse workspace.

...