Matthias Andreas Benkard | b291c36 | 2020-11-22 10:22:27 +0100 | [diff] [blame^] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | |
| 3 | <project default="package"> |
| 4 | |
| 5 | <tstamp> |
| 6 | <format property="version.date" pattern="yyyyMMddhhmmss"/> |
| 7 | </tstamp> |
| 8 | |
| 9 | <property name="version.tag" value="1.${version.date}"/> |
| 10 | |
| 11 | <target name="package" description="Create executable JAR"> |
| 12 | <exec executable="./mvnw"> |
| 13 | <arg value="package"/> |
| 14 | <arg value="-Drevision=${version.tag}"/> |
| 15 | </exec> |
| 16 | </target> |
| 17 | |
| 18 | <target name="clean"> |
| 19 | <exec executable="./mvnw"> |
| 20 | <arg value="clean"/> |
| 21 | </exec> |
| 22 | </target> |
| 23 | |
| 24 | </project> |