The following dependencies provides the artifacts that has to be added to your pom.xml for including the SPRING Framework packages.
<repositories>
<repository>
<id>spring-milestone</id>
<name>Spring Portfolio Milestone Repository</name>
<url>http://maven.springframework.org/milestone</url>
</repository>
<repository>
<id>spring.snapshots</id>
<name>Spring snapshot repository</name>
<url>http://maven.springframework.org/snapshot/</url>
</repository>
</repositories>
<!-- Spring Security Dependencies -->
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-core</artifactId>
<version>${spring-security.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-config</artifactId>
<version>${spring-security.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-taglibs</artifactId>
<version>${spring-security.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-web</artifactId>
<version>${spring-security.version}</version>
<scope>compile</scope>
</dependency>
<properties>
<spring-security.version>3.0.0.M1</spring-security.version>
</properties>
With these configurations in pom.xml, the Spring Security dependencies will be downloaded to your project.
No comments:
Post a Comment