193 lines
7.7 KiB
XML
193 lines
7.7 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-modules</artifactId>
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<properties>
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<springframework.version>5.0.2.RELEASE</springframework.version>
|
|
<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>5.4.1.Final</hibernate-validator.version>
|
|
<deploy-path>enter-location-of-server</deploy-path>
|
|
<fileupload.version>1.3.2</fileupload.version>
|
|
<java.version>1.8</java.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.jupiter.version>5.0.2</junit.jupiter.version>
|
|
<junit.jupiter.version>5.0.2</junit.jupiter.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>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-oxm</artifactId>
|
|
<version>5.0.2.RELEASE</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>${springframework.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>${springframework.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>
|
|
|
|
<!--Testing -->
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-test</artifactId>
|
|
<version>${springframework.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-engine</artifactId>
|
|
<version>${junit.jupiter.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>
|
|
</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>springMvcSimple</finalName>
|
|
</build>
|
|
</project>
|