You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
370 lines
12 KiB
XML
370 lines
12 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 https://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.5.22.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>https://projects.spring.io/spring-boot/</url>
|
|
<organization>
|
|
<name>Pivotal Software, Inc.</name>
|
|
<url>https://www.spring.io</url>
|
|
</organization>
|
|
<properties>
|
|
<main.basedir>${basedir}/..</main.basedir>
|
|
<java.version>1.8</java.version>
|
|
<spring-javaformat.version>0.0.14</spring-javaformat.version>
|
|
<nohttp-checkstyle.version>0.0.1.RELEASE</nohttp-checkstyle.version>
|
|
<disable.checks>false</disable.checks>
|
|
</properties>
|
|
<modules>
|
|
<module>spring-boot-sample-ant</module>
|
|
<module>spring-boot-sample-activemq</module>
|
|
<module>spring-boot-sample-actuator</module>
|
|
<module>spring-boot-sample-actuator-log4j2</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-atmosphere</module>
|
|
<module>spring-boot-sample-batch</module>
|
|
<module>spring-boot-sample-cache</module>
|
|
<module>spring-boot-sample-custom-layout</module>
|
|
<module>spring-boot-sample-data-cassandra</module>
|
|
<module>spring-boot-sample-data-couchbase</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-ldap</module>
|
|
<module>spring-boot-sample-data-mongodb</module>
|
|
<module>spring-boot-sample-data-neo4j</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-devtools</module>
|
|
<module>spring-boot-sample-flyway</module>
|
|
<module>spring-boot-sample-hateoas</module>
|
|
<module>spring-boot-sample-hibernate4</module>
|
|
<module>spring-boot-sample-hibernate52</module>
|
|
<module>spring-boot-sample-hypermedia</module>
|
|
<module>spring-boot-sample-hypermedia-gson</module>
|
|
<module>spring-boot-sample-hypermedia-jpa</module>
|
|
<module>spring-boot-sample-hypermedia-ui</module>
|
|
<module>spring-boot-sample-hypermedia-ui-secure</module>
|
|
<module>spring-boot-sample-integration</module>
|
|
<module>spring-boot-sample-jersey</module>
|
|
<module>spring-boot-sample-jersey1</module>
|
|
<module>spring-boot-sample-jetty</module>
|
|
<module>spring-boot-sample-jetty-jsp</module>
|
|
<module>spring-boot-sample-jetty-ssl</module>
|
|
<module>spring-boot-sample-jetty8</module>
|
|
<module>spring-boot-sample-jetty8-ssl</module>
|
|
<module>spring-boot-sample-jetty92</module>
|
|
<module>spring-boot-sample-jetty93</module>
|
|
<module>spring-boot-sample-jooq</module>
|
|
<module>spring-boot-sample-jpa</module>
|
|
<module>spring-boot-sample-jta-atomikos</module>
|
|
<module>spring-boot-sample-jta-bitronix</module>
|
|
<module>spring-boot-sample-jta-narayana</module>
|
|
<module>spring-boot-sample-jta-jndi</module>
|
|
<module>spring-boot-sample-liquibase</module>
|
|
<module>spring-boot-sample-logback</module>
|
|
<module>spring-boot-sample-metrics-dropwizard</module>
|
|
<module>spring-boot-sample-metrics-opentsdb</module>
|
|
<module>spring-boot-sample-metrics-redis</module>
|
|
<module>spring-boot-sample-parent-context</module>
|
|
<module>spring-boot-sample-profile</module>
|
|
<module>spring-boot-sample-property-validation</module>
|
|
<module>spring-boot-sample-secure</module>
|
|
<module>spring-boot-sample-secure-oauth2</module>
|
|
<module>spring-boot-sample-secure-oauth2-actuator</module>
|
|
<module>spring-boot-sample-secure-oauth2-resource</module>
|
|
<module>spring-boot-sample-servlet</module>
|
|
<module>spring-boot-sample-session-redis</module>
|
|
<module>spring-boot-sample-simple</module>
|
|
<module>spring-boot-sample-test</module>
|
|
<module>spring-boot-sample-test-nomockito</module>
|
|
<module>spring-boot-sample-testng</module>
|
|
<module>spring-boot-sample-tomcat</module>
|
|
<module>spring-boot-sample-tomcat-jsp</module>
|
|
<module>spring-boot-sample-tomcat-ssl</module>
|
|
<module>spring-boot-sample-tomcat-multi-connectors</module>
|
|
<module>spring-boot-sample-tomcat7-jsp</module>
|
|
<module>spring-boot-sample-tomcat7-ssl</module>
|
|
<module>spring-boot-sample-tomcat80-ssl</module>
|
|
<module>spring-boot-sample-traditional</module>
|
|
<module>spring-boot-sample-undertow</module>
|
|
<module>spring-boot-sample-undertow-ssl</module>
|
|
<module>spring-boot-sample-war</module>
|
|
<module>spring-boot-sample-web-freemarker</module>
|
|
<module>spring-boot-sample-web-groovy-templates</module>
|
|
<module>spring-boot-sample-web-jsp</module>
|
|
<module>spring-boot-sample-web-method-security</module>
|
|
<module>spring-boot-sample-web-mustache</module>
|
|
<module>spring-boot-sample-web-secure</module>
|
|
<module>spring-boot-sample-web-secure-custom</module>
|
|
<module>spring-boot-sample-web-secure-github</module>
|
|
<module>spring-boot-sample-web-secure-jdbc</module>
|
|
<module>spring-boot-sample-web-static</module>
|
|
<module>spring-boot-sample-web-thymeleaf3</module>
|
|
<module>spring-boot-sample-web-ui</module>
|
|
<module>spring-boot-sample-websocket-jetty</module>
|
|
<module>spring-boot-sample-websocket-jetty93</module>
|
|
<module>spring-boot-sample-websocket-tomcat</module>
|
|
<module>spring-boot-sample-websocket-undertow</module>
|
|
<module>spring-boot-sample-webservices</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>io.spring.javaformat</groupId>
|
|
<artifactId>spring-javaformat-maven-plugin</artifactId>
|
|
<version>${spring-javaformat.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>validate</phase>
|
|
<configuration>
|
|
<skip>${disable.checks}</skip>
|
|
</configuration>
|
|
<goals>
|
|
<goal>validate</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
<version>3.0.0</version>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.puppycrawl.tools</groupId>
|
|
<artifactId>checkstyle</artifactId>
|
|
<version>8.22</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.spring.javaformat</groupId>
|
|
<artifactId>spring-javaformat-checkstyle</artifactId>
|
|
<version>${spring-javaformat.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.spring.nohttp</groupId>
|
|
<artifactId>nohttp-checkstyle</artifactId>
|
|
<version>${nohttp-checkstyle.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<executions>
|
|
<execution>
|
|
<id>checkstyle-validation</id>
|
|
<phase>validate</phase>
|
|
<configuration>
|
|
<skip>${disable.checks}</skip>
|
|
<configLocation>../spring-boot-parent/src/checkstyle/checkstyle.xml</configLocation>
|
|
<suppressionsLocation>../spring-boot-parent/src/checkstyle/checkstyle-suppressions.xml</suppressionsLocation>
|
|
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
|
</configuration>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>nohttp-checkstyle-validation</id>
|
|
<phase>validate</phase>
|
|
<configuration>
|
|
<skip>${disable.checks}</skip>
|
|
<configLocation>../spring-boot-parent/src/checkstyle/nohttp-checkstyle.xml</configLocation>
|
|
<suppressionsLocation>../spring-boot-parent/src/checkstyle/nohttp-checkstyle-suppressions.xml</suppressionsLocation>
|
|
<propertyExpansion>main.basedir=${main.basedir}</propertyExpansion>
|
|
<sourceDirectories>./</sourceDirectories>
|
|
<includes>**/*</includes>
|
|
<excludes>.git/**/*,target/**/*</excludes>
|
|
</configuration>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</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>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>enforce-rules</id>
|
|
<goals>
|
|
<goal>enforce</goal>
|
|
</goals>
|
|
<configuration>
|
|
<rules>
|
|
<bannedDependencies>
|
|
<excludes>
|
|
<exclude>commons-logging:*:*</exclude>
|
|
</excludes>
|
|
<searchTransitive>true</searchTransitive>
|
|
</bannedDependencies>
|
|
</rules>
|
|
<fail>true</fail>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<!--This plugin's configuration is used to store Eclipse m2e settings
|
|
only. It has no influence on the Maven build itself. -->
|
|
<plugin>
|
|
<groupId>org.eclipse.m2e</groupId>
|
|
<artifactId>lifecycle-mapping</artifactId>
|
|
<version>1.0.0</version>
|
|
<configuration>
|
|
<lifecycleMappingMetadata>
|
|
<pluginExecutions>
|
|
<pluginExecution>
|
|
<pluginExecutionFilter>
|
|
<groupId>
|
|
org.apache.maven.plugins
|
|
</groupId>
|
|
<artifactId>
|
|
maven-enforcer-plugin
|
|
</artifactId>
|
|
<versionRange>
|
|
[1.3.1,)
|
|
</versionRange>
|
|
<goals>
|
|
<goal>enforce</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<ignore />
|
|
</action>
|
|
</pluginExecution>
|
|
<pluginExecution>
|
|
<pluginExecutionFilter>
|
|
<groupId>
|
|
org.springframework.boot
|
|
</groupId>
|
|
<artifactId>
|
|
spring-boot-maven-plugin
|
|
</artifactId>
|
|
<versionRange>
|
|
[1.4.0.BUILD-SNAPSHOT,)
|
|
</versionRange>
|
|
<goals>
|
|
<goal>build-info</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<ignore />
|
|
</action>
|
|
</pluginExecution>
|
|
<pluginExecution>
|
|
<pluginExecutionFilter>
|
|
<groupId>
|
|
org.apache.maven.plugins
|
|
</groupId>
|
|
<artifactId>
|
|
maven-checkstyle-plugin
|
|
</artifactId>
|
|
<versionRange>
|
|
[3.0.0,)
|
|
</versionRange>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<ignore />
|
|
</action>
|
|
</pluginExecution>
|
|
</pluginExecutions>
|
|
</lifecycleMappingMetadata>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
</build>
|
|
<repositories>
|
|
<repository>
|
|
<id>spring-snapshots</id>
|
|
<name>Spring Snapshots</name>
|
|
<url>https://repo.spring.io/snapshot</url>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
<repository>
|
|
<id>spring-milestones</id>
|
|
<name>Spring Milestones</name>
|
|
<url>https://repo.spring.io/milestone</url>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
</repositories>
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>spring-snapshots</id>
|
|
<name>Spring Snapshots</name>
|
|
<url>https://repo.spring.io/snapshot</url>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
</pluginRepository>
|
|
<pluginRepository>
|
|
<id>spring-milestones</id>
|
|
<name>Spring Milestones</name>
|
|
<url>https://repo.spring.io/milestone</url>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</pluginRepository>
|
|
<pluginRepository>
|
|
<id>spring-releases</id>
|
|
<name>Spring Releases</name>
|
|
<url>https://repo.spring.io/release</url>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
<profiles>
|
|
<profile>
|
|
<id>fast</id>
|
|
<activation>
|
|
<property>
|
|
<name>fast</name>
|
|
</property>
|
|
</activation>
|
|
<properties>
|
|
<disable.checks>true</disable.checks>
|
|
</properties>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|