added filter to support project stage

This commit is contained in:
2018-11-11 15:08:09 +01:00
parent 634b51b051
commit c5a70b9d11
3 changed files with 9 additions and 0 deletions

View File

@ -19,6 +19,9 @@
<timestamp>${maven.build.timestamp}</timestamp> <timestamp>${maven.build.timestamp}</timestamp>
<maven.compiler.source>10</maven.compiler.source> <maven.compiler.source>10</maven.compiler.source>
<maven.compiler.target>10</maven.compiler.target> <maven.compiler.target>10</maven.compiler.target>
<!-- defaul filter if not selected via profile -->
<filter.name>development</filter.name>
</properties> </properties>
<dependencies> <dependencies>
@ -72,6 +75,10 @@
</dependencies> </dependencies>
<build> <build>
<filters>
<filter>${basedir}/src/main/filters/${filter.name}.properties</filter>
</filters>
<resources> <resources>
<!-- fill buildinformation file --> <!-- fill buildinformation file -->
<resource> <resource>

View File

@ -0,0 +1 @@
jsf.projectStage=Development

View File

@ -0,0 +1 @@
jsf.projectStage=Production