springboot之maven属性引入-LMLPHP

<plugin>
	<groupId>org.apache.maven.plugins</groupId>
	<artifactId>maven-resources-plugin</artifactId>
	<version>2.7</version>
	<configuration>
		<delimiters>
			<delimiter>@</delimiter>
		</delimiters>
		<useDefaultDelimiters>false</useDefaultDelimiters>
	</configuration>
</plugin>
<resources>
	<resource>
		<directory>src/main/resources</directory>
		<filtering>true</filtering>
	</resource>
</resources>
[email protected]@
[email protected]@

springboot之maven属性引入-LMLPHP

参考链接:

  1. https://docs.spring.io/spring-boot/docs/current/reference/html/howto-properties-and-configuration.html
  2. https://www.cnblogs.com/baoyi/p/SpringBoot_YML.html
06-27 15:28