27

I'm new to Maven and use Eclipse Juno. I've installed Maven Integration for Eclipse. There are three options in File > New > Other > Maven:
1. Checkout Maven Projects from SCM
2. Maven Module
3. Maven Project

But I don't see Maven2 POM as described here. I've read that adding pom.xml is the first thing to do when using Maven.

I have an existing Dynamic Web Project so I'm not sure whether I need to create Maven Project just to use Maven.

How to use Maven with this existing project?

Further, when I try to add Maven Project and on step "Select an Archetype", then all shown archetypes have version "RELEASE". When I click Next on this step, Eclipse becomes Not Responding. It's used memory doesn't even increase.

dimas
  • 2,487
  • 6
  • 40
  • 66
Andrei Botalov
  • 20,686
  • 11
  • 89
  • 123

2 Answers2

37

Take a look here :

In last version of eclipse (Juno included), there is a more convinient wizard :

Configure > Convert to maven project
Tekker
  • 5
  • 1
  • 4
Jean-Rémy Revy
  • 5,607
  • 3
  • 39
  • 65
8

You need to import the project as a Maven project.

File -> Import -> Maven -> Import existing Maven project.
Andrew T Finnell
  • 13,417
  • 3
  • 33
  • 49