209 lines
8.1 KiB
XML
209 lines
8.1 KiB
XML
<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>
|
|
<artifactId>spring-mvc-simple</artifactId>
|
|
<packaging>war</packaging>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
<name>Spring MVC simple Maven Webapp</name>
|
|
<url>http://maven.apache.org</url>
|
|
|
|
<parent>
|
|
<groupId>com.baeldung</groupId>
|
|
<artifactId>parent-spring-5</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
<relativePath>../parent-spring-5</relativePath>
|
|
</parent>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-oxm</artifactId>
|
|
<version>${spring-oxm.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.sun.mail</groupId>
|
|
<artifactId>javax.mail</artifactId>
|
|
<version>1.6.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
<version>${javax.servlet-api.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.servlet.jsp</groupId>
|
|
<artifactId>javax.servlet.jsp-api</artifactId>
|
|
<version>${javax.servlet.jsp-api.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>jstl</artifactId>
|
|
<version>${jstl.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-validator</artifactId>
|
|
<version>${hibernate-validator.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-fileupload</groupId>
|
|
<artifactId>commons-fileupload</artifactId>
|
|
<version>${fileupload.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-webmvc</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-tx</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
|
|
<!-- thymeleaf dependencies -->
|
|
<dependency>
|
|
<groupId>org.thymeleaf</groupId>
|
|
<artifactId>thymeleaf</artifactId>
|
|
<version>${org.thymeleaf-version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.thymeleaf</groupId>
|
|
<artifactId>thymeleaf-spring4</artifactId>
|
|
<version>${org.thymeleaf-version}</version>
|
|
</dependency>
|
|
|
|
<!-- freemarker dependencies -->
|
|
<dependency>
|
|
<groupId>org.freemarker</groupId>
|
|
<artifactId>freemarker</artifactId>
|
|
<version>${freemarker.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context-support</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
|
|
<!-- groovy template dependency -->
|
|
<dependency>
|
|
<groupId>org.codehaus.groovy</groupId>
|
|
<artifactId>groovy-templates</artifactId>
|
|
<version>${groovy.version}</version>
|
|
</dependency>
|
|
|
|
<!-- jade dependency -->
|
|
<dependency>
|
|
<groupId>de.neuland-bfi</groupId>
|
|
<artifactId>spring-jade4j</artifactId>
|
|
<version>${jade.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.tiles</groupId>
|
|
<artifactId>tiles-jsp</artifactId>
|
|
<version>${apache-tiles.version}</version>
|
|
</dependency>
|
|
|
|
<!--Testing -->
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-test</artifactId>
|
|
<version>${spring.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.rometools</groupId>
|
|
<artifactId>rome</artifactId>
|
|
<version>${rome.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.thoughtworks.xstream</groupId>
|
|
<artifactId>xstream</artifactId>
|
|
<version>${xstream.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.scribejava</groupId>
|
|
<artifactId>scribejava-apis</artifactId>
|
|
<version>${scribejava.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.json</groupId>
|
|
<artifactId>json</artifactId>
|
|
<version>${json.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.surefire</groupId>
|
|
<artifactId>surefire-logger-api</artifactId>
|
|
<version>${maven-surefire-plugin.version}</version>
|
|
<!-- to get around bug https://github.com/junit-team/junit5/issues/1367 -->
|
|
<scope>test</scope>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
<version>${maven-war-plugin.version}</version>
|
|
<configuration>
|
|
<warSourceDirectory>src/main/webapp</warSourceDirectory>
|
|
<warName>springMvcSimple</warName>
|
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
|
<outputDirectory>${deploy-path}</outputDirectory>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>${maven-surefire-plugin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>default-test</id>
|
|
<configuration>
|
|
<skip>true</skip>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.junit.platform</groupId>
|
|
<artifactId>junit-platform-surefire-provider</artifactId>
|
|
<version>${junit.platform.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
<finalName>spring-mvc-simple</finalName>
|
|
</build>
|
|
|
|
<properties>
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
<maven-war-plugin.version>3.2.0</maven-war-plugin.version>
|
|
<maven.compiler.version>3.7.0</maven.compiler.version>
|
|
<maven-surefire-plugin.version>2.21.0</maven-surefire-plugin.version>
|
|
<jstl.version>1.2</jstl.version>
|
|
<javax.servlet.jsp-api.version>2.3.2-b02</javax.servlet.jsp-api.version>
|
|
<javax.servlet-api.version>4.0.0</javax.servlet-api.version>
|
|
<hibernate-validator.version>6.0.10.Final</hibernate-validator.version>
|
|
<deploy-path>enter-location-of-server</deploy-path>
|
|
<fileupload.version>1.3.2</fileupload.version>
|
|
<org.thymeleaf-version>3.0.7.RELEASE</org.thymeleaf-version>
|
|
<groovy.version>2.4.12</groovy.version>
|
|
<freemarker.version>2.3.27-incubating</freemarker.version>
|
|
<jade.version>1.2.5</jade.version>
|
|
<junit.platform.version>1.0.2</junit.platform.version>
|
|
<rome.version>1.9.0</rome.version>
|
|
<jackson.version>2.9.4</jackson.version>
|
|
<xstream.version>1.4.9</xstream.version>
|
|
<scribejava.version>5.1.0</scribejava.version>
|
|
<json.version>20180130</json.version>
|
|
<spring-oxm.version>5.0.2.RELEASE</spring-oxm.version>
|
|
<apache-tiles.version>3.0.8</apache-tiles.version>
|
|
</properties>
|
|
|
|
</project>
|