2014-07-22 19:02:11 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2015-08-10 03:13:56 -04:00
|
|
|
<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/xsd/maven-4.0.0.xsd">
|
2015-01-07 13:58:32 -05:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2015-08-10 03:13:56 -04:00
|
|
|
|
2015-01-07 13:58:32 -05:00
|
|
|
<groupId>org.baeldung</groupId>
|
|
|
|
<artifactId>spring-security-login-and-registration</artifactId>
|
2015-08-10 03:13:56 -04:00
|
|
|
<version>1.0.1-SNAPSHOT</version>
|
|
|
|
|
2015-01-07 13:58:32 -05:00
|
|
|
<name>spring-security-login-and-registration</name>
|
|
|
|
<packaging>war</packaging>
|
|
|
|
|
2016-01-09 06:01:30 -05:00
|
|
|
|
2015-01-07 13:58:32 -05:00
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
2016-01-09 06:01:30 -05:00
|
|
|
<!-- Spring Security -->
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
<artifactId>spring-security-web</artifactId>
|
|
|
|
<version>${org.springframework.security.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
<artifactId>spring-security-config</artifactId>
|
|
|
|
<version>${org.springframework.security.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
<artifactId>spring-security-taglibs</artifactId>
|
|
|
|
<version>${org.springframework.security.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2015-01-07 13:58:32 -05:00
|
|
|
<!-- Spring -->
|
2016-01-09 06:01:30 -05:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-core</artifactId>
|
|
|
|
<version>${org.springframework.version}</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
2015-01-07 13:58:32 -05:00
|
|
|
<dependency>
|
2016-01-09 06:01:30 -05:00
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-context</artifactId>
|
|
|
|
<version>${org.springframework.version}</version>
|
2015-01-07 13:58:32 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-context-support</artifactId>
|
2016-01-09 06:01:30 -05:00
|
|
|
<version>${org.springframework.version}</version>
|
2015-01-07 13:58:32 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2016-01-09 06:01:30 -05:00
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-jdbc</artifactId>
|
|
|
|
<version>${org.springframework.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-beans</artifactId>
|
|
|
|
<version>${org.springframework.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-aop</artifactId>
|
|
|
|
<version>${org.springframework.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-tx</artifactId>
|
|
|
|
<version>${org.springframework.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-expression</artifactId>
|
|
|
|
<version>${org.springframework.version}</version>
|
2015-01-07 13:58:32 -05:00
|
|
|
</dependency>
|
|
|
|
|
2015-07-04 12:17:16 -04:00
|
|
|
<dependency>
|
2016-01-09 06:01:30 -05:00
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-web</artifactId>
|
|
|
|
<version>${org.springframework.version}</version>
|
2015-07-04 12:17:16 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2016-01-09 06:01:30 -05:00
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-webmvc</artifactId>
|
|
|
|
<version>${org.springframework.version}</version>
|
2015-07-04 12:17:16 -04:00
|
|
|
</dependency>
|
|
|
|
|
2015-01-07 13:58:32 -05:00
|
|
|
<!-- Servlet -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
2016-01-09 06:01:30 -05:00
|
|
|
<version>${javax.servlet.version}</version>
|
|
|
|
<scope>provided</scope>
|
2015-01-07 13:58:32 -05:00
|
|
|
</dependency>
|
2016-01-09 06:01:30 -05:00
|
|
|
|
2015-01-07 13:58:32 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>jstl</artifactId>
|
2016-01-09 06:01:30 -05:00
|
|
|
<version>${jstl.version}</version>
|
|
|
|
<scope>runtime</scope>
|
2015-01-07 13:58:32 -05:00
|
|
|
</dependency>
|
2016-01-09 06:01:30 -05:00
|
|
|
|
2015-07-04 12:17:16 -04:00
|
|
|
|
2015-01-09 03:56:02 -05:00
|
|
|
<dependency>
|
2015-04-05 02:20:50 -04:00
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-test</artifactId>
|
2016-01-09 06:01:30 -05:00
|
|
|
<version>${org.springframework.version}</version>
|
2015-04-05 02:20:50 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2015-01-07 13:58:32 -05:00
|
|
|
|
2015-04-01 15:20:45 -04:00
|
|
|
<!-- Password Validation -->
|
|
|
|
<dependency>
|
2015-04-05 02:20:50 -04:00
|
|
|
<groupId>org.passay</groupId>
|
|
|
|
<artifactId>passay</artifactId>
|
2016-01-09 06:01:30 -05:00
|
|
|
<version>${passay.version}</version>
|
2015-04-05 02:20:50 -04:00
|
|
|
</dependency>
|
2015-07-04 12:17:16 -04:00
|
|
|
|
2015-01-07 13:58:32 -05:00
|
|
|
<!-- Spring Data JPA dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.data</groupId>
|
|
|
|
<artifactId>spring-data-jpa</artifactId>
|
2016-01-09 06:01:30 -05:00
|
|
|
<version>${spring-data-jpa.version}</version>
|
2015-01-07 13:58:32 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hibernate</groupId>
|
|
|
|
<artifactId>hibernate-entitymanager</artifactId>
|
2016-01-09 06:01:30 -05:00
|
|
|
<version>${hibernate.version}</version>
|
2015-01-07 13:58:32 -05:00
|
|
|
</dependency>
|
|
|
|
<!-- <dependency> -->
|
|
|
|
<!-- <groupId>xml-apis</groupId> -->
|
|
|
|
<!-- <artifactId>xml-apis</artifactId> -->
|
|
|
|
<!-- <version>1.4.01</version> -->
|
|
|
|
<!-- </dependency> -->
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hibernate</groupId>
|
|
|
|
<artifactId>hibernate-validator</artifactId>
|
2016-01-09 06:01:30 -05:00
|
|
|
<version>${hibernate-validator.version}</version>
|
2015-01-07 13:58:32 -05:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- DB dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
2016-01-09 06:01:30 -05:00
|
|
|
<version>${mysql-connector-java.version}</version>
|
2015-01-07 13:58:32 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-dbcp</groupId>
|
|
|
|
<artifactId>commons-dbcp</artifactId>
|
2016-01-09 06:01:30 -05:00
|
|
|
<version>${commons-dbcp.version}</version>
|
2015-01-07 13:58:32 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
2016-01-09 06:01:30 -05:00
|
|
|
<version>${jackson.version}</version>
|
2015-01-07 13:58:32 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.mail</groupId>
|
|
|
|
<artifactId>mail</artifactId>
|
2016-01-09 06:01:30 -05:00
|
|
|
<version>${javax.mail.version}</version>
|
2015-01-07 13:58:32 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
<version>${guava.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- logging -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
2016-01-09 06:01:30 -05:00
|
|
|
<version>${org.slf4j.version}</version>
|
2015-01-07 13:58:32 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-classic</artifactId>
|
2016-01-09 06:01:30 -05:00
|
|
|
<version>${logback.version}</version>
|
|
|
|
<!-- <scope>runtime</scope> -->
|
2015-01-07 13:58:32 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>jcl-over-slf4j</artifactId>
|
2016-01-09 06:01:30 -05:00
|
|
|
<version>${org.slf4j.version}</version>
|
2015-01-07 13:58:32 -05:00
|
|
|
<!-- <scope>runtime</scope> --> <!-- some spring dependencies need to compile against jcl -->
|
|
|
|
</dependency>
|
|
|
|
<dependency> <!-- needed to bridge to slf4j for projects that use the log4j APIs directly -->
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>log4j-over-slf4j</artifactId>
|
2016-01-09 06:01:30 -05:00
|
|
|
<version>${org.slf4j.version}</version>
|
2015-01-07 13:58:32 -05:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- test -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
2016-01-09 06:01:30 -05:00
|
|
|
<version>${junit.version}</version>
|
2015-01-07 13:58:32 -05:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2016-01-09 06:01:30 -05:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
<artifactId>hamcrest-core</artifactId>
|
|
|
|
<version>${org.hamcrest.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
<artifactId>hamcrest-library</artifactId>
|
|
|
|
<version>${org.hamcrest.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2015-04-05 02:20:50 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.jayway.restassured</groupId>
|
|
|
|
<artifactId>rest-assured</artifactId>
|
2016-01-09 06:01:30 -05:00
|
|
|
<version>${rest-assured.version}</version>
|
2015-04-05 02:20:50 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
|
2016-01-09 06:01:30 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.el</groupId>
|
|
|
|
<artifactId>el-api</artifactId>
|
|
|
|
<version>2.2</version>
|
|
|
|
</dependency>
|
2015-01-07 13:58:32 -05:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<finalName>spring-security-login-and-registration</finalName>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
|
|
|
|
<plugins>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2015-10-11 08:08:45 -04:00
|
|
|
<version>${maven-compiler-plugin.version}</version>
|
2015-01-07 13:58:32 -05:00
|
|
|
<configuration>
|
2016-01-09 06:01:30 -05:00
|
|
|
<source>1.8</source>
|
|
|
|
<target>1.8</target>
|
2015-01-07 13:58:32 -05:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
2015-10-11 08:08:45 -04:00
|
|
|
<version>${maven-war-plugin.version}</version>
|
2015-01-07 13:58:32 -05:00
|
|
|
</plugin>
|
|
|
|
|
2016-01-09 06:01:30 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<version>${maven-surefire-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<!-- <exclude>**/*ProductionTest.java</exclude> -->
|
|
|
|
</excludes>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<!-- <provPersistenceTarget>h2</provPersistenceTarget> -->
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
2015-08-10 03:13:56 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.cargo</groupId>
|
|
|
|
<artifactId>cargo-maven2-plugin</artifactId>
|
|
|
|
<version>${cargo-maven2-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<wait>true</wait>
|
|
|
|
<container>
|
2016-01-09 06:01:30 -05:00
|
|
|
<containerId>jetty8x</containerId>
|
2015-08-10 03:13:56 -04:00
|
|
|
<type>embedded</type>
|
|
|
|
<systemProperties>
|
|
|
|
<!-- <provPersistenceTarget>cargo</provPersistenceTarget> -->
|
|
|
|
</systemProperties>
|
|
|
|
</container>
|
|
|
|
<configuration>
|
|
|
|
<properties>
|
2016-01-09 06:01:30 -05:00
|
|
|
<cargo.servlet.port>8082</cargo.servlet.port>
|
2015-08-10 03:13:56 -04:00
|
|
|
</properties>
|
|
|
|
</configuration>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
2015-01-07 13:58:32 -05:00
|
|
|
</plugins>
|
2016-01-09 06:01:30 -05:00
|
|
|
|
2015-01-07 13:58:32 -05:00
|
|
|
</build>
|
|
|
|
|
|
|
|
<properties>
|
2016-01-09 06:01:30 -05:00
|
|
|
<java-version>1.8</java-version>
|
|
|
|
|
|
|
|
<!-- spring -->
|
|
|
|
<org.springframework.version>4.2.4.RELEASE</org.springframework.version>
|
2015-12-21 04:34:42 -05:00
|
|
|
<org.springframework.security.version>4.0.3.RELEASE</org.springframework.security.version>
|
2015-01-07 13:58:32 -05:00
|
|
|
|
2016-01-09 06:01:30 -05:00
|
|
|
<!-- persistence -->
|
|
|
|
<hibernate.version>4.3.11.Final</hibernate.version>
|
|
|
|
<hibernate-validator.version>5.2.2.Final</hibernate-validator.version>
|
|
|
|
<mysql-connector-java.version>5.1.37</mysql-connector-java.version>
|
|
|
|
<spring-data-jpa.version>1.9.2.RELEASE</spring-data-jpa.version>
|
|
|
|
|
|
|
|
|
2015-01-07 13:58:32 -05:00
|
|
|
<!-- logging -->
|
2015-12-21 04:34:42 -05:00
|
|
|
<org.slf4j.version>1.7.13</org.slf4j.version>
|
2015-03-27 19:19:24 -04:00
|
|
|
<logback.version>1.1.3</logback.version>
|
2015-01-07 13:58:32 -05:00
|
|
|
|
|
|
|
<!-- javax jsp -->
|
|
|
|
<javax.servlet.jsp-api.version>2.3.2-b01</javax.servlet.jsp-api.version>
|
2016-01-09 06:01:30 -05:00
|
|
|
<javax.servlet.version>3.0.1</javax.servlet.version>
|
|
|
|
<jstl.version>1.2</jstl.version>
|
|
|
|
|
2015-01-07 13:58:32 -05:00
|
|
|
<!-- Inject -->
|
|
|
|
<javax.inject.version>1</javax.inject.version>
|
|
|
|
|
|
|
|
<!-- Spring Data Jpa -->
|
2016-01-30 05:00:06 -05:00
|
|
|
<spring-data-jpa.version>1.8.2.RELEASE</spring-data-jpa.version>
|
2015-01-07 13:58:32 -05:00
|
|
|
|
|
|
|
<!-- guava -->
|
2015-12-21 04:34:42 -05:00
|
|
|
<guava.version>19.0</guava.version>
|
2015-01-07 13:58:32 -05:00
|
|
|
|
2016-01-09 06:01:30 -05:00
|
|
|
<org.hamcrest.version>1.3</org.hamcrest.version>
|
|
|
|
<junit.version>4.12</junit.version>
|
|
|
|
<passay.version>1.0</passay.version>
|
|
|
|
<rest-assured.version>2.4.0</rest-assured.version>
|
|
|
|
<javax.mail.version>1.4.7</javax.mail.version>
|
|
|
|
<jackson.version>2.6.4</jackson.version>
|
|
|
|
<commons-dbcp.version>1.4</commons-dbcp.version>
|
|
|
|
|
2015-10-11 08:08:45 -04:00
|
|
|
<!-- Maven plugins -->
|
2015-12-21 04:34:42 -05:00
|
|
|
<cargo-maven2-plugin.version>1.4.17</cargo-maven2-plugin.version>
|
2015-10-11 08:08:45 -04:00
|
|
|
<maven-compiler-plugin.version>3.3</maven-compiler-plugin.version>
|
|
|
|
<maven-war-plugin.version>2.6</maven-war-plugin.version>
|
|
|
|
<maven-surefire-plugin.version>2.18.1</maven-surefire-plugin.version>
|
2015-08-10 03:13:56 -04:00
|
|
|
|
2015-01-07 13:58:32 -05:00
|
|
|
</properties>
|
2015-08-10 03:13:56 -04:00
|
|
|
|
2015-04-05 02:20:50 -04:00
|
|
|
</project>
|