mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-10-02 16:38:24 +02:00
try to fix auto version code
This commit is contained in:
parent
db67c77b33
commit
84c3b44f82
8
pom.xml
8
pom.xml
@ -141,19 +141,19 @@
|
||||
</executions>
|
||||
<configuration>
|
||||
<includes>
|
||||
<include>/target/**/AuthMe.java</include>
|
||||
<include>target/classes/**/AuthMe.java</include>
|
||||
</includes>
|
||||
<replacements>
|
||||
<replacement>
|
||||
<token>>UNKNOWNVERSION</token>
|
||||
<token>${project.version}</token>
|
||||
<value>${project.version}</value>
|
||||
</replacement>
|
||||
<replacement>
|
||||
<token>>BUILDNUMBER</token>
|
||||
<token>${buildNumber}</token>
|
||||
<value>${buildNumber}</value>
|
||||
</replacement>
|
||||
<replacement>
|
||||
<token>>PLUGINAUTHORS</token>
|
||||
<token>${pluginAuthors}</token>
|
||||
<value>${pluginAuthors}</value>
|
||||
</replacement>
|
||||
</replacements>
|
||||
|
@ -62,11 +62,11 @@ public class AuthMe extends JavaPlugin {
|
||||
/**
|
||||
* Defines the current AuthMeReloaded version name.
|
||||
*/
|
||||
private static final String PLUGIN_VERSION_NAME = ">VERSION";
|
||||
private static final String PLUGIN_VERSION_NAME = "${project.version}";
|
||||
/**
|
||||
* Defines the current AuthMeReloaded version code.
|
||||
*/
|
||||
private static final int PLUGIN_VERSION_CODE = Integer.parseInt(">BUILDNUMBER");
|
||||
private static final int PLUGIN_VERSION_CODE = Integer.parseInt("${buildNumber}");
|
||||
|
||||
private static AuthMe plugin;
|
||||
private static Server server;
|
||||
|
Loading…
Reference in New Issue
Block a user