Thursday, 15 July 2010

Maven Error No plugin found for prefix ‘archetype’ in the current project using Nexus -



Maven Error No plugin found for prefix ‘archetype’ in the current project using Nexus -

i trying setup maven in company's local network not connected net directly, , utilize sonatype nexus central repository.

but when run command mvn archetype:create, result shows build failure error no plugin found prefix 'archetype' in current project.

how solve issue?,

maven trying total plugin artifact id corresponds "archetype" prefix.

to reads available prefixes path: /org/apache/maven/plugins/maven-metadata.xml

since you're using nexus coming grouping repository, e.g.:

http://:8081/nexus/content/groups/public/org/apache/maven/plugins/maven-metadata.xml

you'll need @ maven configuration , build log see trying retrieve information. there additional info failure if run maven debug ("-x") flag.

if it's trying retrieve nexus instance see here info on how diagnose issue:

https://support.sonatype.com/entries/21437881

maven nexus archetypes

No comments:

Post a Comment