Thursday, 15 August 2013

xml - Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp -



xml - Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp -

i getting above error message when seek , create simple maven project. have exhausted previous suggestions, e.g. window > preferences > maven > archetypes > add together remote catalog... , adding catalog file: http://repo1.maven.org/maven2/archetype-catalog.xml

when click verify says empty.

i have tried deleting maven repository in .m2 directory no reward.

my finish error this:

could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:release of configured repositories. not resolve artifact org.apache.maven.archetypes:maven-archetype-webapp:pom:release failed resolve version org.apache.maven.archetypes:maven-archetype-webapp:pom:release: not find metadata org.apache.maven.archetypes:maven-archetype-webapp/maven-metadata.xml in local (c:\users\user_id\.m2\repository) failed resolve version org.apache.maven.archetypes:maven-archetype-webapp:pom:release: not find metadata org.apache.maven.archetypes:maven-archetype-webapp/maven-metadata.xml in local (c:\users\user_id\.m2\repository)

the maven-metadata.xml file in right place (i think) i'm not exclusively sure if right file contents, should go in file?

i have tried deleting , changing settings.xml file in terms of both content , location, 1 time again repeated, infuriating message.

after research on same issue have found 1 of solutions found follow these steps:

open window > preferences open maven > archetypes

click 'add remote catalog' , add together following:

catalog file: http://repo1.maven.org/maven2/archetype-catalog.xml description: maven catalog

hope of utilize you.

xml eclipse maven repository setup-project

No comments:

Post a Comment