add git commit id to pyx.properties

This commit is contained in:
Andy Janata 2017-02-14 19:51:19 -08:00
parent eb66ccd054
commit a390743735
2 changed files with 22 additions and 0 deletions

21
pom.xml
View File

@ -12,6 +12,7 @@
<scm>
<url>https://github.com/ajanata/PretendYoureXyzzy</url>
<connection>scm:git:ssh://git@github.com/ajanata/PretendYoureXyzzy.git</connection>
</scm>
<properties>
@ -189,6 +190,26 @@
<stopKey>STOP</stopKey>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.4</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
<configuration>
<doCheck>true</doCheck>
<doUpdate>true</doUpdate>
<revisionOnScmFailure>0</revisionOnScmFailure>
<shortRevisionLength>7</shortRevisionLength>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>

View File

@ -3,3 +3,4 @@ pyx.server.include_inactive_cardsets=${pyx.include_inactive_cardsets}
pyx.server.max_users=${pyx.max_users}
pyx.server.max_games=${pyx.max_games}
pyx.server.broadcast_connects_and_disconnects=${pyx.broadcast_connects_and_disconnects}
pyx.build=${buildNumber}