131 lines
5.1 KiB
XML
131 lines
5.1 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>
|
||
|
<artifactId>spring-thymeleaf-4</artifactId>
|
||
|
<name>spring-thymeleaf-4</name>
|
||
|
<packaging>war</packaging>
|
||
|
|
||
|
<parent>
|
||
|
<groupId>com.baeldung</groupId>
|
||
|
<artifactId>parent-spring-5</artifactId>
|
||
|
<version>0.0.1-SNAPSHOT</version>
|
||
|
<relativePath>../../parent-spring-5</relativePath>
|
||
|
</parent>
|
||
|
|
||
|
<dependencies>
|
||
|
<!-- Spring -->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework</groupId>
|
||
|
<artifactId>spring-context</artifactId>
|
||
|
<version>${spring.version}</version>
|
||
|
<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-webmvc</artifactId>
|
||
|
<version>${spring.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.data</groupId>
|
||
|
<artifactId>spring-data-commons</artifactId>
|
||
|
<version>${spring-data.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>javax.validation</groupId>
|
||
|
<artifactId>validation-api</artifactId>
|
||
|
<version>${javax.validation-version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.hibernate.validator</groupId>
|
||
|
<artifactId>hibernate-validator</artifactId>
|
||
|
<version>${hibernate-validator.version}</version>
|
||
|
</dependency>
|
||
|
<!-- Thymeleaf -->
|
||
|
<dependency>
|
||
|
<groupId>org.thymeleaf</groupId>
|
||
|
<artifactId>thymeleaf</artifactId>
|
||
|
<version>${org.thymeleaf-version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.thymeleaf</groupId>
|
||
|
<artifactId>thymeleaf-spring5</artifactId>
|
||
|
<version>${org.thymeleaf-version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>nz.net.ultraq.thymeleaf</groupId>
|
||
|
<artifactId>thymeleaf-layout-dialect</artifactId>
|
||
|
<version>${thymeleaf-layout-dialect.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.thymeleaf.extras</groupId>
|
||
|
<artifactId>thymeleaf-extras-java8time</artifactId>
|
||
|
<version>${org.thymeleaf.extras-version}</version>
|
||
|
</dependency>
|
||
|
<!-- Servlet -->
|
||
|
<dependency>
|
||
|
<groupId>javax.servlet</groupId>
|
||
|
<artifactId>javax.servlet-api</artifactId>
|
||
|
<version>${javax.servlet-api.version}</version>
|
||
|
<scope>provided</scope>
|
||
|
</dependency>
|
||
|
<!-- test scoped -->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework</groupId>
|
||
|
<artifactId>spring-test</artifactId>
|
||
|
<version>${spring.version}</version>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
|
||
|
<build>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-war-plugin</artifactId>
|
||
|
<version>${maven-war-plugin.version}</version>
|
||
|
<configuration>
|
||
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.codehaus.cargo</groupId>
|
||
|
<artifactId>cargo-maven2-plugin</artifactId>
|
||
|
<version>${cargo-maven2-plugin.version}</version>
|
||
|
<configuration>
|
||
|
<wait>true</wait>
|
||
|
<container>
|
||
|
<containerId>jetty9x</containerId>
|
||
|
<type>embedded</type>
|
||
|
<systemProperties>
|
||
|
</systemProperties>
|
||
|
</container>
|
||
|
<configuration>
|
||
|
<properties>
|
||
|
<cargo.servlet.port>8082</cargo.servlet.port>
|
||
|
</properties>
|
||
|
</configuration>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
|
||
|
<properties>
|
||
|
<spring-data.version>2.3.2.RELEASE</spring-data.version>
|
||
|
<org.thymeleaf-version>3.0.11.RELEASE</org.thymeleaf-version>
|
||
|
<org.thymeleaf.extras-version>3.0.4.RELEASE</org.thymeleaf.extras-version>
|
||
|
<thymeleaf-layout-dialect.version>2.4.1</thymeleaf-layout-dialect.version>
|
||
|
<javax.validation-version>2.0.1.Final</javax.validation-version>
|
||
|
<hibernate-validator.version>6.0.11.Final</hibernate-validator.version>
|
||
|
<!-- Maven plugins -->
|
||
|
<cargo-maven2-plugin.version>1.6.1</cargo-maven2-plugin.version>
|
||
|
</properties>
|
||
|
|
||
|
</project>
|