Skip to content

Commit

Permalink
feat(settings): filter MPCONFIG for Maven properties IQSS#7000
Browse files Browse the repository at this point in the history
To provide built-time static settings, property files
under src/main/resources are now filtered by maven to
replace any variables ${propertyname} known by Maven
with their values before storing the file under /target.
  • Loading branch information
poikilotherm committed Jun 20, 2022
1 parent 436cd66 commit 5e63b0f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -644,6 +644,14 @@
<include>**/services/*</include>
</includes>
</resource>
<resource>
<directory>src/main/resources</directory>
<!-- Filter files matching here for Maven properties and replace -->
<filtering>true</filtering>
<includes>
<include>**/*.properties</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
Expand Down

0 comments on commit 5e63b0f

Please sign in to comment.