title: spring security rc2 sample build failure
body: <p>I get the following error while trying to build spring-security-samples-ldap-jc. I'm using the 3.2.RC2. I've added the <a href="http://repo.spring.io/milestone" rel="nofollow">http://repo.spring.io/milestone</a> to the set of repositories in my pom.xml</p>
  
  <pre><code>    [INFO] Scanning for projects...
      [WARNING] 
      [WARNING] Some problems were encountered while building the effective model for org.springframework.security:spring-security-samples-ldap-jc:war:3.2.0.RC2
      [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: ch.qos.logback:logback-classic:jar -&gt; version 0.9.30 vs 0.9.29 @ line 241, column 17
      [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 45, column 15
      [WARNING] 
      [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
      [WARNING] 
      [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
      [WARNING] 
      [INFO]                                                                         
      [INFO] ------------------------------------------------------------------------
      [INFO] Building spring-security-samples-ldap-jc 3.2.0.RC2
      [INFO] ------------------------------------------------------------------------
      [WARNING] The POM for org.springframework.security:spring-security-samples-messages-jc:jar:3.2.0.RC2 is missing, no dependency information available
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 0.895s
      [INFO] Finished at: Sat Nov 02 13:48:02 PDT 2013
      [INFO] Final Memory: 4M/119M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal on project spring-security-samples-ldap-jc: Could not resolve dependencies for project org.springframework.security:spring-security-samples-ldap-jc:war:3.2.0.RC2: Failure to find org.springframework.security:spring-security-samples-messages-jc:jar:3.2.0.RC2 in http://repo.spring.io/milestone was cached in the local repository, resolution will not be reattempted until the update interval of spring-milestone has elapsed or updates are forced -&gt; [Help 1]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
  </code></pre>
  
  <p>Here's my pom.xml</p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="UTF-8"?&gt;
      &lt;project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
  
      http://maven.apache.org/xsd/maven-4.0.0.xsd" 
  
      xmlns="http://maven.apache.org/POM/4.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
        &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
        &lt;groupId&gt;org.springframework.security&lt;/groupId&gt;
        &lt;artifactId&gt;spring-security-samples-ldap-jc&lt;/artifactId&gt;
        &lt;version&gt;3.2.0.RC2&lt;/version&gt;
        &lt;packaging&gt;war&lt;/packaging&gt;
        &lt;name&gt;spring-security-samples-ldap-jc&lt;/name&gt;
        &lt;description&gt;spring-security-samples-ldap-jc&lt;/description&gt;
        &lt;url&gt;http://springsource.org/spring-security&lt;/url&gt;
        &lt;organization&gt;
          &lt;name&gt;SpringSource&lt;/name&gt;
          &lt;url&gt;http://springsource.org/&lt;/url&gt;
        &lt;/organization&gt;
        &lt;licenses&gt;
          &lt;license&gt;
            &lt;name&gt;The Apache Software License, Version 2.0&lt;/name&gt;
            &lt;url&gt;http://www.apache.org/licenses/LICENSE-2.0.txt&lt;/url&gt;
            &lt;distribution&gt;repo&lt;/distribution&gt;
          &lt;/license&gt;
        &lt;/licenses&gt;
        &lt;developers&gt;
          &lt;developer&gt;
            &lt;id&gt;rwinch&lt;/id&gt;
            &lt;name&gt;Rob Winch&lt;/name&gt;
            &lt;email&gt;rwinch@vmware.com&lt;/email&gt;
          &lt;/developer&gt;
        &lt;/developers&gt;
        &lt;scm&gt;
          &lt;connection&gt;scm:git:git://github.com/SpringSource/spring-
  
      security&lt;/connection&gt;
          &lt;developerConnection&gt;scm:git:git://github.com/SpringSource/spring-
  
      security&lt;/developerConnection&gt;
          &lt;url&gt;https://github.com/SpringSource/spring-security&lt;/url&gt;
        &lt;/scm&gt;
        &lt;build&gt;
          &lt;plugins&gt;
            &lt;plugin&gt;
              &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
              &lt;configuration&gt;
                &lt;source&gt;1.7&lt;/source&gt;
                &lt;target&gt;1.7&lt;/target&gt;
              &lt;/configuration&gt;
            &lt;/plugin&gt;
            &lt;plugin&gt;
              &lt;artifactId&gt;maven-war-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.3&lt;/version&gt;
              &lt;configuration&gt;
                &lt;failOnMissingWebXml&gt;false&lt;/failOnMissingWebXml&gt;
              &lt;/configuration&gt;
            &lt;/plugin&gt;
          &lt;/plugins&gt;
        &lt;/build&gt;
        &lt;repositories&gt;
          &lt;repository&gt;
            &lt;id&gt;spring-milestone&lt;/id&gt;
            &lt;url&gt;http://repo.spring.io/milestone&lt;/url&gt;
          &lt;/repository&gt;
          &lt;repository&gt;
            &lt;id&gt;spring-snasphot&lt;/id&gt;
            &lt;url&gt;http://repo.springsource.org/libs-snapshot&lt;/url&gt;
          &lt;/repository&gt;
        &lt;/repositories&gt;
        &lt;dependencies&gt;
          &lt;dependency&gt;
            &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
            &lt;artifactId&gt;jstl&lt;/artifactId&gt;
            &lt;version&gt;1.2&lt;/version&gt;
            &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
            &lt;groupId&gt;javax.validation&lt;/groupId&gt;
            &lt;artifactId&gt;validation-api&lt;/artifactId&gt;
            &lt;version&gt;1.0.0.GA&lt;/version&gt;
            &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
            &lt;groupId&gt;org.apache.directory.server&lt;/groupId&gt;
            &lt;artifactId&gt;apacheds-core&lt;/artifactId&gt;
            &lt;version&gt;1.5.5&lt;/version&gt;
            &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
            &lt;groupId&gt;org.apache.directory.server&lt;/groupId&gt;
            &lt;artifactId&gt;apacheds-core-entry&lt;/artifactId&gt;
            &lt;version&gt;1.5.5&lt;/version&gt;
            &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
            &lt;groupId&gt;org.apache.directory.server&lt;/groupId&gt;
            &lt;artifactId&gt;apacheds-protocol-ldap&lt;/artifactId&gt;
            &lt;version&gt;1.5.5&lt;/version&gt;
            &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
            &lt;groupId&gt;org.apache.directory.server&lt;/groupId&gt;
            &lt;artifactId&gt;apacheds-protocol-shared&lt;/artifactId&gt;
            &lt;version&gt;1.5.5&lt;/version&gt;
            &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
            &lt;groupId&gt;org.apache.directory.server&lt;/groupId&gt;
            &lt;artifactId&gt;apacheds-server-jndi&lt;/artifactId&gt;
            &lt;version&gt;1.5.5&lt;/version&gt;
            &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
            &lt;groupId&gt;org.apache.directory.shared&lt;/groupId&gt;
            &lt;artifactId&gt;shared-ldap&lt;/artifactId&gt;
            &lt;version&gt;0.9.15&lt;/version&gt;
            &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
            &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
            &lt;artifactId&gt;hibernate-validator&lt;/artifactId&gt;
            &lt;version&gt;4.2.0.Final&lt;/version&gt;
            &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
            &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
            &lt;artifactId&gt;jcl-over-slf4j&lt;/artifactId&gt;
            &lt;version&gt;1.7.5&lt;/version&gt;
            &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
            &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
            &lt;artifactId&gt;jul-to-slf4j&lt;/artifactId&gt;
            &lt;version&gt;1.7.5&lt;/version&gt;
            &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
            &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
            &lt;artifactId&gt;log4j-over-slf4j&lt;/artifactId&gt;
            &lt;version&gt;1.7.5&lt;/version&gt;
            &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
            &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
            &lt;artifactId&gt;slf4j-api&lt;/artifactId&gt;
            &lt;version&gt;1.7.5&lt;/version&gt;
            &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
            &lt;groupId&gt;org.springframework.security&lt;/groupId&gt;
            &lt;artifactId&gt;spring-security-config&lt;/artifactId&gt;
            &lt;version&gt;3.2.0.RC2&lt;/version&gt;
            &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
            &lt;groupId&gt;org.springframework.security&lt;/groupId&gt;
            &lt;artifactId&gt;spring-security-core&lt;/artifactId&gt;
            &lt;version&gt;3.2.0.RC2&lt;/version&gt;
            &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
            &lt;groupId&gt;org.springframework.security&lt;/groupId&gt;
            &lt;artifactId&gt;spring-security-ldap&lt;/artifactId&gt;
            &lt;version&gt;3.2.0.RC2&lt;/version&gt;
            &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
            &lt;groupId&gt;org.springframework.security&lt;/groupId&gt;
            &lt;artifactId&gt;spring-security-samples-messages-jc&lt;/artifactId&gt;
            &lt;version&gt;3.2.0.RC2&lt;/version&gt;
            &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
            &lt;groupId&gt;org.springframework.security&lt;/groupId&gt;
            &lt;artifactId&gt;spring-security-web&lt;/artifactId&gt;
            &lt;version&gt;3.2.0.RC2&lt;/version&gt;
            &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
            &lt;groupId&gt;org.springframework&lt;/groupId&gt;
            &lt;artifactId&gt;spring-core&lt;/artifactId&gt;
            &lt;version&gt;3.2.4.RELEASE&lt;/version&gt;
            &lt;scope&gt;compile&lt;/scope&gt;
            &lt;exclusions&gt;
              &lt;exclusion&gt;
                &lt;artifactId&gt;commons-logging&lt;/artifactId&gt;
                &lt;groupId&gt;commons-logging&lt;/groupId&gt;
              &lt;/exclusion&gt;
            &lt;/exclusions&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
            &lt;groupId&gt;org.springframework&lt;/groupId&gt;
            &lt;artifactId&gt;spring-jdbc&lt;/artifactId&gt;
            &lt;version&gt;3.2.4.RELEASE&lt;/version&gt;
            &lt;scope&gt;compile&lt;/scope&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;3.2.4.RELEASE&lt;/version&gt;
            &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
            &lt;groupId&gt;commons-logging&lt;/groupId&gt;
            &lt;artifactId&gt;commons-logging&lt;/artifactId&gt;
            &lt;version&gt;1.1.1&lt;/version&gt;
            &lt;scope&gt;compile&lt;/scope&gt;
            &lt;optional&gt;true&lt;/optional&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
            &lt;groupId&gt;javax.servlet.jsp&lt;/groupId&gt;
            &lt;artifactId&gt;jsp-api&lt;/artifactId&gt;
            &lt;version&gt;2.1&lt;/version&gt;
            &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
            &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
            &lt;artifactId&gt;javax.servlet-api&lt;/artifactId&gt;
            &lt;version&gt;3.0.1&lt;/version&gt;
            &lt;scope&gt;provided&lt;/scope&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;2.2.2&lt;/version&gt;
            &lt;scope&gt;runtime&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
            &lt;groupId&gt;ch.qos.logback&lt;/groupId&gt;
            &lt;artifactId&gt;logback-classic&lt;/artifactId&gt;
            &lt;version&gt;0.9.30&lt;/version&gt;
            &lt;scope&gt;runtime&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
            &lt;groupId&gt;opensymphony&lt;/groupId&gt;
            &lt;artifactId&gt;sitemesh&lt;/artifactId&gt;
            &lt;version&gt;2.4.2&lt;/version&gt;
            &lt;scope&gt;runtime&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
            &lt;groupId&gt;ch.qos.logback&lt;/groupId&gt;
            &lt;artifactId&gt;logback-classic&lt;/artifactId&gt;
            &lt;version&gt;0.9.29&lt;/version&gt;
            &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
            &lt;groupId&gt;junit&lt;/groupId&gt;
            &lt;artifactId&gt;junit&lt;/artifactId&gt;
            &lt;version&gt;4.10&lt;/version&gt;
            &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
            &lt;groupId&gt;org.easytesting&lt;/groupId&gt;
            &lt;artifactId&gt;fest-assert&lt;/artifactId&gt;
            &lt;version&gt;1.4&lt;/version&gt;
            &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
            &lt;groupId&gt;org.mockito&lt;/groupId&gt;
            &lt;artifactId&gt;mockito-core&lt;/artifactId&gt;
            &lt;version&gt;1.9.5&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-test&lt;/artifactId&gt;
            &lt;version&gt;3.2.4.RELEASE&lt;/version&gt;
            &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
        &lt;/dependencies&gt;
        &lt;properties&gt;
          &lt;m2eclipse.wtp.contextRoot&gt;/sample&lt;/m2eclipse.wtp.contextRoot&gt;
        &lt;/properties&gt;
      &lt;/project&gt;
  </code></pre>