mirror of
https://github.com/nikdoof/bukkitxmpp.git
synced 2025-12-13 09:42:14 +00:00
Use Shade to include dependencies in the final JAR.
This commit is contained in:
30
pom.xml
30
pom.xml
@@ -82,10 +82,40 @@
|
||||
<Implementation-Title>BukkitXMPP</Implementation-Title>
|
||||
<Implementation-Version>${describe}</Implementation-Version>
|
||||
<Implementation-Vendor>Matalok</Implementation-Vendor>
|
||||
<Sealed>true</Sealed>
|
||||
</manifestEntries>
|
||||
<manifestSections>
|
||||
<manifestSection>
|
||||
<name>com/pleaseignore/BukkitXMPP/</name>
|
||||
<manifestEntries>
|
||||
<Sealed>true</Sealed>
|
||||
</manifestEntries>
|
||||
</manifestSection>
|
||||
</manifestSections>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
<version>1.4</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>shade</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<artifactSet>
|
||||
<excludes>
|
||||
<exclude>junit:junit</exclude>
|
||||
<exclude>org.bukkit:*</exclude>
|
||||
</excludes>
|
||||
</artifactSet>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
|
||||
Reference in New Issue
Block a user