anchor.diff:  	<dependency>
   		<groupId>org.springframework.security</groupId>
   		<artifactId>spring-security-web</artifactId>
  -		<version>{spring-security-version}</version>
   	</dependency>
   	<dependency>
   		<groupId>org.springframework.security</groupId>
   		<artifactId>spring-security-config</artifactId>
  -		<version>{spring-security-version}</version>
   	</dependency>
   </dependencies>
   ----
   
   If you are using additional features like LDAP, OpenID, etc. you will need to also include the appropriate <<modules>>.
  +
  +Spring Security builds against Spring Framework {spring-version}, but should generally work with any newer version of Spring Framework 5.x
  +The problem that many users will have is that Spring Security's transitive dependencies resolve Spring Framework {spring-version} which can cause strange classpath problems.
  +The easiest way to resolve this is to use the `spring-framework-bom` within your `<dependencyManagement>` section of your `pom.xml` as shown below:
  +
  +.pom.xml
  +[source,xml]
  +[subs="verbatim,attributes"]
  +----
  +<dependencyManagement>
  +	<dependencies>
  +		<!-- ... other dependency elements ... -->
  +		<dependency>
  +			<groupId>org.springframework</groupId>
  +			<artifactId>spring-framework-bom</artifactId>
  +			<version>{spring-version}</version>
  +			<type>pom</type>
  +			<scope>import</scope>
  +		</dependency>
  +	</dependencies>
  +</dependencyManagement>
  +----
  +
  +This will ensure that all the transitive dependencies of Spring Security use the Spring {spring-version} modules.
  +
  +NOTE: This approach uses Maven's "bill of materials" (BOM) concept and is only available in Maven 2.0.9+.
  +For additional details about how dependencies are resolved refer to http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html[Maven's Introduction to the Dependency Mechanism documentation].
   
   [[maven-repositories]]
   === Maven Repositories
  
positive.code: [[get-spring-security]]
  = Getting Spring Security
  
  You can get hold of Spring Security in several ways.
  You can download a packaged distribution from the main http://spring.io/spring-security[Spring Security] page, download individual jars from the Maven Central repository (or a Spring Maven repository for snapshot and milestone releases) or, alternatively, you can build the project from source yourself.
  
  
  == Release Numbering
  
  
negative.code: 	maven { url 'https://repo.spring.io/milestone' }
  }
  ----
  