Cleaned pom.xml

This commit is contained in:
stijnb1234 2020-02-16 18:54:33 +01:00
parent 70b1af39e8
commit 06f8bd6c57
2 changed files with 24 additions and 35 deletions

57
pom.xml
View file

@ -1,21 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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> <modelVersion>4.0.0</modelVersion>
<groupId>nl.SBDeveloper</groupId> <groupId>nl.SBDeveloper</groupId>
<artifactId>V10Lift2</artifactId> <artifactId>V10Lift2</artifactId>
<packaging>jar</packaging>
<name>V10Lift</name> <name>V10Lift</name>
<version>0.5.1</version> <version>0.5.1</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<distributionManagement> <distributionManagement>
<repository> <repository>
<id>iobyte-nexus</id> <id>iobyte-nexus</id>
@ -23,9 +14,14 @@
</repository> </repository>
</distributionManagement> </distributionManagement>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<build> <build>
<directory>target</directory> <!-- Include yml files -->
<finalName>V10Lift v${project.version}</finalName>
<resources> <resources>
<resource> <resource>
<targetPath>.</targetPath> <targetPath>.</targetPath>
@ -44,14 +40,16 @@
</includes> </includes>
</resource> </resource>
</resources> </resources>
<directory>target</directory>
<finalName>V10Lift v${project.version}</finalName>
<plugins> <plugins>
<!-- Clean -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId> <artifactId>maven-clean-plugin</artifactId>
<version>3.1.0</version> <version>3.1.0</version>
</plugin> </plugin>
<!-- Shade JAR -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId> <artifactId>maven-shade-plugin</artifactId>
<version>3.2.2</version> <version>3.2.2</version>
<executions> <executions>
@ -64,14 +62,15 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<!-- Compile JAR -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version> <version>3.8.1</version>
<configuration> <configuration>
<compilerArgument>-parameters</compilerArgument> <compilerArgument>-parameters</compilerArgument>
</configuration> </configuration>
</plugin> </plugin>
<!-- Delombok the source for the javadoc -->
<plugin> <plugin>
<groupId>org.projectlombok</groupId> <groupId>org.projectlombok</groupId>
<artifactId>lombok-maven-plugin</artifactId> <artifactId>lombok-maven-plugin</artifactId>
@ -85,8 +84,8 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<!-- Build the javadoc -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId> <artifactId>maven-javadoc-plugin</artifactId>
<version>3.1.1</version> <version>3.1.1</version>
<configuration> <configuration>
@ -96,14 +95,15 @@
</sourceFileIncludes> </sourceFileIncludes>
</configuration> </configuration>
</plugin> </plugin>
<!-- SKIP the maven deploy -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId> <artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version> <version>2.8.2</version>
<configuration> <configuration>
<skip>true</skip> <skip>true</skip>
</configuration> </configuration>
</plugin> </plugin>
<!-- Deploy to nexus -->
<plugin> <plugin>
<groupId>org.sonatype.plugins</groupId> <groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId> <artifactId>nexus-staging-maven-plugin</artifactId>
@ -138,39 +138,31 @@
</repositories> </repositories>
<dependencies> <dependencies>
<!-- Spigot dependency -->
<dependency> <dependency>
<groupId>org.spigotmc</groupId> <groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId> <artifactId>spigot-api</artifactId>
<version>1.15.2-R0.1-SNAPSHOT</version> <version>1.15.2-R0.1-SNAPSHOT</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId> <!-- Lombok, used for the objects -->
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
</dependency>
<dependency>
<groupId>com.zaxxer</groupId>
<artifactId>HikariCP</artifactId>
<version>3.4.2</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>1.7.30</version>
</dependency>
<dependency> <dependency>
<groupId>org.projectlombok</groupId> <groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId> <artifactId>lombok</artifactId>
<version>1.18.12</version> <version>1.18.12</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<!-- SBUtilities, our own Util dependency, used for all sort of things -->
<dependency> <dependency>
<groupId>nl.SBDevelopment</groupId> <groupId>nl.SBDevelopment</groupId>
<artifactId>SBUtilities</artifactId> <artifactId>SBUtilities</artifactId>
<version>1.1</version> <version>1.1</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<!-- Jackson, used for Object to JSON -->
<dependency> <dependency>
<groupId>com.fasterxml.jackson.core</groupId> <groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId> <artifactId>jackson-databind</artifactId>
@ -183,5 +175,4 @@
</dependency> </dependency>
</dependencies> </dependencies>
</project> </project>

View file

@ -16,8 +16,6 @@ import org.bukkit.plugin.java.JavaPlugin;
import java.sql.SQLException; import java.sql.SQLException;
import java.util.Objects; import java.util.Objects;
import java.util.logging.Level;
import java.util.logging.Logger;
public class V10LiftPlugin extends JavaPlugin { public class V10LiftPlugin extends JavaPlugin {