Home > maven, tech > Corrupted Local Maven Repository

Corrupted Local Maven Repository

Yesterday I got the following error when trying to run my development server using Maven:

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Internal error in the plugin manager executing goal 
'org.apache.maven.plugins:maven-jetty-plugin:6.1.-SNAPSHOT:run': Unable to find
the mojo 'org.apache.maven.plugins:maven-war-plugin:6.1-SNAPSHOT:run' in the
plugin 'org.apache.maven.plugins:maven-jetty-plugin'

Googling around, initially, did not provide much help. But eventually I came across this post on ServiceMix users list, and my problem was similar to it. I worked around the issue by:

  1. deleting $MAVEN_REPO/org/apache/maven/plugins
  2. deleting all folders matching *jetty* in $MAVEN_REPO
Categories: maven, tech
  1. No comments yet.
  1. No trackbacks yet.