This commit is contained in:
Gabriele C 2015-11-24 21:13:09 +01:00
parent 28e742e42f
commit 43b9462ddc
4 changed files with 600 additions and 609 deletions

View File

@ -3,6 +3,7 @@
<component name="ProjectCodeStyleSettingsManager">
<option name="PER_PROJECT_SETTINGS">
<value>
<option name="AUTODETECT_INDENTS" value="false" />
<option name="LINE_SEPARATOR" value="&#10;" />
<option name="JD_ADD_BLANK_AFTER_PARM_COMMENTS" value="true" />
<option name="JD_ADD_BLANK_AFTER_RETURN" value="true" />
@ -12,6 +13,5 @@
</value>
</option>
<option name="USE_PER_PROJECT_SETTINGS" value="true" />
<option name="PREFERRED_PROJECT_CODE_STYLE" value="GoogleStyle" />
</component>
</project>

29
pom.xml
View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
@ -42,9 +42,15 @@
</license>
</licenses>
<prerequisites>
<maven>3.3.3</maven>
</prerequisites>
<properties>
<!-- Project Properties -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- Project Properties -->
<pluginName>AuthMe</pluginName>
<mainClass>fr.xephi.authme.AuthMe</mainClass>
<buildNumber>100</buildNumber>
<pluginAuthors>[Xephi, sgdc3, DNx5, timvisee, games647, ljacqu]</pluginAuthors>
@ -97,6 +103,7 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<optimize>true</optimize>
<source>1.7</source>
<target>${javaVersion}</target>
</configuration>
@ -238,21 +245,7 @@
<optional>true</optional>
</dependency>
<!-- Java Email Implementation -->
<dependency>
<groupId>com.sun.mail</groupId>
<artifactId>mailapi</artifactId>
<version>1.5.4</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.sun.mail</groupId>
<artifactId>smtp</artifactId>
<version>1.5.4</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
<!-- Java Email Library -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-email</artifactId>
@ -442,7 +435,7 @@
<groupId>com.fernferret.allpay</groupId>
</exclusion>
<exclusion>
<artifactId>Vault</artifactId>
<artifactId>VaultAPI</artifactId>
<groupId>net.milkbowl.vault</groupId>
</exclusion>
<exclusion>

View File

@ -24,7 +24,6 @@ import fr.xephi.authme.settings.Messages;
import fr.xephi.authme.settings.OtherAccounts;
import fr.xephi.authme.settings.Settings;
import fr.xephi.authme.settings.Spawn;
import fr.xephi.authme.AntiBot;
import fr.xephi.authme.util.GeoLiteAPI;
import fr.xephi.authme.util.Utils;
import net.minelink.ctplus.CombatTagPlus;
@ -70,7 +69,6 @@ public class AuthMe extends JavaPlugin {
* Defines the current AuthMeReloaded version code.
*/
// TODO: Increase this number by one when an update is release
// TODO: Increase the count via maven
private static final int PLUGIN_VERSION_CODE = 100;
private static AuthMe plugin;

View File

@ -1,4 +1,4 @@
name: AuthMe
name: ${pluginName}
authors: ${pluginAuthors}
website: ${project.url}
description: ${project.description}