On Sun, Feb 26, 2012 at 2:55 AM, sarmahdi <sarma...@hotmail.com> wrote:
> Hello All!
>
> I am confused and i cant seem to undertand this thing :

It's very simple.

> There is a eclipse plugin for maven that can be downloaded from eclipse ( I
> am trying to download one for RSA 7.0 but cannot find it)

This is an Eclipse plugin (not a Maven one) so it runs directly inside eclipse.
It allows you to run maven command from within Eclipse and also
provides Eclipse editors for pom.xml files.
RSA is often too far behind the main Eclipse release, so you may need
to convince it to find things, etc, but it should just be a matter of
following the instructions at http://www.eclipse.org/m2e/

> Then there is a maven plugin for eclipse
> http://maven.apache.org/plugins/maven-eclipse-plugin/ mave-eclipse-plugin

This is a Maven plugin (not an Eclipse one)
It will build the Eclipse files .classpath, .project and a few others
so that you can import your Maven project into Eclipse all configured
and ready to go.
It saves you from manually doing this.
Since it does not run in Eclipse, every time you want to do anything
you need to use a console prompt to run Maven (just like you normally
would).
If your dependencies change, you will need to re-run the
maven-eclipse-plugin to reconfigure Eclipse with the changes.

> If i use this will i be able to use that project as an eclipse project. then
> what is the difference between the first plugin that eclipse downloads or do
> i need both?

Be warned: You can not run both.

m2e will not load a project that has had maven-eclipse-plugin run against it.

However you can try one or the other and see which you prefer.
Just remember to start with a clean checkout each time.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to