www.rodneybeede.com "I would love to change the world, but they won't give me the source code" - unknown
  Navigation

Maven 2 project as Eclipse Dynamic Web Project - Last Modified 2009-01-29 21:48 UTC - Created 2009-01-29 21:48 UTC

I used:

Creating the project

  1. mvn archetype:generate
  2. Select maven-archetype-webapp
    • Number 18 for my Maven
    • Also there are setups for Cocoon, J2EE, etc.
  3. Provide your groupId
  4. Provide your artifactId
  5. Provide your version
  6. Change the package name if you want
  7. Confirm your selections
  8. Project is created

Create the Eclipse project

  1. Change into the project folder
  2. mvn eclipse:eclipse -Dwtpversion=1.5
  3. Import the project in Eclipse with "Existing Projects into Workspace"