title: Maven error - Spring Surf Alfresco
body: <p>To construct a project Spring Surf on Alfresco, I used the command:</p>
  
  <pre><code>mvn archetype:generate -DarchetypeCatalog=https://artifacts.alfresco.com/nexus/content/groups/public-snapshots/archetype-catalog.xml
  </code></pre>
  
  <p>I gave <code>groupId=surfcmistest</code> and <code>artifactId=surfcmistest-1.0-SNAPSHOT</code>. Then, on the folder <code>surfcmistest-1.0-SNAPSHOT</code> created by the project, I try to make build and package with Maven. I run:</p>
  
  <pre><code>mvn install
  </code></pre>
  
  <p>and I obtain the error:</p>
  
  <blockquote>
    <p>Failed to execute goal on project surfcmistest-1.0-SNAPSHOT: Could not resolve dependencies for project surfcmistest:surfcmistest-1.0-SNAPSHOT:war:1.0-SNAPSHOT: Failed to collect dependencies at org.springframework.extensions.surf:spring-surf:jar:5.1-BF-SNAPSHOT: Failed to read artifact descriptor for org.springframework.extensions.surf:spring-surf:jar:5.1-BF-SNAPSHOT: Failure to find org.alfresco:alfresco-parent:pom:5.1-BF-SNAPSHOT in <a href="https://artifacts.alfresco.com/nexus/content/groups/public-snapshots/" rel="nofollow">https://artifacts.alfresco.com/nexus/content/groups/public-snapshots/</a> was cached in the local repository, resolution will not be reattempted until the update interval of Alfresco-Artifacts has elapsed or updates are forced -> [Help 1]</p>
  </blockquote>
  
  <p>My pom.xml is:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"&gt;
    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
    &lt;groupId&gt;surfcmistest&lt;/groupId&gt;
    &lt;artifactId&gt;surfcmistest-1.0-SNAPSHOT&lt;/artifactId&gt;
    &lt;packaging&gt;war&lt;/packaging&gt;
    &lt;name&gt;sample-app Maven Webapp&lt;/name&gt;
    &lt;url&gt;http://maven.apache.org&lt;/url&gt;
    &lt;repositories&gt;
      &lt;repository&gt;
        &lt;id&gt;Alfresco-Artifacts&lt;/id&gt;
        &lt;name&gt;Alfresco Artifacts SNAPSHOTS&lt;/name&gt;
        &lt;url&gt;https://artifacts.alfresco.com/nexus/content/groups/public-snapshots/&lt;/url&gt;
      &lt;/repository&gt;
    &lt;/repositories&gt;
    &lt;dependencies&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;junit&lt;/groupId&gt;
        &lt;artifactId&gt;junit&lt;/artifactId&gt;
        &lt;version&gt;4.11&lt;/version&gt;
        &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
         &lt;groupId&gt;org.springframework.extensions.surf&lt;/groupId&gt;
         &lt;artifactId&gt;spring-surf&lt;/artifactId&gt;
         &lt;version&gt;5.1-BF-SNAPSHOT&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
         &lt;groupId&gt;org.springframework.extensions.surf&lt;/groupId&gt;
         &lt;artifactId&gt;spring-surf-api&lt;/artifactId&gt;
         &lt;version&gt;5.1-BF-SNAPSHOT&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
           &lt;groupId&gt;org.tuckey&lt;/groupId&gt;
           &lt;artifactId&gt;urlrewritefilter&lt;/artifactId&gt;
           &lt;version&gt;4.0.4&lt;/version&gt;
      &lt;/dependency&gt;
    &lt;/dependencies&gt;
    &lt;build&gt;
      &lt;plugins&gt;
         &lt;plugin&gt;
            &lt;groupId&gt;org.eclipse.jetty&lt;/groupId&gt;
            &lt;artifactId&gt;jetty-maven-plugin&lt;/artifactId&gt;
            &lt;version&gt;9.2.2.v20140723&lt;/version&gt;
            &lt;configuration&gt;
               &lt;scanIntervalSeconds&gt;0&lt;/scanIntervalSeconds&gt;
               &lt;scanTargets&gt;
                  &lt;scanTarget&gt;src/main/webapp&lt;/scanTarget&gt;
               &lt;/scanTargets&gt;
            &lt;/configuration&gt;
         &lt;/plugin&gt;
      &lt;/plugins&gt;
    &lt;/build&gt;
    &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>What is my error?</p>