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.
296 lines
9.8 KiB
XML
296 lines
9.8 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>${revision}</version>
|
|
<relativePath>../spring-boot-project/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>
|
|
<properties>
|
|
<main.basedir>${basedir}/..</main.basedir>
|
|
<java.version>1.8</java.version>
|
|
<spring-javaformat.version>0.0.2</spring-javaformat.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-actuator-custom-security</module>
|
|
<module>spring-boot-sample-amqp</module>
|
|
<module>spring-boot-sample-animated-banner</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-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-integration</module>
|
|
<module>spring-boot-sample-jersey</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-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-junit-jupiter</module>
|
|
<module>spring-boot-sample-kafka</module>
|
|
<module>spring-boot-sample-liquibase</module>
|
|
<module>spring-boot-sample-logback</module>
|
|
<module>spring-boot-sample-oauth2-client</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-quartz</module>
|
|
<module>spring-boot-sample-secure</module>
|
|
<module>spring-boot-sample-secure-webflux</module>
|
|
<module>spring-boot-sample-servlet</module>
|
|
<module>spring-boot-sample-session</module>
|
|
<module>spring-boot-sample-session-webflux</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-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-jdbc</module>
|
|
<module>spring-boot-sample-web-static</module>
|
|
<module>spring-boot-sample-web-ui</module>
|
|
<module>spring-boot-sample-webflux</module>
|
|
<module>spring-boot-sample-websocket-jetty</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>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>flatten-maven-plugin</artifactId>
|
|
<inherited>true</inherited>
|
|
<executions>
|
|
<execution>
|
|
<id>flatten</id>
|
|
<phase>process-resources</phase>
|
|
<goals>
|
|
<goal>flatten</goal>
|
|
</goals>
|
|
<configuration>
|
|
<updatePomFile>true</updatePomFile>
|
|
<flattenMode>oss</flattenMode>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<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>
|
|
</pluginExecutions>
|
|
</lifecycleMappingMetadata>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
<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.8</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.spring.javaformat</groupId>
|
|
<artifactId>spring-javaformat-checkstyle</artifactId>
|
|
<version>${spring-javaformat.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>
|
|
</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>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-install-plugin</artifactId>
|
|
<configuration>
|
|
<skip>true</skip>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<configuration>
|
|
<skip>true</skip>
|
|
</configuration>
|
|
<inherited>true</inherited>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<profiles>
|
|
<profile>
|
|
<id>fast</id>
|
|
<activation>
|
|
<property>
|
|
<name>fast</name>
|
|
</property>
|
|
</activation>
|
|
<properties>
|
|
<disable.checks>true</disable.checks>
|
|
</properties>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|