|
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 2 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | + <parent> |
| 5 | + <artifactId>spring-boot-property-exp</artifactId> |
| 6 | + <groupId>com.baeldung</groupId> |
| 7 | + <version>0.0.1-SNAPSHOT</version> |
| 8 | + </parent> |
| 9 | + <modelVersion>4.0.0</modelVersion> |
| 10 | + |
| 11 | + <groupId>com.baeldung</groupId> |
| 12 | + <artifactId>property-exp-custom</artifactId> |
| 13 | + <version>0.0.1-SNAPSHOT</version> |
| 14 | + <packaging>jar</packaging> |
| 15 | + |
| 16 | + <name>property-exp-custom</name> |
| 17 | + <url>http://maven.apache.org</url> |
| 18 | + |
| 19 | + <properties> |
| 20 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 21 | + <custom.property>Custom Property Value</custom.property> |
| 22 | + </properties> |
| 23 | + |
| 24 | + <dependencies> |
| 25 | + <dependency> |
| 26 | + <groupId>org.springframework.boot</groupId> |
| 27 | + <artifactId>spring-boot-starter</artifactId> |
| 28 | + <version>1.5.4.RELEASE</version> |
| 29 | + </dependency> |
| 30 | + </dependencies> |
| 31 | + |
| 32 | + <build> |
| 33 | + <resources> |
| 34 | + <resource> |
| 35 | + <directory>${basedir}/src/main/resources</directory> |
| 36 | + <filtering>true</filtering> |
| 37 | + <includes> |
| 38 | + <include>**/application*.yml</include> |
| 39 | + <include>**/application*.yaml</include> |
| 40 | + <include>**/application*.properties</include> |
| 41 | + </includes> |
| 42 | + </resource> |
| 43 | + </resources> |
| 44 | + <plugins> |
| 45 | + <plugin> |
| 46 | + <groupId>org.apache.maven.plugins</groupId> |
| 47 | + <artifactId>maven-resources-plugin</artifactId> |
| 48 | + <version>2.7</version> |
| 49 | + <configuration> |
| 50 | + <delimiters> |
| 51 | + <delimiter>@</delimiter> |
| 52 | + </delimiters> |
| 53 | + <useDefaultDelimiters>true</useDefaultDelimiters> |
| 54 | + </configuration> |
| 55 | + </plugin> |
| 56 | + </plugins> |
| 57 | + </build> |
| 58 | + |
| 59 | + |
| 60 | +</project> |
0 commit comments