title: Maven woes: maven-clean-plugin not found in repository
body: <p><strong>Sigh.</strong> </p>
  
  <p>Using maven 2.2.1, and suddenly it can't resolve the maven-clean-plugin. And really, how insane is it that a build tool requires a plugin for "clean"?</p>
  
  <p>I tried syncing up my .m2 directory from another machine that works just fine, and I get the same results. </p>
  
  <pre><code>taproot:~/$ mvn clean package -DskipTests
  [INFO] Scanning for projects...
  [INFO] ------------------------------------------------------------------------
  [INFO] Building CRM Webapp
  [INFO]    task-segment: [clean, package]
  [INFO] ------------------------------------------------------------------------
  Downloading: http://download.java.net/maven/2/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom
  [INFO] Unable to find resource 'org.apache.maven.plugins:maven-clean-plugin:pom:2.2' in repository maven.java.net (http://download.java.net/maven/2)
  Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom
  [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-clean-plugin:pom:2.2' from repository central (http://repo1.maven.org/maven2): Specified destination directory cannot be created: /Users/armhold/.m2/repository/org/apache/maven/plugins/maven-clean-plugin/2.2
  Downloading: http://repository.jboss.org/nexus/content/groups/public-jboss//org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom
  [INFO] Unable to find resource 'org.apache.maven.plugins:maven-clean-plugin:pom:2.2' in repository public jboss (http://repository.jboss.org/nexus/content/groups/public-jboss/)
  Downloading: https://repository.jboss.org/nexus/content/repositories/releases//org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom
  [INFO] Unable to find resource 'org.apache.maven.plugins:maven-clean-plugin:pom:2.2' in repository jboss-my-rel (https://repository.jboss.org/nexus/content/repositories/releases/)
  Downloading: http://repository.jboss.org/maven2//org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom
  [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-clean-plugin:pom:2.2' from repository JBOSS (http://repository.jboss.org/maven2/): Specified destination directory cannot be created: /Users/armhold/.m2/repository/org/apache/maven/plugins/maven-clean-plugin/2.2
  Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom
  [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-clean-plugin:pom:2.2' from repository central (http://repo1.maven.org/maven2): Specified destination directory cannot be created: /Users/armhold/.m2/repository/org/apache/maven/plugins/maven-clean-plugin/2.2
  [INFO] ------------------------------------------------------------------------
  [ERROR] BUILD ERROR
  [INFO] ------------------------------------------------------------------------
  [INFO] Error building POM (may not be this project's POM).
  
  
  Project ID: org.apache.maven.plugins:maven-clean-plugin
  
  Reason: POM 'org.apache.maven.plugins:maven-clean-plugin' not found in repository: Unable to download the artifact from any repository
  
    org.apache.maven.plugins:maven-clean-plugin:pom:2.2
  
  from the specified remote repositories:
    jboss-my-rel (https://repository.jboss.org/nexus/content/repositories/releases/),
    central (http://repo1.maven.org/maven2),
    maven.java.net (http://download.java.net/maven/2),
    JBOSS (http://repository.jboss.org/maven2/),
    public jboss (http://repository.jboss.org/nexus/content/groups/public-jboss/)
  
   for project org.apache.maven.plugins:maven-clean-plugin
  </code></pre>
  
  <p>My pom looks like this:</p>
  
  <pre><code>&lt;repositories&gt;
      &lt;repository&gt;
          &lt;id&gt;public jboss&lt;/id&gt;
          &lt;url&gt;http://repository.jboss.org/nexus/content/groups/public-jboss/&lt;/url&gt;
      &lt;/repository&gt;
  
      &lt;repository&gt;
          &lt;id&gt;jboss-my-rel&lt;/id&gt;
          &lt;url&gt;https://repository.jboss.org/nexus/content/repositories/releases/&lt;/url&gt;
      &lt;/repository&gt;
  
      &lt;repository&gt;
          &lt;id&gt;JBOSS&lt;/id&gt;
          &lt;name&gt;JBoss Repository&lt;/name&gt;
          &lt;url&gt;http://repository.jboss.org/maven2/&lt;/url&gt;
      &lt;/repository&gt;
  
  &lt;/repositories&gt;
  
  &lt;pluginRepositories&gt;
      &lt;pluginRepository&gt;
          &lt;id&gt;maven.java.net&lt;/id&gt;
          &lt;name&gt;Java.net Maven2 Repository&lt;/name&gt;
          &lt;url&gt;http://download.java.net/maven/2&lt;/url&gt;
      &lt;/pluginRepository&gt;
  &lt;/pluginRepositories&gt;
  </code></pre>