You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by David Primmer <da...@gmail.com> on 2008/04/04 09:55:51 UTC

some eclipse maven plugin info

The link in the getting started docs has a link to an old version of
the maven plugin:

this link: http://m2eclipse.codehaus.org/update/
version="0.0.12.20071107-2300"

Can be updated with this:

http://m2eclipse.sonatype.org/update/
version="0.9.1.200803311600"

Seems to be an improvement.

Another tip I got today, is that if you would like to be able to step
into the code of your dependent jars when debugging, you need the
sources jars.The following maven command, when run in the directory of
an Eclipse project, will download the source jars for any dependent
projects in the nearest pom.xml file and put them in your maven
repository. Eclipse will automatically know about these sources when
debugging.

mvn eclipse:m2eclipse -DdownloadSources=true

Note, there was a wtpversion setting in the maven plugin of the
pom.xml that was causing the mvn eclipse:eclipse command to always add
the WTP facet to an eclipse project created with this command. This is
not the default behavior and I've taken that out as some may not want
this facet added to their project.

I can make patches for the docs as well as the pom if people think
this is good info.

davep