Thanks, Eugene. I was actually aware of that, but in the interest of education I was trying to make it clear that Maven and Eclipse are two distinct things. Sometimes, as useful as they may be, plugins blur the lines. I generally think it's better to learn the one tool, then figure out how it gets integrated with something else.

I do like M2Eclipse, by the way.
Dave


Eugene Kuleshov wrote:
dchicks,

  With m2eclipse, steps you described can be folded nearly into one step.
You may want to check it out. See, for example, how Maven Archetypes are
integrated into the new project wizard.
http://docs.codehaus.org/display/M2ECLIPSE/Creating+Maven+projects

  You can say that Eclipse is not necessary, but it is certainly making
working with Maven in the IDE easier.

  regards,
  Eugene


dchicks wrote:
After reading your first email, I think you have some ideas backwards. Eclipse does not necessarily "control" what Maven does. Maven's activities are all governed by the pom.xml file. To help simplify things, why not take it one step at a time.

First, create your Maven project. Use an archetype to generate the starting point for yourself: http://docs.codehaus.org/display/MAVENUSER/Archetypes+List Next, build the project using Maven: mvn install (this will get all your dependencies pulled into your local repository) Next, create the necessary Eclipse project files from the Maven pom.xml: mvn eclipse:eclipse Now, when you open Eclipse, you can import the project and it will be all happy with itself.

Any time you need to add a dependency, it should be done through the pom.xml. M2Eclipse (the Eclipse plugin) can help with this, but isn't strictly necessary.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to