2013-04-24 17:02:07 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2018-06-05 08:25:19 +08:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2019-03-17 00:01:11 +08:00
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2013-04-24 17:02:07 +08:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2013-07-26 18:50:02 +08:00
|
|
|
<groupId>org.springframework.boot</groupId>
|
2013-08-03 12:48:19 +08:00
|
|
|
<artifactId>spring-boot-build</artifactId>
|
2017-06-01 05:27:23 +08:00
|
|
|
<version>${revision}</version>
|
2013-04-24 17:02:07 +08:00
|
|
|
<packaging>pom</packaging>
|
2014-04-01 16:10:51 +08:00
|
|
|
<name>Spring Boot Build</name>
|
|
|
|
<description>Spring Boot Build</description>
|
2013-04-24 17:02:07 +08:00
|
|
|
<properties>
|
2019-11-07 23:39:06 +08:00
|
|
|
<revision>2.3.0.BUILD-SNAPSHOT</revision>
|
2013-07-06 01:26:50 +08:00
|
|
|
<main.basedir>${basedir}</main.basedir>
|
2013-04-24 17:02:07 +08:00
|
|
|
</properties>
|
2017-10-24 01:48:15 +08:00
|
|
|
<!-- Most elements are in profiles so they are stripped out during maven-flatten -->
|
2013-08-30 13:28:34 +08:00
|
|
|
<profiles>
|
2017-06-01 05:27:23 +08:00
|
|
|
<!-- Default profile for command line build -->
|
2013-08-30 13:28:34 +08:00
|
|
|
<profile>
|
|
|
|
<id>default</id>
|
|
|
|
<activation>
|
2018-07-25 23:39:59 +08:00
|
|
|
<property>
|
|
|
|
<name>!disable-spring-boot-default-profile</name>
|
|
|
|
</property>
|
2013-08-30 13:28:34 +08:00
|
|
|
</activation>
|
2018-06-05 08:25:19 +08:00
|
|
|
<properties>
|
2019-12-05 12:39:55 +08:00
|
|
|
<spring-javaformat.version>0.0.17</spring-javaformat.version>
|
2019-12-29 17:36:07 +08:00
|
|
|
<nohttp-checkstyle.version>0.0.4.RELEASE</nohttp-checkstyle.version>
|
2018-06-05 08:25:19 +08:00
|
|
|
</properties>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<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>
|
2019-06-27 18:39:02 +08:00
|
|
|
<version>8.22</version>
|
2018-06-05 08:25:19 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.spring.javaformat</groupId>
|
|
|
|
<artifactId>spring-javaformat-checkstyle</artifactId>
|
|
|
|
<version>${spring-javaformat.version}</version>
|
|
|
|
</dependency>
|
2013-08-30 13:28:34 +08:00
|
|
|
<dependency>
|
2019-06-04 15:05:57 +08:00
|
|
|
<groupId>io.spring.nohttp</groupId>
|
|
|
|
<artifactId>nohttp-checkstyle</artifactId>
|
|
|
|
<version>${nohttp-checkstyle.version}</version>
|
2013-08-30 13:28:34 +08:00
|
|
|
</dependency>
|
2018-06-05 08:25:19 +08:00
|
|
|
</dependencies>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>checkstyle-validation</id>
|
|
|
|
<phase>validate</phase>
|
|
|
|
<configuration>
|
|
|
|
<skip>${disable.checks}</skip>
|
|
|
|
<configLocation>src/checkstyle/checkstyle.xml</configLocation>
|
|
|
|
<suppressionsLocation>src/checkstyle/checkstyle-suppressions.xml</suppressionsLocation>
|
|
|
|
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
2018-10-03 01:11:57 +08:00
|
|
|
<propertyExpansion>main.basedir=${main.basedir}</propertyExpansion>
|
2019-06-08 11:55:55 +08:00
|
|
|
<encoding>UTF-8</encoding>
|
2013-08-30 13:28:34 +08:00
|
|
|
</configuration>
|
|
|
|
<goals>
|
2019-06-08 03:05:34 +08:00
|
|
|
<goal>check</goal>
|
2013-08-30 13:28:34 +08:00
|
|
|
</goals>
|
2016-08-15 19:25:25 +08:00
|
|
|
</execution>
|
|
|
|
<execution>
|
2019-06-08 03:05:34 +08:00
|
|
|
<id>nohttp-checkstyle-validation</id>
|
|
|
|
<phase>validate</phase>
|
2016-08-15 19:25:25 +08:00
|
|
|
<configuration>
|
2019-06-08 03:05:34 +08:00
|
|
|
<skip>${disable.checks}</skip>
|
|
|
|
<configLocation>src/checkstyle/nohttp-checkstyle.xml</configLocation>
|
|
|
|
<suppressionsLocation>src/checkstyle/nohttp-checkstyle-suppressions.xml</suppressionsLocation>
|
|
|
|
<propertyExpansion>main.basedir=${main.basedir}</propertyExpansion>
|
2019-06-08 11:55:55 +08:00
|
|
|
<encoding>UTF-8</encoding>
|
2019-06-08 03:05:34 +08:00
|
|
|
<sourceDirectories>${basedir}</sourceDirectories>
|
2019-06-05 05:20:25 +08:00
|
|
|
<includes>**/*</includes>
|
2019-06-18 09:48:09 +08:00
|
|
|
<excludes>**/.git/**/*,**/target/**/,**/.flattened-pom.xml,**/*.class,**/spring-boot-gradle-plugin/build/**,**/spring-boot-gradle-plugin/bin/**</excludes>
|
2018-06-05 08:25:19 +08:00
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
|
|
|
</goals>
|
2016-10-03 17:03:45 +08:00
|
|
|
<inherited>false</inherited>
|
2018-06-05 08:25:19 +08:00
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<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>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2013-08-30 13:28:34 +08:00
|
|
|
<modules>
|
2017-06-01 05:27:23 +08:00
|
|
|
<module>spring-boot-project</module>
|
2019-06-26 01:11:56 +08:00
|
|
|
<!-- Smoke tests are built via the invoker plugin -->
|
2017-06-01 05:27:23 +08:00
|
|
|
<module>spring-boot-tests</module>
|
2013-11-06 17:42:23 +08:00
|
|
|
</modules>
|
|
|
|
</profile>
|
2017-06-01 05:27:23 +08:00
|
|
|
<!-- M2E profile to allow easy import into Eclipse -->
|
2013-11-06 17:42:23 +08:00
|
|
|
<profile>
|
2017-06-01 05:27:23 +08:00
|
|
|
<id>m2e</id>
|
2013-11-06 17:42:23 +08:00
|
|
|
<activation>
|
2017-06-01 05:27:23 +08:00
|
|
|
<property>
|
|
|
|
<name>m2e.version</name>
|
|
|
|
</property>
|
2013-11-06 17:42:23 +08:00
|
|
|
</activation>
|
|
|
|
<modules>
|
2017-06-01 05:27:23 +08:00
|
|
|
<module>spring-boot-project</module>
|
|
|
|
<module>spring-boot-tests</module>
|
2013-08-30 13:28:34 +08:00
|
|
|
</modules>
|
|
|
|
</profile>
|
2017-08-05 11:38:02 +08:00
|
|
|
<profile>
|
|
|
|
<id>repository</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>repository</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>repository</id>
|
|
|
|
<url>${repository}</url>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
<pluginRepositories>
|
|
|
|
<pluginRepository>
|
|
|
|
<id>repository</id>
|
|
|
|
<url>${repository}</url>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</pluginRepository>
|
|
|
|
</pluginRepositories>
|
|
|
|
</profile>
|
2013-08-30 13:28:34 +08:00
|
|
|
</profiles>
|
2017-06-01 05:27:23 +08:00
|
|
|
<repositories>
|
|
|
|
<!-- Repositories to allow snapshot and milestone BOM imports during development.
|
|
|
|
This section is stripped by the flatten plugin during install/deploy. -->
|
|
|
|
<repository>
|
|
|
|
<id>central</id>
|
|
|
|
<url>https://repo.maven.apache.org/maven2</url>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
|
|
|
<repository>
|
|
|
|
<id>spring-milestone</id>
|
|
|
|
<name>Spring Milestone</name>
|
2018-01-04 00:07:10 +08:00
|
|
|
<url>https://repo.spring.io/milestone</url>
|
2017-06-01 05:27:23 +08:00
|
|
|
<snapshots>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
|
|
|
<repository>
|
|
|
|
<id>spring-snapshot</id>
|
|
|
|
<name>Spring Snapshot</name>
|
2018-01-04 00:07:10 +08:00
|
|
|
<url>https://repo.spring.io/snapshot</url>
|
2017-06-01 05:27:23 +08:00
|
|
|
<snapshots>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
|
|
|
<repository>
|
|
|
|
<id>rabbit-milestone</id>
|
|
|
|
<name>Rabbit Milestone</name>
|
|
|
|
<url>https://dl.bintray.com/rabbitmq/maven-milestones</url>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
<pluginRepositories>
|
|
|
|
<pluginRepository>
|
|
|
|
<id>central</id>
|
|
|
|
<url>https://repo.maven.apache.org/maven2</url>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</pluginRepository>
|
2019-10-02 20:43:34 +08:00
|
|
|
<pluginRepository>
|
2019-10-02 20:44:52 +08:00
|
|
|
<id>spring-release</id>
|
2019-10-02 20:43:34 +08:00
|
|
|
<name>Spring Release</name>
|
|
|
|
<url>https://repo.spring.io/release</url>
|
|
|
|
</pluginRepository>
|
2017-06-01 05:27:23 +08:00
|
|
|
<pluginRepository>
|
|
|
|
<id>spring-milestone</id>
|
|
|
|
<name>Spring Milestone</name>
|
2018-01-04 00:07:10 +08:00
|
|
|
<url>https://repo.spring.io/milestone</url>
|
2017-06-01 05:27:23 +08:00
|
|
|
<snapshots>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</pluginRepository>
|
|
|
|
<pluginRepository>
|
|
|
|
<id>spring-snapshot</id>
|
|
|
|
<name>Spring Snapshot</name>
|
2018-01-04 00:07:10 +08:00
|
|
|
<url>https://repo.spring.io/snapshot</url>
|
2017-06-01 05:27:23 +08:00
|
|
|
<snapshots>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</pluginRepository>
|
|
|
|
</pluginRepositories>
|
2017-11-02 06:34:19 +08:00
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
2019-11-04 23:31:43 +08:00
|
|
|
<!-- This plugin's configuration is used to store Eclipse m2e settings
|
2019-11-06 15:05:22 +08:00
|
|
|
only. It has no influence on the Maven build itself. -->
|
2017-11-02 06:34:19 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.eclipse.m2e</groupId>
|
|
|
|
<artifactId>lifecycle-mapping</artifactId>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
<configuration>
|
|
|
|
<lifecycleMappingMetadata>
|
|
|
|
<pluginExecutions>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
2019-06-28 00:42:14 +08:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
|
|
<versionRange>[1,)</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<ignore />
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<versionRange>[1,)</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>copy</goal>
|
|
|
|
<goal>copy-dependencies</goal>
|
|
|
|
<goal>unpack</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<ignore />
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<versionRange>[1,)</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<ignore />
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-invoker-plugin</artifactId>
|
|
|
|
<versionRange>[1,)</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>install</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<ignore />
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-plugin-plugin</artifactId>
|
|
|
|
<versionRange>[1,)</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>descriptor</goal>
|
|
|
|
<goal>helpmojo</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<ignore />
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>org.basepom.maven</groupId>
|
|
|
|
<artifactId>duplicate-finder-maven-plugin</artifactId>
|
|
|
|
<versionRange>[1,)</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<ignore />
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
|
|
<versionRange>[1,)</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>reserve-network-port</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<ignore />
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>flatten-maven-plugin</artifactId>
|
|
|
|
<versionRange>[1,)</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>flatten</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<ignore />
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-maven-plugin</artifactId>
|
|
|
|
<versionRange>[1,)</versionRange>
|
2017-11-02 06:34:19 +08:00
|
|
|
<goals>
|
|
|
|
<goal>compile</goal>
|
|
|
|
<goal>test-compile</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
2019-06-28 00:42:14 +08:00
|
|
|
<ignore />
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>org.jooq</groupId>
|
|
|
|
<artifactId>jooq-codegen-maven</artifactId>
|
|
|
|
<versionRange>[1,)</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>generate</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<ignore />
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
<versionRange>[1,)</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>build-info</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<ignore />
|
2017-11-02 06:34:19 +08:00
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
</pluginExecutions>
|
|
|
|
</lifecycleMappingMetadata>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
2013-04-24 17:02:07 +08:00
|
|
|
</project>
|