reduce size of the email api
This commit is contained in:
parent
8a4f2c5ef8
commit
604f2f3ee9
22
pom.xml
22
pom.xml
@ -94,6 +94,11 @@
|
|||||||
<createDependencyReducedPom>false</createDependencyReducedPom>
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
||||||
<minimizeJar>false</minimizeJar>
|
<minimizeJar>false</minimizeJar>
|
||||||
<!-- TODO: simplify these relocations if possible -->
|
<!-- TODO: simplify these relocations if possible -->
|
||||||
|
<artifactSet>
|
||||||
|
<excludes>
|
||||||
|
<exclude>com.sun:*</exclude>
|
||||||
|
</excludes>
|
||||||
|
</artifactSet>
|
||||||
<relocations>
|
<relocations>
|
||||||
<relocation>
|
<relocation>
|
||||||
<pattern>org.mcstats</pattern>
|
<pattern>org.mcstats</pattern>
|
||||||
@ -119,14 +124,14 @@
|
|||||||
<pattern>javax.activation</pattern>
|
<pattern>javax.activation</pattern>
|
||||||
<shadedPattern>fr.xephi.authme.libs.mail.activation</shadedPattern>
|
<shadedPattern>fr.xephi.authme.libs.mail.activation</shadedPattern>
|
||||||
</relocation>
|
</relocation>
|
||||||
<relocation>
|
|
||||||
<pattern>com.sun.activation</pattern>
|
|
||||||
<shadedPattern>fr.xephi.authme.libs.mail.activation</shadedPattern>
|
|
||||||
</relocation>
|
|
||||||
<relocation>
|
<relocation>
|
||||||
<pattern>com.sun.mail</pattern>
|
<pattern>com.sun.mail</pattern>
|
||||||
<shadedPattern>fr.xephi.authme.libs.mail</shadedPattern>
|
<shadedPattern>fr.xephi.authme.libs.mail</shadedPattern>
|
||||||
</relocation>
|
</relocation>
|
||||||
|
<relocation>
|
||||||
|
<pattern>com.sun.activation</pattern>
|
||||||
|
<shadedPattern>fr.xephi.authme.libs.mail.activation</shadedPattern>
|
||||||
|
</relocation>
|
||||||
<relocation>
|
<relocation>
|
||||||
<pattern>com.maxmind.geoip</pattern>
|
<pattern>com.maxmind.geoip</pattern>
|
||||||
<shadedPattern>fr.xephi.authme.libs.geoip</shadedPattern>
|
<shadedPattern>fr.xephi.authme.libs.geoip</shadedPattern>
|
||||||
@ -235,7 +240,14 @@
|
|||||||
<!-- Java Email Implementation -->
|
<!-- Java Email Implementation -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.sun.mail</groupId>
|
<groupId>com.sun.mail</groupId>
|
||||||
<artifactId>javax.mail</artifactId>
|
<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>
|
<version>1.5.4</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
<optional>true</optional>
|
<optional>true</optional>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user