102 lines
3.9 KiB
XML
102 lines
3.9 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>
|
|
<groupId>com.baeldung</groupId>
|
|
<version>0.1-SNAPSHOT</version>
|
|
<artifactId>apache-velocity</artifactId>
|
|
|
|
<packaging>war</packaging>
|
|
<name>apache-velocity</name>
|
|
|
|
<properties>
|
|
<jdk.version>1.8</jdk.version>
|
|
<jstl.version>1.2</jstl.version>
|
|
<junit.version>4.11</junit.version>
|
|
<logback.version>1.0.13</logback.version>
|
|
<jcl-over-slf4j.version>1.7.5</jcl-over-slf4j.version>
|
|
<maven-compiler-plugin.version>3.6.0</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>
|
|
<org.apache.httpcomponents.version>4.5.2</org.apache.httpcomponents.version>
|
|
<velocity-version>1.7</velocity-version>
|
|
<velocity-tools-version>2.0</velocity-tools-version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>${junit.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.velocity</groupId>
|
|
<artifactId>velocity</artifactId>
|
|
<version>${velocity-version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.velocity</groupId>
|
|
<artifactId>velocity-tools</artifactId>
|
|
<version>${velocity-tools-version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>jcl-over-slf4j</artifactId>
|
|
<version>${jcl-over-slf4j.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-classic</artifactId>
|
|
<version>${logback.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpclient</artifactId>
|
|
<version>${org.apache.httpcomponents.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<finalName>apache-velocity</finalName>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>${maven-compiler-plugin.version}</version>
|
|
<configuration>
|
|
<source>${jdk.version}</source>
|
|
<target>${jdk.version}</target>
|
|
</configuration>
|
|
</plugin>
|
|
<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.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>${maven-surefire-plugin.version}</version>
|
|
<configuration>
|
|
<excludes>
|
|
<exclude>**/*LiveTest.java</exclude>
|
|
</excludes>
|
|
<systemPropertyVariables>
|
|
</systemPropertyVariables>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|