Velocity and Freemarker share some common properties so the base class for configuring their properties makes some sense. Unfortunately the implementation pulls in Spring MVC at runtime because of the signature of one method (that would never be called). We can fix that in a number of ways, but the least disruptive is probably to change the signature of that method and only refer to the concrete template view resolver type if the method is called. Fixes gh-1437
150 lines
5.2 KiB
XML
150 lines
5.2 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>
|
|
<parent>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<version>1.1.6.BUILD-SNAPSHOT</version>
|
|
<relativePath>../spring-boot-starters/spring-boot-starter-parent</relativePath>
|
|
</parent>
|
|
<artifactId>spring-boot-samples</artifactId>
|
|
<packaging>pom</packaging>
|
|
<name>Spring Boot Samples</name>
|
|
<description>Spring Boot Samples</description>
|
|
<url>http://projects.spring.io/spring-boot/</url>
|
|
<organization>
|
|
<name>Pivotal Software, Inc.</name>
|
|
<url>http://www.spring.io</url>
|
|
</organization>
|
|
<properties>
|
|
<main.basedir>${basedir}/..</main.basedir>
|
|
</properties>
|
|
<modules>
|
|
<module>spring-boot-sample-actuator</module>
|
|
<module>spring-boot-sample-actuator-log4j</module>
|
|
<module>spring-boot-sample-actuator-noweb</module>
|
|
<module>spring-boot-sample-actuator-ui</module>
|
|
<module>spring-boot-sample-amqp</module>
|
|
<module>spring-boot-sample-aop</module>
|
|
<module>spring-boot-sample-batch</module>
|
|
<module>spring-boot-sample-data-elasticsearch</module>
|
|
<module>spring-boot-sample-data-gemfire</module>
|
|
<module>spring-boot-sample-data-jpa</module>
|
|
<module>spring-boot-sample-data-mongodb</module>
|
|
<module>spring-boot-sample-data-redis</module>
|
|
<module>spring-boot-sample-data-rest</module>
|
|
<module>spring-boot-sample-data-solr</module>
|
|
<module>spring-boot-sample-flyway</module>
|
|
<module>spring-boot-sample-hornetq</module>
|
|
<module>spring-boot-sample-integration</module>
|
|
<module>spring-boot-sample-jetty</module>
|
|
<module>spring-boot-sample-liquibase</module>
|
|
<module>spring-boot-sample-parent-context</module>
|
|
<module>spring-boot-sample-profile</module>
|
|
<module>spring-boot-sample-secure</module>
|
|
<module>spring-boot-sample-servlet</module>
|
|
<module>spring-boot-sample-simple</module>
|
|
<module>spring-boot-sample-tomcat</module>
|
|
<module>spring-boot-sample-tomcat-multi-connectors</module>
|
|
<module>spring-boot-sample-tomcat8-jsp</module>
|
|
<module>spring-boot-sample-traditional</module>
|
|
<module>spring-boot-sample-velocity</module>
|
|
<module>spring-boot-sample-web-freemarker</module>
|
|
<module>spring-boot-sample-web-groovy-templates</module>
|
|
<module>spring-boot-sample-web-method-security</module>
|
|
<module>spring-boot-sample-web-secure</module>
|
|
<module>spring-boot-sample-web-secure-custom</module>
|
|
<module>spring-boot-sample-web-secure-jdbc</module>
|
|
<module>spring-boot-sample-web-static</module>
|
|
<module>spring-boot-sample-web-jsp</module>
|
|
<module>spring-boot-sample-web-ui</module>
|
|
<module>spring-boot-sample-web-velocity</module>
|
|
<module>spring-boot-sample-websocket</module>
|
|
<module>spring-boot-sample-ws</module>
|
|
<module>spring-boot-sample-xml</module>
|
|
</modules>
|
|
<!-- No dependencies - otherwise the samples won't work if you change the
|
|
parent -->
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-eclipse-plugin</artifactId>
|
|
<configuration>
|
|
<useProjectReferences>false</useProjectReferences>
|
|
<additionalConfig>
|
|
<file>
|
|
<name>.settings/org.eclipse.jdt.ui.prefs</name>
|
|
<location>${main.basedir}/eclipse/org.eclipse.jdt.ui.prefs</location>
|
|
</file>
|
|
<file>
|
|
<name>.settings/org.eclipse.jdt.core.prefs</name>
|
|
<location>${main.basedir}/eclipse/org.eclipse.jdt.core.prefs</location>
|
|
</file>
|
|
</additionalConfig>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<includes>
|
|
<include>**/*Tests.java</include>
|
|
</includes>
|
|
<excludes>
|
|
<exclude>**/Abstract*.java</exclude>
|
|
</excludes>
|
|
<systemPropertyVariables>
|
|
<java.security.egd>file:/dev/./urandom</java.security.egd>
|
|
<java.awt.headless>true</java.awt.headless>
|
|
</systemPropertyVariables>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<repositories>
|
|
<repository>
|
|
<id>spring-snapshots</id>
|
|
<name>Spring Snapshots</name>
|
|
<url>http://repo.spring.io/snapshot</url>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
<repository>
|
|
<id>spring-milestones</id>
|
|
<name>Spring Milestones</name>
|
|
<url>http://repo.spring.io/milestone</url>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
</repositories>
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>spring-snapshots</id>
|
|
<name>Spring Snapshots</name>
|
|
<url>http://repo.spring.io/snapshot</url>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
</pluginRepository>
|
|
<pluginRepository>
|
|
<id>spring-milestones</id>
|
|
<name>Spring Milestones</name>
|
|
<url>http://repo.spring.io/milestone</url>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</pluginRepository>
|
|
<pluginRepository>
|
|
<id>spring-releases</id>
|
|
<name>Spring Releases</name>
|
|
<url>http://repo.spring.io/release</url>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
</project>
|