title: Failure to find org.codehaus.mojo
body: <p>I have the below pom.xml in one of the projects that I downloaded from a book...</p>
  
  <p>I get the following error,</p>
  
  <p>Failure to find org.codehaus.mojo:mojo-sandbox:pom:3-SNAPSHOT in <a href="http://snapshots.repository.codehaus.org" rel="nofollow">http://snapshots.repository.codehaus.org</a> was cached in the local repository, resolution will not be reattempted until the update interval of codehaus snapshot has elapsed or updates are forced</p>
  
  <p>What should be the correct link for --org.codehaus.mojo that I should be using.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;project&gt;
    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
    &lt;groupId&gt;wrox&lt;/groupId&gt;
    &lt;artifactId&gt;pixweb&lt;/artifactId&gt;
    &lt;packaging&gt;war&lt;/packaging&gt;
    &lt;version&gt;0.0.1&lt;/version&gt;
    &lt;description&gt;&lt;/description&gt;
    &lt;pluginRepositories&gt;
  &lt;pluginRepository&gt;
  &lt;id&gt;codehaus snapshot&lt;/id&gt;
  &lt;url&gt;http://snapshots.repository.codehaus.org&lt;/url&gt;
  &lt;releases&gt;
  &lt;enabled&gt;false&lt;/enabled&gt;
  &lt;/releases&gt;
  &lt;snapshots&gt;
  &lt;enabled&gt;true&lt;/enabled&gt;
  &lt;/snapshots&gt;
  &lt;/pluginRepository&gt;
  &lt;/pluginRepositories&gt;
    &lt;build&gt;
      &lt;sourceDirectory&gt;src/main/java&lt;/sourceDirectory&gt;
      &lt;testSourceDirectory&gt;src/test/java&lt;/testSourceDirectory&gt;
      &lt;resources&gt;
        &lt;resource&gt;
          &lt;filtering&gt;true&lt;/filtering&gt;
          &lt;directory&gt;src/main/java&lt;/directory&gt;
          &lt;excludes&gt;
            &lt;exclude&gt;**/*.java&lt;/exclude&gt;
          &lt;/excludes&gt;
        &lt;/resource&gt;
        &lt;resource&gt;
          &lt;directory&gt;src/main/resources&lt;/directory&gt;
          &lt;includes&gt;
            &lt;include&gt;**/*.properties&lt;/include&gt;
            &lt;include&gt;**/*.xml&lt;/include&gt;
          &lt;/includes&gt;
        &lt;/resource&gt;
      &lt;/resources&gt;
      &lt;testResources&gt;
        &lt;testResource&gt;
          &lt;filtering&gt;true&lt;/filtering&gt;
          &lt;directory&gt;src/test/java&lt;/directory&gt;
          &lt;excludes&gt;
            &lt;exclude&gt;**/*.java&lt;/exclude&gt;
          &lt;/excludes&gt;
        &lt;/testResource&gt;
        &lt;testResource&gt;
          &lt;directory&gt;src/test/resources&lt;/directory&gt;
        &lt;/testResource&gt;
      &lt;/testResources&gt;
      &lt;plugins&gt;
        &lt;plugin&gt;
          &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
          &lt;configuration&gt;
            &lt;source&gt;1.5&lt;/source&gt;
            &lt;target&gt;1.5&lt;/target&gt;
          &lt;/configuration&gt;
        &lt;/plugin&gt;
        &lt;plugin&gt;
          &lt;artifactId&gt;maven-eclipse-plugin&lt;/artifactId&gt;
          &lt;configuration&gt;
            &lt;wtpversion&gt;1.0&lt;/wtpversion&gt;
            &lt;additionalBuildcommands&gt;
              &lt;buildcommand&gt;org.springframework.ide.eclipse.core.springbuilder&lt;/buildcommand&gt;
            &lt;/additionalBuildcommands&gt;
            &lt;additionalProjectnatures&gt;
              &lt;projectnature&gt;org.springframework.ide.eclipse.core.springnature&lt;/projectnature&gt;
            &lt;/additionalProjectnatures&gt;
          &lt;/configuration&gt;
        &lt;/plugin&gt;
        &lt;plugin&gt;
          &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
          &lt;artifactId&gt;xfire-maven-plugin&lt;/artifactId&gt;
          &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
            &lt;executions&gt;
             &lt;execution&gt;
                &lt;goals&gt;
                   &lt;goal&gt;wsgen&lt;/goal&gt;
                &lt;/goals&gt;
             &lt;/execution&gt;
          &lt;/executions&gt;
          &lt;configuration&gt;
            &lt;package&gt;com.wrox.webservice.emailvalidation.client&lt;/package&gt;
            &lt;overwrtite&gt;true&lt;/overwrtite&gt;
            &lt;generateServerStubs&gt;false&lt;/generateServerStubs&gt;
            &lt;forceBare&gt;false&lt;/forceBare&gt;
            &lt;outputDirectory&gt;${project.build.directory}/generated-sources&lt;/outputDirectory&gt;
            &lt;wsdls&gt;
              &lt;wsdl&gt;http://ws.xwebservices.com/XWebEmailValidation/V2/XWebEmailValidation.wsdl&lt;/wsdl&gt;
            &lt;/wsdls&gt;
          &lt;/configuration&gt;
        &lt;/plugin&gt;
      &lt;/plugins&gt;
    &lt;/build&gt;
    &lt;dependencies&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;taglibs&lt;/groupId&gt;
        &lt;artifactId&gt;standard&lt;/artifactId&gt;
        &lt;version&gt;${taglibs-standard-version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
        &lt;artifactId&gt;jstl&lt;/artifactId&gt;
        &lt;version&gt;${jstl-version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
        &lt;artifactId&gt;servlet-api&lt;/artifactId&gt;
        &lt;version&gt;${servlet-api-version}&lt;/version&gt;
        &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;commons-fileupload&lt;/groupId&gt;
        &lt;artifactId&gt;commons-fileupload&lt;/artifactId&gt;
        &lt;version&gt;${commons-fileupload-version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.springframework&lt;/groupId&gt;
        &lt;artifactId&gt;spring-webmvc&lt;/artifactId&gt;
        &lt;version&gt;${spring-version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.springframework&lt;/groupId&gt;
        &lt;artifactId&gt;spring-jpa&lt;/artifactId&gt;
        &lt;version&gt;${spring-version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
        &lt;artifactId&gt;hibernate-entitymanager&lt;/artifactId&gt;
        &lt;version&gt;3.2.1.ga&lt;/version&gt;
        &lt;exclusions&gt;
          &lt;exclusion&gt;
            &lt;artifactId&gt;jta&lt;/artifactId&gt;
            &lt;groupId&gt;javax.transaction&lt;/groupId&gt;
          &lt;/exclusion&gt;
        &lt;/exclusions&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;geronimo-spec&lt;/groupId&gt;
        &lt;artifactId&gt;geronimo-spec-jta&lt;/artifactId&gt;
        &lt;version&gt;1.0.1B-rc4&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.springframework&lt;/groupId&gt;
        &lt;artifactId&gt;spring-aspects&lt;/artifactId&gt;
        &lt;version&gt;${spring-version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.springframework&lt;/groupId&gt;
        &lt;artifactId&gt;spring-aop&lt;/artifactId&gt;
        &lt;version&gt;${spring-version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.springframework&lt;/groupId&gt;
        &lt;artifactId&gt;spring-webflow&lt;/artifactId&gt;
        &lt;version&gt;${spring-webflow-version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.springframework&lt;/groupId&gt;
        &lt;artifactId&gt;spring-mock&lt;/artifactId&gt;
        &lt;version&gt;${spring-version}&lt;/version&gt;
        &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.springframework&lt;/groupId&gt;
        &lt;artifactId&gt;spring-jms&lt;/artifactId&gt;
        &lt;version&gt;${spring-version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;hsqldb&lt;/groupId&gt;
        &lt;artifactId&gt;hsqldb&lt;/artifactId&gt;
        &lt;version&gt;${hsqldb-version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.directwebremoting&lt;/groupId&gt;
        &lt;artifactId&gt;dwr&lt;/artifactId&gt;
        &lt;version&gt;${dwr-version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;junit&lt;/groupId&gt;
        &lt;artifactId&gt;junit&lt;/artifactId&gt;
        &lt;version&gt;${junit-version}&lt;/version&gt;
        &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;commons-lang&lt;/groupId&gt;
        &lt;artifactId&gt;commons-lang&lt;/artifactId&gt;
        &lt;version&gt;${commons-lang-version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;log4j&lt;/groupId&gt;
        &lt;artifactId&gt;log4j&lt;/artifactId&gt;
        &lt;version&gt;${log4j-version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;com.lowagie&lt;/groupId&gt;
        &lt;artifactId&gt;itext&lt;/artifactId&gt;
        &lt;version&gt;1.4.8&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;rome&lt;/groupId&gt;
        &lt;artifactId&gt;rome&lt;/artifactId&gt;
        &lt;version&gt;0.9&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.codehaus.xfire&lt;/groupId&gt;
        &lt;artifactId&gt;xfire-aegis&lt;/artifactId&gt;
        &lt;version&gt;${xfire-version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.codehaus.xfire&lt;/groupId&gt;
        &lt;artifactId&gt;xfire-core&lt;/artifactId&gt;
        &lt;version&gt;${xfire-version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.codehaus.xfire&lt;/groupId&gt;
        &lt;artifactId&gt;xfire-spring&lt;/artifactId&gt;
        &lt;version&gt;${xfire-version}&lt;/version&gt;
        &lt;exclusions&gt;
          &lt;exclusion&gt;
            &lt;artifactId&gt;spring&lt;/artifactId&gt;
            &lt;groupId&gt;org.springframework&lt;/groupId&gt;
          &lt;/exclusion&gt;
        &lt;/exclusions&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.codehaus.xfire&lt;/groupId&gt;
        &lt;artifactId&gt;xfire-java5&lt;/artifactId&gt;
        &lt;version&gt;1.2.5&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.codehaus.xfire&lt;/groupId&gt;
        &lt;artifactId&gt;xfire-generator&lt;/artifactId&gt;
        &lt;version&gt;${xfire-version}&lt;/version&gt;
        &lt;scope&gt;compile&lt;/scope&gt;
        &lt;exclusions&gt;
          &lt;exclusion&gt;
            &lt;artifactId&gt;spring&lt;/artifactId&gt;
            &lt;groupId&gt;org.springframework&lt;/groupId&gt;
          &lt;/exclusion&gt;
        &lt;/exclusions&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.codehaus.xfire&lt;/groupId&gt;
        &lt;artifactId&gt;xfire-jaxws&lt;/artifactId&gt;
        &lt;version&gt;${xfire-version}&lt;/version&gt;
        &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.apache.activemq&lt;/groupId&gt;
        &lt;artifactId&gt;activemq-core&lt;/artifactId&gt;
        &lt;version&gt;${activemq-version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;fm.void.jetm&lt;/groupId&gt;
        &lt;artifactId&gt;jetm&lt;/artifactId&gt;
        &lt;version&gt;${jetm-version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;fm.void.jetm&lt;/groupId&gt;
        &lt;artifactId&gt;jetm-optional&lt;/artifactId&gt;
        &lt;version&gt;${jetm-version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;cglib&lt;/groupId&gt;
        &lt;artifactId&gt;cglib-nodep&lt;/artifactId&gt;
        &lt;version&gt;${cglib-version}&lt;/version&gt;
      &lt;/dependency&gt;
    &lt;/dependencies&gt;
    &lt;properties&gt;
      &lt;activemq-version&gt;4.1.1&lt;/activemq-version&gt;
      &lt;spring-webflow-version&gt;1.0.3&lt;/spring-webflow-version&gt;
      &lt;spring-version&gt;2.0.5&lt;/spring-version&gt;
      &lt;junit-version&gt;3.8.2&lt;/junit-version&gt;
      &lt;commons-lang-version&gt;2.1&lt;/commons-lang-version&gt;
      &lt;dwr-version&gt;2.0.1&lt;/dwr-version&gt;
      &lt;jstl-version&gt;1.0&lt;/jstl-version&gt;
      &lt;taglibs-standard-version&gt;1.1.1&lt;/taglibs-standard-version&gt;
      &lt;hsqldb-version&gt;1.8.0.7&lt;/hsqldb-version&gt;
      &lt;servlet-api-version&gt;2.5&lt;/servlet-api-version&gt;
      &lt;log4j-version&gt;1.2.14&lt;/log4j-version&gt;
      &lt;commons-fileupload-version&gt;1.1.1&lt;/commons-fileupload-version&gt;
      &lt;xfire-version&gt;1.2.4&lt;/xfire-version&gt;
      &lt;jetm-version&gt;1.2.1&lt;/jetm-version&gt;
      &lt;cglib-version&gt;2.1_3&lt;/cglib-version&gt;
    &lt;/properties&gt;
  &lt;/project&gt;
  </code></pre>