Maven and Eclipse

Previous steps to make:

  • Install Maven
  • Install Eclipse (luna)
mvn archetype:generate -DgroupId=org.apache.maven.archetypes 
    -DartifactId=wwsservices -DarchetypeArtifactId=maven-archetype-webapp 

mvn archetype:generate -DgroupId=com.porsche.wwsp 
    -DartifactId=wwsframework -DarchetypeArtifactId=maven-archetype-quickstart 
- src
  - main
    - java
    - resources
    - webapp
  - test
    - java
    - resources

- target

create a maven projekt

A pom.xml-File is created

create eclipse projekt

mvn eclipse:eclipse


Convert to Maven Projekt


Remove legacy build-path entries

Leave a Comment

Your email address will not be published. Required fields are marked *

Martin Rocks