February 15, 2008

'org.apache.maven.plugins:maven-archetype-plugin' does not exist

I kept getting an error about the maven-archetype-plugin whenever I tried to create a new application using maven 2. It turns out part of my local maven repository must have become corrupted or failed to download properly. It was solved by deleting .m2/repository/org/apache/maven and allowing maven to download all the required dependencies again.

So, this is for google (and for me, the next time it happens).

Technorati Tags: , , , ,

Posted by savs at February 15, 2008 6:50 AM
Comments

Thank you for this, it solved my problem for the last 3 days!

Posted by: Henrik at February 24, 2008 11:19 AM