diff --git a/pom.xml b/pom.xml index f247c2057..d1af1e89f 100644 --- a/pom.xml +++ b/pom.xml @@ -35,6 +35,17 @@ https://github.com/AuthMe/AuthMeReloaded/issues + + + codemc-snapshots + https://repo.codemc.org/repository/maven-snapshots/ + + + codemc-releases + https://repo.codemc.org/repository/maven-releases/ + + + The GNU General Public Licence version 3 (GPLv3) @@ -46,15 +57,17 @@ UTF-8 + UTF-8 1.8 + AuthMe CUSTOM false ${project.version}-b${project.buildNumber} - AuthMe + ${project.outputName} ${project.versionCode} ${project.groupId}.${project.artifactId}.${bukkitplugin.name} Xephi, sgdc3, DNx5, timvisee, games647, ljacqu, Gnat008 @@ -92,6 +105,9 @@ + clean install + ${project.outputName}-${project.version} + . @@ -112,7 +128,16 @@ - + + org.apache.maven.plugins + maven-clean-plugin + 3.0.0 + + + org.apache.maven.plugins + maven-resources-plugin + 3.0.2 + org.apache.maven.plugins maven-compiler-plugin @@ -122,7 +147,25 @@ ${jdk.version} - + + org.jacoco + jacoco-maven-plugin + 0.8.0 + + + pre-unit-test + + prepare-agent + + + + post-unit-test + + report + + + + org.apache.maven.plugins maven-surefire-plugin @@ -135,13 +178,47 @@ - + + org.apache.maven.plugins + maven-jar-plugin + 3.0.2 + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.10.4 + + + attach-javadocs + + aggregate + jar + + + + + public + false + + + + org.apache.maven.plugins + maven-source-plugin + 3.0.1 + + + attach-sources + + jar + + + + org.apache.maven.plugins maven-shade-plugin 3.1.0 - package @@ -206,48 +283,36 @@ - - org.jacoco - jacoco-maven-plugin - 0.8.0 - - - prepare-agent - - prepare-agent - - - + org.apache.maven.plugins + maven-install-plugin + 2.5.2 + + pom.xml + original-${project.outputName}.jar + ${project.outputName}-javadoc.jar + ${project.outputName}-sources.jar + + + + org.apache.maven.plugins + maven-deploy-plugin + 2.8.2 + + pom.xml + original-${project.outputName}.jar + ${project.outputName}-javadoc.jar + ${project.outputName}-sources.jar + - org.eluder.coveralls coveralls-maven-plugin 4.3.0 + false - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.10.4 - - public - false - - - - attach-javadocs - deploy - - jar - - - diff --git a/src/main/java/fr/xephi/authme/datasource/SQLite.java b/src/main/java/fr/xephi/authme/datasource/SQLite.java index 4924e0cc0..422d57b17 100644 --- a/src/main/java/fr/xephi/authme/datasource/SQLite.java +++ b/src/main/java/fr/xephi/authme/datasource/SQLite.java @@ -41,6 +41,7 @@ public class SQLite implements DataSource { * Constructor for SQLite. * * @param settings The settings instance + * @param dataFolder The data folder * * @throws SQLException when initialization of a SQL datasource failed */ diff --git a/src/main/java/fr/xephi/authme/permission/PermissionsManager.java b/src/main/java/fr/xephi/authme/permission/PermissionsManager.java index 734331fd8..ef9d8bdde 100644 --- a/src/main/java/fr/xephi/authme/permission/PermissionsManager.java +++ b/src/main/java/fr/xephi/authme/permission/PermissionsManager.java @@ -50,14 +50,8 @@ public class PermissionsManager implements Reloadable { */ private PermissionHandler handler = null; - /** - * Constructor. - * - * @param server Server instance - * @param pluginManager Bukkit plugin manager - */ @Inject - public PermissionsManager(Server server, PluginManager pluginManager, Settings settings) { + PermissionsManager(Server server, PluginManager pluginManager, Settings settings) { this.server = server; this.pluginManager = pluginManager; this.settings = settings;