2014-07-21 17:39:43 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<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">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>org.baeldung</groupId>
|
|
|
|
<artifactId>spring-security-login-error-handling</artifactId>
|
|
|
|
<name>spring-security-login-error-handling</name>
|
|
|
|
<packaging>war</packaging>
|
|
|
|
<version>1.0.0-BUILD-SNAPSHOT</version>
|
2014-07-21 18:10:21 -04:00
|
|
|
|
2014-07-21 17:39:43 -04:00
|
|
|
<parent>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
2014-07-21 18:14:07 -04:00
|
|
|
<version>1.1.4.RELEASE</version>
|
2014-07-21 17:39:43 -04:00
|
|
|
</parent>
|
2014-07-21 18:10:21 -04:00
|
|
|
|
2014-07-21 17:39:43 -04:00
|
|
|
<dependencies>
|
2014-07-21 18:10:21 -04:00
|
|
|
|
2014-07-21 17:39:43 -04:00
|
|
|
<!-- Spring -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-context</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<!-- Exclude Commons Logging in favor of SLF4j -->
|
|
|
|
<exclusion>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-core</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-webmvc</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-jdbc</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-beans</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-aop</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-tx</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-expression</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-web</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-webmvc</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
<artifactId>spring-security-config</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
2014-07-21 18:10:21 -04:00
|
|
|
|
2014-07-21 17:39:43 -04:00
|
|
|
<!-- AspectJ -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.aspectj</groupId>
|
|
|
|
<artifactId>aspectjrt</artifactId>
|
|
|
|
</dependency>
|
2014-07-21 18:10:21 -04:00
|
|
|
|
2014-07-21 17:39:43 -04:00
|
|
|
<!-- Validation -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hibernate</groupId>
|
|
|
|
<artifactId>hibernate-validator</artifactId>
|
|
|
|
</dependency>
|
2014-07-21 18:10:21 -04:00
|
|
|
|
2014-07-21 18:14:07 -04:00
|
|
|
<!-- logging -->
|
2014-07-21 17:39:43 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2014-07-21 18:14:07 -04:00
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-classic</artifactId>
|
|
|
|
<!-- <scope>runtime</scope> -->
|
2014-07-21 17:39:43 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
2014-07-21 18:14:07 -04:00
|
|
|
<artifactId>jcl-over-slf4j</artifactId>
|
|
|
|
<!-- <scope>runtime</scope> --> <!-- some spring dependencies need to compile against jcl -->
|
2014-07-21 17:39:43 -04:00
|
|
|
</dependency>
|
2014-07-21 18:14:07 -04:00
|
|
|
<dependency> <!-- needed to bridge to slf4j for projects that use the log4j APIs directly -->
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>log4j-over-slf4j</artifactId>
|
2014-07-21 17:39:43 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- @Inject -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.inject</groupId>
|
|
|
|
<artifactId>javax.inject</artifactId>
|
|
|
|
<version>1</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Servlet -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>servlet-api</artifactId>
|
|
|
|
<version>2.5</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet.jsp</groupId>
|
|
|
|
<artifactId>jsp-api</artifactId>
|
|
|
|
<version>2.1</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>jstl</artifactId>
|
|
|
|
</dependency>
|
2014-07-21 18:10:21 -04:00
|
|
|
|
2014-07-21 17:39:43 -04:00
|
|
|
<!-- Taglibs -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
<artifactId>spring-security-taglibs</artifactId>
|
|
|
|
</dependency>
|
2014-07-21 18:10:21 -04:00
|
|
|
|
2014-07-21 17:39:43 -04:00
|
|
|
<!-- Test -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
</dependencies>
|
2014-07-21 18:10:21 -04:00
|
|
|
|
2014-07-21 17:39:43 -04:00
|
|
|
<build>
|
|
|
|
<finalName>SpringSecurityLogin</finalName>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
2014-07-21 18:10:21 -04:00
|
|
|
|
2014-07-21 17:39:43 -04:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-eclipse-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<additionalProjectnatures>
|
|
|
|
<projectnature>org.springframework.ide.eclipse.core.springnature</projectnature>
|
|
|
|
</additionalProjectnatures>
|
|
|
|
<additionalBuildcommands>
|
|
|
|
<buildcommand>org.springframework.ide.eclipse.core.springbuilder</buildcommand>
|
|
|
|
</additionalBuildcommands>
|
|
|
|
<downloadSources>true</downloadSources>
|
|
|
|
<downloadJavadocs>true</downloadJavadocs>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2014-07-21 18:10:21 -04:00
|
|
|
|
2014-07-21 17:39:43 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<source>1.7</source>
|
|
|
|
<target>1.7</target>
|
|
|
|
<compilerArgument>-Xlint:all</compilerArgument>
|
|
|
|
<showWarnings>true</showWarnings>
|
|
|
|
<showDeprecation>true</showDeprecation>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2014-07-21 18:10:21 -04:00
|
|
|
|
2014-07-21 17:39:43 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
</plugin>
|
2014-07-21 18:10:21 -04:00
|
|
|
|
2014-07-21 17:39:43 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<mainClass>org.test.int1.Main</mainClass>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2014-07-21 18:10:21 -04:00
|
|
|
|
|
|
|
<properties>
|
|
|
|
<java-version>1.7</java-version>
|
|
|
|
<org.springframework-version>3.1.1.RELEASE</org.springframework-version>
|
|
|
|
<org.springframework.security.version>3.2.4.RELEASE</org.springframework.security.version>
|
|
|
|
<org.aspectj-version>1.6.10</org.aspectj-version>
|
2014-07-21 18:14:07 -04:00
|
|
|
|
|
|
|
<!-- logging -->
|
|
|
|
<org.slf4j.version>1.7.6</org.slf4j.version>
|
|
|
|
<logback.version>1.1.1</logback.version>
|
|
|
|
|
2014-07-21 18:10:21 -04:00
|
|
|
</properties>
|
|
|
|
|
2014-07-21 17:39:43 -04:00
|
|
|
</project>
|