2019-01-11 23:59:00 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2019-03-17 00:00:50 +08:00
|
|
|
<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">
|
2013-07-11 07:20:57 +08:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2013-08-03 12:48:19 +08:00
|
|
|
<parent>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
2019-01-11 23:59:00 +08:00
|
|
|
<version>1.5.20.BUILD-SNAPSHOT</version>
|
2013-08-03 12:48:19 +08:00
|
|
|
<relativePath>../../spring-boot-dependencies</relativePath>
|
|
|
|
</parent>
|
2013-07-31 07:20:36 +08:00
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
2013-07-11 07:20:57 +08:00
|
|
|
<packaging>pom</packaging>
|
2014-04-01 16:10:51 +08:00
|
|
|
<name>Spring Boot Starter Parent</name>
|
2016-03-30 00:19:29 +08:00
|
|
|
<description>Parent pom providing dependency and plugin management for applications
|
|
|
|
built with Maven</description>
|
2019-03-17 00:00:50 +08:00
|
|
|
<url>https://projects.spring.io/spring-boot/</url>
|
2014-04-01 16:10:51 +08:00
|
|
|
<organization>
|
|
|
|
<name>Pivotal Software, Inc.</name>
|
2019-03-17 00:00:50 +08:00
|
|
|
<url>https://www.spring.io</url>
|
2014-04-01 16:10:51 +08:00
|
|
|
</organization>
|
2013-07-11 07:20:57 +08:00
|
|
|
<properties>
|
2014-11-20 02:04:59 +08:00
|
|
|
<java.version>1.6</java.version>
|
2014-11-03 21:01:51 +08:00
|
|
|
<resource.delimiter>@</resource.delimiter> <!-- delimiter that doesn't clash with Spring ${} placeholders -->
|
2014-02-28 16:27:21 +08:00
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
2014-10-11 02:01:30 +08:00
|
|
|
<maven.compiler.source>${java.version}</maven.compiler.source>
|
|
|
|
<maven.compiler.target>${java.version}</maven.compiler.target>
|
2013-07-11 07:20:57 +08:00
|
|
|
</properties>
|
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
2013-08-19 22:36:02 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-core</artifactId>
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
2013-07-11 07:20:57 +08:00
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
<build>
|
2013-08-03 12:48:19 +08:00
|
|
|
<!-- Turn on filtering by default for application properties -->
|
2013-07-18 16:16:36 +08:00
|
|
|
<resources>
|
|
|
|
<resource>
|
2014-05-30 23:37:29 +08:00
|
|
|
<directory>${basedir}/src/main/resources</directory>
|
2013-07-18 16:16:36 +08:00
|
|
|
<filtering>true</filtering>
|
|
|
|
<includes>
|
2016-01-26 17:53:07 +08:00
|
|
|
<include>**/application*.yml</include>
|
2017-02-07 16:49:07 +08:00
|
|
|
<include>**/application*.yaml</include>
|
2016-01-26 17:53:07 +08:00
|
|
|
<include>**/application*.properties</include>
|
2013-07-18 16:16:36 +08:00
|
|
|
</includes>
|
|
|
|
</resource>
|
2014-11-03 21:01:51 +08:00
|
|
|
<resource>
|
|
|
|
<directory>${basedir}/src/main/resources</directory>
|
|
|
|
<excludes>
|
2016-01-26 17:53:07 +08:00
|
|
|
<exclude>**/application*.yml</exclude>
|
2017-02-07 16:49:07 +08:00
|
|
|
<exclude>**/application*.yaml</exclude>
|
2016-01-26 17:53:07 +08:00
|
|
|
<exclude>**/application*.properties</exclude>
|
2014-11-03 21:01:51 +08:00
|
|
|
</excludes>
|
|
|
|
</resource>
|
2013-07-18 16:16:36 +08:00
|
|
|
</resources>
|
2013-07-11 07:20:57 +08:00
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
2013-08-03 12:48:19 +08:00
|
|
|
<!-- Apply more sensible defaults for user projects -->
|
2016-01-26 16:59:37 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>integration-test</goal>
|
|
|
|
<goal>verify</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2013-07-11 07:20:57 +08:00
|
|
|
<plugin>
|
2014-05-03 06:03:31 +08:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2013-07-11 07:20:57 +08:00
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
2013-07-20 00:30:45 +08:00
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<mainClass>${start-class}</mainClass>
|
2015-01-01 00:48:10 +08:00
|
|
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
2013-07-20 00:30:45 +08:00
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
2013-07-11 07:20:57 +08:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2014-05-03 06:03:31 +08:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2013-07-11 07:20:57 +08:00
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
2013-07-14 13:46:45 +08:00
|
|
|
<configuration>
|
|
|
|
<includes>
|
|
|
|
<include>**/*Tests.java</include>
|
|
|
|
<include>**/*Test.java</include>
|
|
|
|
</includes>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/Abstract*.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
2013-07-11 07:20:57 +08:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2014-05-03 06:03:31 +08:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2013-07-11 07:20:57 +08:00
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
2013-07-20 00:30:45 +08:00
|
|
|
<configuration>
|
2013-07-22 20:38:00 +08:00
|
|
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
2013-07-20 00:30:45 +08:00
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<mainClass>${start-class}</mainClass>
|
2015-01-01 00:48:10 +08:00
|
|
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
2013-07-20 00:30:45 +08:00
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
2013-07-11 07:20:57 +08:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
2013-08-03 12:48:19 +08:00
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
2013-11-25 22:17:57 +08:00
|
|
|
<mainClass>${start-class}</mainClass>
|
2013-08-03 12:48:19 +08:00
|
|
|
</configuration>
|
2013-07-11 07:20:57 +08:00
|
|
|
</plugin>
|
2014-11-03 19:10:33 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<delimiters>
|
2014-11-03 21:01:51 +08:00
|
|
|
<delimiter>${resource.delimiter}</delimiter>
|
2014-11-03 19:10:33 +08:00
|
|
|
</delimiters>
|
2015-10-13 17:41:23 +08:00
|
|
|
<useDefaultDelimiters>false</useDefaultDelimiters>
|
2014-11-03 19:10:33 +08:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2013-07-18 16:16:36 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>pl.project13.maven</groupId>
|
|
|
|
<artifactId>git-commit-id-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>revision</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<verbose>true</verbose>
|
|
|
|
<dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat>
|
|
|
|
<generateGitPropertiesFile>true</generateGitPropertiesFile>
|
2014-10-22 20:33:48 +08:00
|
|
|
<generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename>
|
2013-07-18 16:16:36 +08:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2013-08-03 12:48:19 +08:00
|
|
|
<!-- Support our own plugin -->
|
2013-07-18 09:10:49 +08:00
|
|
|
<plugin>
|
2013-07-26 18:50:02 +08:00
|
|
|
<groupId>org.springframework.boot</groupId>
|
2013-07-27 00:54:59 +08:00
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
2013-07-18 09:10:49 +08:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
2013-07-30 05:52:30 +08:00
|
|
|
<goal>repackage</goal>
|
2013-07-18 09:10:49 +08:00
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2013-07-23 17:51:11 +08:00
|
|
|
<configuration>
|
|
|
|
<mainClass>${start-class}</mainClass>
|
|
|
|
</configuration>
|
2013-07-18 09:10:49 +08:00
|
|
|
</plugin>
|
2016-01-17 19:40:14 +08:00
|
|
|
<!-- Support shade packaging (if the user does not want to use our plugin) -->
|
2013-07-11 07:20:57 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
2013-07-26 18:50:02 +08:00
|
|
|
<groupId>org.springframework.boot</groupId>
|
2013-07-30 05:52:30 +08:00
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
2019-01-12 00:20:19 +08:00
|
|
|
<version>1.5.20.BUILD-SNAPSHOT</version>
|
2013-07-11 07:20:57 +08:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<configuration>
|
|
|
|
<keepDependenciesWithProvidedScope>true</keepDependenciesWithProvidedScope>
|
|
|
|
<createDependencyReducedPom>true</createDependencyReducedPom>
|
|
|
|
<filters>
|
|
|
|
<filter>
|
|
|
|
<artifact>*:*</artifact>
|
|
|
|
<excludes>
|
|
|
|
<exclude>META-INF/*.SF</exclude>
|
|
|
|
<exclude>META-INF/*.DSA</exclude>
|
|
|
|
<exclude>META-INF/*.RSA</exclude>
|
|
|
|
</excludes>
|
|
|
|
</filter>
|
|
|
|
</filters>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<transformers>
|
2014-11-03 21:01:51 +08:00
|
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
|
2013-07-11 07:20:57 +08:00
|
|
|
<resource>META-INF/spring.handlers</resource>
|
|
|
|
</transformer>
|
2014-11-03 21:01:51 +08:00
|
|
|
<transformer implementation="org.springframework.boot.maven.PropertiesMergingResourceTransformer">
|
2013-07-11 07:20:57 +08:00
|
|
|
<resource>META-INF/spring.factories</resource>
|
|
|
|
</transformer>
|
2014-11-03 21:01:51 +08:00
|
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
|
2013-07-11 07:20:57 +08:00
|
|
|
<resource>META-INF/spring.schemas</resource>
|
|
|
|
</transformer>
|
2019-01-11 23:59:00 +08:00
|
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
|
2014-11-03 21:01:51 +08:00
|
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
2013-07-11 07:20:57 +08:00
|
|
|
<mainClass>${start-class}</mainClass>
|
|
|
|
</transformer>
|
|
|
|
</transformers>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
2019-01-11 23:59:00 +08:00
|
|
|
</project>
|