@ -1,5 +1,6 @@
<?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" >
<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>
@ -49,13 +50,6 @@
<include > **/application.properties</include>
</includes>
</resource>
<resource >
<directory > ${basedir}/src/main/resources</directory>
<excludes >
<exclude > **/application.yml</exclude>
<exclude > **/application.properties</exclude>
</excludes>
</resource>
</resources>
<pluginManagement >
<plugins >
@ -103,6 +97,17 @@
<mainClass > ${start-class}</mainClass>
</configuration>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-resources-plugin</artifactId>
<version > 2.6</version>
<configuration >
<delimiters >
<!-- Provide a delimiter that doesn't clash with Spring ${} placeholders -->
<delimiter > @</delimiter>
</delimiters>
</configuration>
</plugin>
<plugin >
<groupId > pl.project13.maven</groupId>
<artifactId > git-commit-id-plugin</artifactId>
@ -170,17 +175,22 @@
</goals>
<configuration >
<transformers >
<transformer implementation= "org.apache.maven.plugins.shade.resource.AppendingTransformer" >
<transformer
implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
<resource > META-INF/spring.handlers</resource>
</transformer>
<transformer implementation= "org.springframework.boot.maven.PropertiesMergingResourceTransformer" >
<transformer
implementation="org.springframework.boot.maven.PropertiesMergingResourceTransformer">
<resource > META-INF/spring.factories</resource>
</transformer>
<transformer implementation= "org.apache.maven.plugins.shade.resource.AppendingTransformer" >
<transformer
implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
<resource > META-INF/spring.schemas</resource>
</transformer>
<transformer implementation= "org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
<transformer implementation= "org.apache.maven.plugins.shade.resource.ManifestResourceTransformer" >
<transformer
implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
<transformer
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass > ${start-class}</mainClass>
</transformer>
</transformers>