Pom cleanup, fix output filename
This commit is contained in:
parent
dfb2d72d28
commit
f250289a1e
58
pom.xml
58
pom.xml
@ -57,7 +57,7 @@
|
|||||||
<properties>
|
<properties>
|
||||||
<!-- Project properties -->
|
<!-- Project properties -->
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<project.jdkVersion>1.8</project.jdkVersion>
|
<jdk.version>1.8</jdk.version>
|
||||||
|
|
||||||
<!-- Output properties -->
|
<!-- Output properties -->
|
||||||
<project.outputName>AuthMe</project.outputName>
|
<project.outputName>AuthMe</project.outputName>
|
||||||
@ -104,7 +104,7 @@
|
|||||||
</profiles>
|
</profiles>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<finalName>${project.outputName}-${project.version}</finalName>
|
<finalName>original-${project.outputName}-${project.version}</finalName>
|
||||||
|
|
||||||
<resources>
|
<resources>
|
||||||
<resource>
|
<resource>
|
||||||
@ -132,8 +132,8 @@
|
|||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<version>3.7.0</version>
|
<version>3.7.0</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<source>${project.jdkVersion}</source>
|
<source>${jdk.version}</source>
|
||||||
<target>${project.jdkVersion}</target>
|
<target>${jdk.version}</target>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<!-- Test Plugin -->
|
<!-- Test Plugin -->
|
||||||
@ -165,7 +165,9 @@
|
|||||||
</executions>
|
</executions>
|
||||||
<configuration>
|
<configuration>
|
||||||
<createDependencyReducedPom>false</createDependencyReducedPom>
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
||||||
<shadedArtifactAttached>true</shadedArtifactAttached>
|
<shadedArtifactAttached>true</shadedArtifactAttached>
|
||||||
|
<finalName>${project.outputName}-${project.version}</finalName>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Relocate all lib we use in order to fix class loading errors if we use different versions
|
Relocate all lib we use in order to fix class loading errors if we use different versions
|
||||||
than already loaded libs (i.e. by Mojang -> gson)
|
than already loaded libs (i.e. by Mojang -> gson)
|
||||||
@ -257,7 +259,9 @@
|
|||||||
<execution>
|
<execution>
|
||||||
<id>attach-javadocs</id>
|
<id>attach-javadocs</id>
|
||||||
<phase>deploy</phase>
|
<phase>deploy</phase>
|
||||||
<goals><goal>jar</goal></goals>
|
<goals>
|
||||||
|
<goal>jar</goal>
|
||||||
|
</goals>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
@ -269,7 +273,9 @@
|
|||||||
<execution>
|
<execution>
|
||||||
<id>deploy</id>
|
<id>deploy</id>
|
||||||
<phase>deploy</phase>
|
<phase>deploy</phase>
|
||||||
<goals><goal>deploy</goal></goals>
|
<goals>
|
||||||
|
<goal>deploy</goal>
|
||||||
|
</goals>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
@ -360,7 +366,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.google.guava</groupId>
|
<groupId>com.google.guava</groupId>
|
||||||
<artifactId>guava</artifactId>
|
<artifactId>guava</artifactId>
|
||||||
<version>23.5-jre</version>
|
<version>23.6-jre</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
<optional>true</optional>
|
<optional>true</optional>
|
||||||
</dependency>
|
</dependency>
|
||||||
@ -395,15 +401,15 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.zaxxer</groupId>
|
<groupId>com.zaxxer</groupId>
|
||||||
<artifactId>HikariCP</artifactId>
|
<artifactId>HikariCP</artifactId>
|
||||||
<version>2.7.4</version>
|
<version>2.7.6</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
|
<optional>true</optional>
|
||||||
<exclusions>
|
<exclusions>
|
||||||
<exclusion>
|
<exclusion>
|
||||||
<artifactId>slf4j-api</artifactId>
|
<artifactId>slf4j-api</artifactId>
|
||||||
<groupId>org.slf4j</groupId>
|
<groupId>org.slf4j</groupId>
|
||||||
</exclusion>
|
</exclusion>
|
||||||
</exclusions>
|
</exclusions>
|
||||||
<optional>true</optional>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- HikariCP Logger -->
|
<!-- HikariCP Logger -->
|
||||||
<dependency>
|
<dependency>
|
||||||
@ -428,6 +434,8 @@
|
|||||||
<groupId>de.mkammerer</groupId>
|
<groupId>de.mkammerer</groupId>
|
||||||
<artifactId>argon2-jvm-nolibs</artifactId>
|
<artifactId>argon2-jvm-nolibs</artifactId>
|
||||||
<version>2.3</version>
|
<version>2.3</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
<optional>true</optional>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- Spigot API, http://www.spigotmc.org/ -->
|
<!-- Spigot API, http://www.spigotmc.org/ -->
|
||||||
@ -462,6 +470,21 @@
|
|||||||
|
|
||||||
<!-- Bukkit Libraries -->
|
<!-- Bukkit Libraries -->
|
||||||
|
|
||||||
|
<!-- ConfigMe -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>ch.jalu</groupId>
|
||||||
|
<artifactId>configme</artifactId>
|
||||||
|
<version>0.4.1</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
<optional>true</optional>
|
||||||
|
<exclusions>
|
||||||
|
<exclusion>
|
||||||
|
<groupId>org.yaml</groupId>
|
||||||
|
<artifactId>snakeyaml</artifactId>
|
||||||
|
</exclusion>
|
||||||
|
</exclusions>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
<!-- bStats metrics -->
|
<!-- bStats metrics -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.bstats</groupId>
|
<groupId>org.bstats</groupId>
|
||||||
@ -736,21 +759,6 @@
|
|||||||
</exclusions>
|
</exclusions>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- ConfigMe -->
|
|
||||||
<dependency>
|
|
||||||
<groupId>ch.jalu</groupId>
|
|
||||||
<artifactId>configme</artifactId>
|
|
||||||
<version>0.4.1</version>
|
|
||||||
<scope>compile</scope>
|
|
||||||
<optional>true</optional>
|
|
||||||
<exclusions>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.yaml</groupId>
|
|
||||||
<artifactId>snakeyaml</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
</exclusions>
|
|
||||||
</dependency>
|
|
||||||
|
|
||||||
<!-- Unit Testing Libraries -->
|
<!-- Unit Testing Libraries -->
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user