Skip to content

Commit

Permalink
Make version printed in logs when starting more explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
arjantijms committed Jan 20, 2018
1 parent 1d529b4 commit 1318bdc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<mojarra.logstrings.version>${project.version}</mojarra.logstrings.version>
</properties>

<build>
Expand Down Expand Up @@ -353,9 +354,13 @@
<copy todir="${project.build.directory}/generated-resources/antrun/com/sun/faces" overwrite="true" verbose="true">
<fileset dir="src/main/resources/com/sun/faces" includes="LogStrings*.properties"/>
</copy>
<!--
Replace the version placeholder in the LogStrings, so that the right
project version is used to print to log at startup
-->
<replace dir="${project.build.directory}/generated-resources/antrun"
token="|version.string|"
value="${project.version}">
value="${mojarra.logstrings.version}">
<include name="**/LogStrings*.properties"/>
</replace>

Expand Down

0 comments on commit 1318bdc

Please sign in to comment.