include mcstats in jar file when packaging with maven

This commit is contained in:
Paul Schulze 2013-11-23 15:11:13 +01:00
parent 28cacfdb19
commit 5af520f8ea

26
pom.xml
View File

@ -21,7 +21,7 @@
<url>https://www.gnu.org/licenses/lgpl-3.0-standalone.html</url> <url>https://www.gnu.org/licenses/lgpl-3.0-standalone.html</url>
<distribution>repo</distribution> <distribution>repo</distribution>
</license> </license>
</licenses> </licenses>
<build> <build>
@ -65,6 +65,26 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>1.7.1</version>
<configuration>
<artifactSet>
<includes>
<include>org.mcstats.bukkit:metrics</include>
</includes>
</artifactSet>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins> </plugins>
</build> </build>
@ -81,7 +101,7 @@
<dependency> <dependency>
<groupId>net.milkbowl.vault</groupId> <groupId>net.milkbowl.vault</groupId>
<artifactId>Vault</artifactId> <artifactId>Vault</artifactId>
<version>1.2.26-SNAPSHOT</version> <version>1.2.27-SNAPSHOT</version>
<type>jar</type> <type>jar</type>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
@ -89,7 +109,7 @@
<dependency> <dependency>
<groupId>org.mcstats.bukkit</groupId> <groupId>org.mcstats.bukkit</groupId>
<artifactId>metrics</artifactId> <artifactId>metrics</artifactId>
<version>R6</version> <version>R8-SNAPSHOT</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>