Maven stuff

This commit is contained in:
Gabriele C 2015-10-21 18:22:23 +02:00
parent 8df8e8069a
commit 63560063ec

22
pom.xml
View File

@ -86,7 +86,9 @@
<artifactId>maven-shade-plugin</artifactId> <artifactId>maven-shade-plugin</artifactId>
<version>2.4.1</version> <version>2.4.1</version>
<configuration> <configuration>
<artifactSet> <createDependencyReducedPom>false</createDependencyReducedPom>
<minimizeJar>true</minimizeJar>
<!-- <artifactSet>
<includes> <includes>
<include>com.zaxxer:HikariCP</include> <include>com.zaxxer:HikariCP</include>
<include>org.slf4j:slf4j-jdk14</include> <include>org.slf4j:slf4j-jdk14</include>
@ -97,7 +99,7 @@
<include>org.mcstats.bukkit:metrics</include> <include>org.mcstats.bukkit:metrics</include>
<include>com.google.code.gson:gson</include> <include>com.google.code.gson:gson</include>
</includes> </includes>
</artifactSet> </artifactSet> -->
<relocations> <relocations>
<relocation> <relocation>
<pattern>org.mcstats</pattern> <pattern>org.mcstats</pattern>
@ -167,18 +169,17 @@
<url>http://repo.luricos.de/content/repositories/releases</url> <url>http://repo.luricos.de/content/repositories/releases</url>
</repository> </repository>
<!-- Xephi Repo <!-- Xephi Repo (Metrics)-->
<repository> <repository>
<id>xephi-repo</id> <id>xephi-repo</id>
<url>http://ci.xephi.fr/plugin/repository/everything/</url> <url>http://ci.xephi.fr/plugin/repository/everything/</url>
</repository> </repository>
-->
<!-- Metrics Snapshots Repo --> <!-- Metrics Snapshots Repo (Too instable! 60% UPTIME)
<repository> <repository>
<id>mcstats-snapshots</id> <id>mcstats-snapshots</id>
<url>http://repo.mcstats.org/content/repositories/snapshots/</url> <url>http://repo.mcstats.org/content/repositories/snapshots/</url>
</repository> </repository> -->
</repositories> </repositories>
@ -212,6 +213,7 @@
<dependency> <dependency>
<groupId>org.apache.logging.log4j</groupId> <groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId> <artifactId>log4j-core</artifactId>
<!-- Can't use newer versions due to api changes! -->
<version>2.0-beta9</version> <version>2.0-beta9</version>
<scope>provided</scope> <scope>provided</scope>
<optional>true</optional> <optional>true</optional>
@ -226,14 +228,14 @@
<optional>true</optional> <optional>true</optional>
</dependency> </dependency>
<!-- Java Email API and Implementation --> <!-- Java Email API and Implementation
<dependency> <dependency>
<groupId>javax.mail</groupId> <groupId>javax.mail</groupId>
<artifactId>javax.mail-api</artifactId> <artifactId>javax.mail-api</artifactId>
<version>1.5.4</version> <version>1.5.4</version>
<scope>compile</scope> <scope>compile</scope>
<optional>true</optional> <optional>true</optional>
</dependency> </dependency> -->
<dependency> <dependency>
<groupId>com.sun.mail</groupId> <groupId>com.sun.mail</groupId>
<artifactId>javax.mail</artifactId> <artifactId>javax.mail</artifactId>
@ -298,6 +300,10 @@
<artifactId>json-simple</artifactId> <artifactId>json-simple</artifactId>
<groupId>com.googlecode.json-simple</groupId> <groupId>com.googlecode.json-simple</groupId>
</exclusion> </exclusion>
<exclusion>
<artifactId>gson</artifactId>
<groupId>com.google.code.gson</groupId>
</exclusion>
<exclusion> <exclusion>
<artifactId>persistence-api</artifactId> <artifactId>persistence-api</artifactId>
<groupId>javax.persistence</groupId> <groupId>javax.persistence</groupId>