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 
    -DinteractiveMode=false

mvn archetype:generate -DgroupId=com.porsche.wwsp 
    -DartifactId=wwsframework -DarchetypeArtifactId=maven-archetype-quickstart 
    -DinteractiveMode=false
- 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

import

Convert to Maven Projekt

convert_to_maven

Remove legacy build-path entries

Leave a Comment

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

Martin Rocks