parent-springboot-pom
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>cn.t</groupId> <artifactId>parent-springboot-pom</artifactId> <version>1.0.0.RELEASE</version> </dependency>
<?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"> <parent> <groupId>cn.t</groupId> <artifactId>parent-lib-pom</artifactId> <version>1.0.0.RELEASE</version> <relativePath/> </parent> <modelVersion>4.0.0</modelVersion> <packaging>pom</packaging> <artifactId>parent-springboot-pom</artifactId> <name>parent-springboot-pom</name> <description>parent-springboot-pom</description> <properties> <resource.delimiter>@</resource.delimiter> <maven.deploy.skip>true</maven.deploy.skip> <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format> </properties> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <configuration> <delimiters> <delimiter>${resource.delimiter}</delimiter> </delimiters> <useDefaultDelimiters>false</useDefaultDelimiters> </configuration> </plugin> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <executions> <execution> <id>repackage</id> <goals> <goal>repackage</goal> </goals> </execution> </executions> </plugin> </plugins> <pluginManagement> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <version>${spring-boot.version}</version> </plugin> </plugins> </pluginManagement> <resources> <resource> <filtering>true</filtering> <directory>${basedir}/src/main/resources</directory> <includes> <include>**/application*.yml</include> <include>**/application*.yaml</include> <include>**/application*.properties</include> <include>**/bootstrap*.yml</include> <include>**/bootstrap*.yaml</include> <include>**/bootstrap*.properties</include> </includes> </resource> <resource> <directory>${basedir}/src/main/resources</directory> <excludes> <exclude>**/application*.yml</exclude> <exclude>**/application*.yaml</exclude> <exclude>**/application*.properties</exclude> <exclude>**/bootstrap*.yml</exclude> <exclude>**/bootstrap*.yaml</exclude> <exclude>**/bootstrap*.properties</exclude> </excludes> </resource> </resources> </build> </project>