142 lines
4.8 KiB
XML
142 lines
4.8 KiB
XML
|
<?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/xsd/maven-4.0.0.xsd">
|
||
|
<modelVersion>4.0.0</modelVersion>
|
||
|
|
||
|
<groupId>org.baeldung.spring</groupId>
|
||
|
<artifactId>SpringMVCEmail</artifactId>
|
||
|
<packaging>war</packaging>
|
||
|
<version>1.0</version>
|
||
|
|
||
|
<dependencies>
|
||
|
<!-- Because this is a web app, we also have a dependency on the servlet api. -->
|
||
|
<dependency>
|
||
|
<groupId>javax.servlet</groupId>
|
||
|
<artifactId>javax.servlet-api</artifactId>
|
||
|
<version>3.0.1</version>
|
||
|
<scope>provided</scope>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>javax.servlet</groupId>
|
||
|
<artifactId>jstl</artifactId>
|
||
|
<version>1.2</version>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- Spring -->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework</groupId>
|
||
|
<artifactId>spring-context</artifactId>
|
||
|
<version>4.2.5.RELEASE</version>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>org.springframework</groupId>
|
||
|
<artifactId>spring-core</artifactId>
|
||
|
<version>4.2.5.RELEASE</version>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>org.springframework</groupId>
|
||
|
<artifactId>spring-web</artifactId>
|
||
|
<version>4.2.5.RELEASE</version>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>org.springframework</groupId>
|
||
|
<artifactId>spring-webmvc</artifactId>
|
||
|
<version>4.2.5.RELEASE</version>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- Bean validation api -->
|
||
|
<dependency>
|
||
|
<groupId>javax.validation</groupId>
|
||
|
<artifactId>validation-api</artifactId>
|
||
|
<version>1.1.0.Final</version>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- Hibernate Validator -->
|
||
|
<dependency>
|
||
|
<groupId>org.hibernate</groupId>
|
||
|
<artifactId>hibernate-validator</artifactId>
|
||
|
<version>5.0.1.Final</version>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- Spring Data JPA -->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.data</groupId>
|
||
|
<artifactId>spring-data-jpa</artifactId>
|
||
|
<version>1.10.1.RELEASE</version>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- Spring Security -->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.security</groupId>
|
||
|
<artifactId>spring-security-web</artifactId>
|
||
|
<version>4.0.4.RELEASE</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.security</groupId>
|
||
|
<artifactId>spring-security-config</artifactId>
|
||
|
<version>4.0.4.RELEASE</version>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- Java Mail library -->
|
||
|
<dependency>
|
||
|
<groupId>com.sun.mail</groupId>
|
||
|
<artifactId>javax.mail</artifactId>
|
||
|
<version>1.5.5</version>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- Spring Email ntegration -->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.integration</groupId>
|
||
|
<artifactId>spring-integration-mail</artifactId>
|
||
|
<version>4.3.0.RELEASE</version>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
|
||
|
<build>
|
||
|
<finalName>SpringMVCEmail</finalName>
|
||
|
|
||
|
<plugins>
|
||
|
<!-- Maven Tomcat Plugin -->
|
||
|
<plugin>
|
||
|
<groupId>org.apache.tomcat.maven</groupId>
|
||
|
<artifactId>tomcat6-maven-plugin</artifactId>
|
||
|
<version>2.2</version>
|
||
|
<configuration>
|
||
|
<url>http://localhost:8080/manager/text</url>
|
||
|
<server>TomcatServer</server>
|
||
|
<path>/SpringMVCEmail</path>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
|
||
|
<!-- Maven compiler plugin -->
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||
|
<version>3.1</version>
|
||
|
<configuration>
|
||
|
<source>1.7</source>
|
||
|
<target>1.7</target>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
<!-- Maven war plugin -->
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-war-plugin</artifactId>
|
||
|
<version>2.4</version>
|
||
|
<configuration>
|
||
|
<webXml>src/main/webapp/WEB-INF/web.xml</webXml>
|
||
|
<webResources>
|
||
|
<resource>
|
||
|
<directory>src/main/resources/META-INF</directory>
|
||
|
</resource>
|
||
|
</webResources>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
</project>
|