Fix Loss src file...

Signed-off-by: j502647092 <jtb1@163.com>
pull/1/MERGE
j502647092 2015-04-29 10:41:14 +08:00
parent d6a6402511
commit 11a919e8c1
4 changed files with 102 additions and 99 deletions

201
pom.xml
View File

@ -1,101 +1,104 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.me.tft_02.soulbound</groupId>
<artifactId>Soulbound</artifactId>
<version>1.1.10-SNAPSHOT</version>
<name>Soulbound</name>
<url>https://github.com/TfT-02/Soulbound</url>
<issueManagement>
<system>GitHub</system>
<url>https://github.com/TfT-02/Soulbound/issues</url>
</issueManagement>
<build>
<finalName>Soulbound</finalName>
<sourceDirectory>${basedir}/src/main/java</sourceDirectory>
<resources>
<resource>
<targetPath>.</targetPath>
<filtering>true</filtering>
<directory>${basedir}/src/</directory>
<includes>
<include>*.yml</include>
<include>.jenkins</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.0</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>1.5</version>
<configuration>
<artifactSet>
<includes>
<include>org.mcstats.bukkit:metrics</include>
<include>org.nunnerycode.bukkit:mythicdropsapi-lib</include>
</includes>
</artifactSet>
<relocations>
<relocation>
<pattern>org.mcstats.bukkit</pattern>
<shadedPattern>com.me.tft_02.soulbound.util</shadedPattern>
</relocation>
<relocation>
<pattern>org.nunnerycode.bukkit</pattern>
<shadedPattern>com.me.tft_02.soulbound.util</shadedPattern>
</relocation>
</relocations>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>spigot-repo</id>
<url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
</repository>
<repository>
<id>Plugin Metrics</id>
<url>http://repo.mcstats.org/content/repositories/public</url>
</repository>
<repository>
<id>mythicdrops-repo</id>
<url>http://repository-topplethenun.forge.cloudbees.com/snapshot/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>1.8-R0.1-SNAPSHOT</version>
<type>jar</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.mcstats.bukkit</groupId>
<artifactId>metrics</artifactId>
<version>R7</version>
<scope>compile</scope>
</dependency>
</dependencies>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.me.tft_02.soulbound</groupId>
<artifactId>Soulbound</artifactId>
<version>1.1.10-SNAPSHOT</version>
<name>Soulbound</name>
<url>https://github.com/TfT-02/Soulbound</url>
<issueManagement>
<system>GitHub</system>
<url>https://github.com/TfT-02/Soulbound/issues</url>
</issueManagement>
<build>
<sourceDirectory>src</sourceDirectory>
<resources>
<resource>
<directory>src/main/java</directory>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.0</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>1.5</version>
<configuration>
<artifactSet>
<includes>
<include>org.mcstats.bukkit:metrics</include>
<include>org.nunnerycode.bukkit:mythicdropsapi-lib</include>
</includes>
</artifactSet>
<relocations>
<relocation>
<pattern>org.mcstats.bukkit</pattern>
<shadedPattern>com.me.tft_02.soulbound.util</shadedPattern>
</relocation>
<relocation>
<pattern>org.nunnerycode.bukkit</pattern>
<shadedPattern>com.me.tft_02.soulbound.util</shadedPattern>
</relocation>
</relocations>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>spigot-repo</id>
<url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
</repository>
<repository>
<id>Plugin Metrics</id>
<url>http://repo.mcstats.org/content/repositories/public</url>
</repository>
<repository>
<id>mythicdrops-repo</id>
<url>http://repository-topplethenun.forge.cloudbees.com/snapshot/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>1.8-R0.1-SNAPSHOT</version>
<type>jar</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.mcstats.bukkit</groupId>
<artifactId>metrics</artifactId>
<version>R7</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.nunnerycode.bukkit</groupId>
<artifactId>mythicdropsapi-lib</artifactId>
<version>1.0.0-SNAPSHOT</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
</dependencies>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
</project>