Thursday, April 21, 2016

Maven

importing a maven project:

right click ->Import ->. Import -> Maven-> Existing Maven Project.

create new maven project

New -> Project -> Maven Project ->

click Next

select arche type

click Next

provide groupId and artifactId and click 'Finish'.

if eclipse gives error that 'could not resolve archetype'.. do below steps:

  1. Open Window > Preferences
  2. Open Maven > Archetypes
  3. Click 'Add Remote Catalog' and add the following:

No comments:

Post a Comment