255 lines
9.3 KiB
XML
255 lines
9.3 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/maven-v4_0_0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>com.baeldung</groupId>
|
|
<artifactId>spring-static-resources</artifactId>
|
|
<version>0.1.0-SNAPSHOT</version>
|
|
<packaging>war</packaging>
|
|
|
|
<name>spring-static-resources</name>
|
|
|
|
<dependencies>
|
|
<!-- Spring Security -->
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.security</groupId>
|
|
<artifactId>spring-security-web</artifactId>
|
|
<version>${org.springframework.security.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.security</groupId>
|
|
<artifactId>spring-security-config</artifactId>
|
|
<version>${org.springframework.security.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.security</groupId>
|
|
<artifactId>spring-security-taglibs</artifactId>
|
|
<version>${org.springframework.security.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Spring -->
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-core</artifactId>
|
|
<version>${org.springframework.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>commons-logging</artifactId>
|
|
<groupId>commons-logging</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context</artifactId>
|
|
<version>${org.springframework.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-jdbc</artifactId>
|
|
<version>${org.springframework.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-beans</artifactId>
|
|
<version>${org.springframework.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-aop</artifactId>
|
|
<version>${org.springframework.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-tx</artifactId>
|
|
<version>${org.springframework.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-expression</artifactId>
|
|
<version>${org.springframework.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-web</artifactId>
|
|
<version>${org.springframework.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-webmvc</artifactId>
|
|
<version>${org.springframework.version}</version>
|
|
</dependency>
|
|
|
|
<!-- AOP -->
|
|
<dependency>
|
|
<groupId>org.aspectj</groupId>
|
|
<artifactId>aspectjrt</artifactId>
|
|
<version>${org.aspectj-version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.inject</groupId>
|
|
<artifactId>javax.inject</artifactId>
|
|
<version>1</version>
|
|
</dependency>
|
|
|
|
<!-- Servlet -->
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
<version>3.1.0</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>1.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
<version>${jackson.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-validator</artifactId>
|
|
<version>${hibernate-validator.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Joda Time Library -->
|
|
<dependency>
|
|
<groupId>joda-time</groupId>
|
|
<artifactId>joda-time</artifactId>
|
|
<version>2.6</version>
|
|
</dependency>
|
|
|
|
<!-- Handlebars.java -->
|
|
<dependency>
|
|
<groupId>com.github.jknack</groupId>
|
|
<artifactId>handlebars</artifactId>
|
|
<version>1.3.2</version>
|
|
</dependency>
|
|
|
|
<!-- logging -->
|
|
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>${org.slf4j.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-classic</artifactId>
|
|
<version>${logback.version}</version>
|
|
<!-- <scope>runtime</scope> -->
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>jcl-over-slf4j</artifactId>
|
|
<version>${org.slf4j.version}</version>
|
|
<!-- <scope>runtime</scope> --> <!-- some spring dependencies need to compile against jcl -->
|
|
</dependency>
|
|
<dependency> <!-- needed to bridge to slf4j for projects that use the log4j APIs directly -->
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>log4j-over-slf4j</artifactId>
|
|
<version>${org.slf4j.version}</version>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
<finalName>spring-static-resources</finalName>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>net.alchim31.maven</groupId>
|
|
<artifactId>yuicompressor-maven-plugin</artifactId>
|
|
<version>1.5.1</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>compress</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<nosuffix>true</nosuffix>
|
|
<webappDirectory>${project.build.directory}/min</webappDirectory>
|
|
<excludes>
|
|
<exclude>**/*.min.js</exclude>
|
|
<exclude>**/handlebars-3133af2.js</exclude>
|
|
<exclude>**/require.js</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
<configuration>
|
|
<webResources>
|
|
<resource>
|
|
<directory>${project.build.directory}/min</directory>
|
|
</resource>
|
|
</webResources>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<properties>
|
|
<java-version>1.8</java-version>
|
|
|
|
<!-- Spring -->
|
|
<org.springframework.version>4.2.5.RELEASE</org.springframework.version>
|
|
<org.springframework.security.version>4.0.4.RELEASE</org.springframework.security.version>
|
|
|
|
<org.aspectj-version>1.8.1</org.aspectj-version>
|
|
<javax.servlet.jsp-api.version>2.3.2-b01</javax.servlet.jsp-api.version>
|
|
|
|
<!-- persistence -->
|
|
<hibernate.version>4.3.11.Final</hibernate.version>
|
|
<mysql-connector-java.version>5.1.38</mysql-connector-java.version>
|
|
<spring-data-jpa.version>1.9.2.RELEASE</spring-data-jpa.version>
|
|
|
|
<!-- marshalling -->
|
|
|
|
<jackson.version>2.7.2</jackson.version>
|
|
|
|
<!-- logging -->
|
|
<org.slf4j.version>1.7.13</org.slf4j.version>
|
|
<logback.version>1.1.3</logback.version>
|
|
|
|
<!-- various -->
|
|
<hibernate-validator.version>5.2.2.Final</hibernate-validator.version>
|
|
|
|
<!-- util -->
|
|
<guava.version>19.0</guava.version>
|
|
<commons-lang3.version>3.4</commons-lang3.version>
|
|
|
|
<!-- testing -->
|
|
<org.hamcrest.version>1.3</org.hamcrest.version>
|
|
<junit.version>4.12</junit.version>
|
|
<mockito.version>1.10.19</mockito.version>
|
|
|
|
<httpcore.version>4.4.1</httpcore.version>
|
|
<httpclient.version>4.5</httpclient.version>
|
|
|
|
<rest-assured.version>2.9.0</rest-assured.version>
|
|
|
|
<!-- Maven plugins -->
|
|
<maven-compiler-plugin.version>3.5.1</maven-compiler-plugin.version>
|
|
<maven-war-plugin.version>2.6</maven-war-plugin.version>
|
|
<maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version>
|
|
<cargo-maven2-plugin.version>1.4.18</cargo-maven2-plugin.version>
|
|
</properties>
|
|
|
|
</project> |