mirror of
https://github.com/Phoenix616/RandomTeleport.git
synced 2024-11-22 10:36:00 +01:00
Move to simpler dynamic version generation
This commit is contained in:
parent
030f334c8a
commit
5bdfba4d66
@ -13,6 +13,7 @@
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<build.number>${buildNumber}</build.number>
|
||||
<minecraft.plugin.version>${project.version} ${buildDescription}</minecraft.plugin.version>
|
||||
</properties>
|
||||
|
||||
<repositories>
|
||||
@ -116,28 +117,6 @@
|
||||
<directory>${project.basedir}/src/main/resources</directory>
|
||||
</resource>
|
||||
</resources>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<version>1.9.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>regex-property</id>
|
||||
<goals>
|
||||
<goal>regex-property</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<name>minecraft.plugin.version</name>
|
||||
<value>${project.version} ${buildDescription}</value>
|
||||
<regex>[0-9\.]+ \(.+\)</regex>
|
||||
<replacement>${project.version}</replacement>
|
||||
<failIfNoMatch>false</failIfNoMatch>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
Loading…
Reference in New Issue
Block a user