Replace gitdescribe with Scriptus.

This commit is contained in:
md_5 2016-01-16 13:52:53 +11:00
parent 255d7fde9a
commit 7fb1f4b81f

11
pom.xml
View File

@ -101,18 +101,17 @@
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
<groupId>com.lukegb.mojo</groupId> <groupId>net.md-5</groupId>
<artifactId>gitdescribe-maven-plugin</artifactId> <artifactId>scriptus</artifactId>
<version>1.3</version> <!-- There is 2.0, but it seems broken --> <version>0.3.1</version>
<configuration> <configuration>
<outputPrefix>git:${project.name}:${project.version}:</outputPrefix> <format>git:${project.name}:${project.version}:%s:${build.number}</format>
<outputPostfix>:${build.number}</outputPostfix>
</configuration> </configuration>
<executions> <executions>
<execution> <execution>
<phase>initialize</phase> <phase>initialize</phase>
<goals> <goals>
<goal>gitdescribe</goal> <goal>describe</goal>
</goals> </goals>
</execution> </execution>
</executions> </executions>