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:
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:
- Open Window > Preferences
- Open Maven > Archetypes
- Click 'Add Remote Catalog' and add the following:
- Catalog File: http://repo1.maven.org/maven2/archetype-catalog.xml
- Description: maven catalog
No comments:
Post a Comment