2017-07-06 10:17:54 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<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>gg.frog.mc</groupId>
|
|
|
|
<artifactId>permissionstime</artifactId>
|
2017-07-11 21:21:26 +00:00
|
|
|
<version>0.0.1-TEST</version>
|
2017-07-06 10:17:54 +00:00
|
|
|
<packaging>jar</packaging>
|
|
|
|
<name>PermissionsTime</name>
|
|
|
|
<description>支持跨服的权限限时插件</description>
|
|
|
|
<organization>
|
|
|
|
<url>https://github.com/geekfrog</url>
|
|
|
|
<name>GeekFrog</name>
|
|
|
|
</organization>
|
|
|
|
<url>https://github.com/geekfrog/PermissionsTime/</url>
|
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
</properties>
|
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>spigotmc-repo</id>
|
|
|
|
<url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
|
|
|
|
</repository>
|
2017-07-10 02:45:18 +00:00
|
|
|
<repository>
|
|
|
|
<id>dakani</id>
|
|
|
|
<name>Dakani Nexus Repo</name>
|
|
|
|
<url>https://repo.dakanilabs.com/repository/public/</url>
|
|
|
|
</repository>
|
|
|
|
<repository>
|
|
|
|
<id>vault-repo</id>
|
|
|
|
<url>http://nexus.hc.to/content/repositories/pub_releases/</url>
|
|
|
|
</repository>
|
2017-07-10 05:06:41 +00:00
|
|
|
<repository>
|
|
|
|
<id>Plugin Metrics</id>
|
|
|
|
<url>http://repo.mcstats.org/content/repositories/public</url>
|
|
|
|
</repository>
|
2017-07-06 10:17:54 +00:00
|
|
|
</repositories>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.bukkit</groupId>
|
|
|
|
<artifactId>bukkit</artifactId>
|
|
|
|
<version>1.11.2-R0.1-SNAPSHOT</version>
|
|
|
|
<type>jar</type>
|
2017-07-10 05:06:41 +00:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mcstats.bukkit</groupId>
|
|
|
|
<artifactId>metrics</artifactId>
|
|
|
|
<version>R8-SNAPSHOT</version>
|
|
|
|
<scope>compile</scope>
|
2017-07-06 10:17:54 +00:00
|
|
|
</dependency>
|
2017-07-10 02:45:18 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>net.milkbowl.vault</groupId>
|
|
|
|
<artifactId>VaultAPI</artifactId>
|
|
|
|
<version>1.6</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>lib.PatPeter.SQLibrary</groupId>
|
|
|
|
<artifactId>SQLibrary</artifactId>
|
|
|
|
<version>7.1</version>
|
|
|
|
</dependency>
|
2017-07-06 10:17:54 +00:00
|
|
|
</dependencies>
|
|
|
|
<build>
|
2017-07-08 01:47:15 +00:00
|
|
|
<finalName>PermissionsTime-${project.version}</finalName>
|
2017-07-07 10:59:59 +00:00
|
|
|
<sourceDirectory>${basedir}/src/main</sourceDirectory>
|
2017-07-06 10:17:54 +00:00
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/resources</directory>
|
|
|
|
</resource>
|
2017-07-07 11:39:55 +00:00
|
|
|
<resource>
|
|
|
|
<targetPath>.</targetPath>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
<directory>${basedir}</directory>
|
|
|
|
<includes>
|
|
|
|
<include>LICENSE</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
2017-07-06 10:17:54 +00:00
|
|
|
</resources>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2017-07-08 01:47:15 +00:00
|
|
|
<version>3.6.1</version>
|
2017-07-06 10:17:54 +00:00
|
|
|
<configuration>
|
|
|
|
<source>1.8</source>
|
|
|
|
<target>1.8</target>
|
2017-07-07 10:59:59 +00:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2017-07-08 01:47:15 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<version>3.0.2</version>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<mainClass>gg.frog.mc.permissionstime.Main</mainClass>
|
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<!-- 解决资源文件的编码问题 -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<version>3.0.2</version>
|
|
|
|
<configuration>
|
|
|
|
<encoding>UTF-8</encoding>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2017-07-10 05:06:41 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
|
|
<version>3.0.0</version>
|
|
|
|
<configuration>
|
2017-07-10 12:55:45 +00:00
|
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
2017-07-10 05:06:41 +00:00
|
|
|
<artifactSet>
|
|
|
|
<includes>
|
|
|
|
<include>org.mcstats.*:*</include>
|
|
|
|
</includes>
|
|
|
|
</artifactSet>
|
|
|
|
<relocations>
|
|
|
|
<relocation>
|
|
|
|
<pattern>org.mcstats</pattern>
|
|
|
|
<shadedPattern>gg.frog.mc.permissionstime</shadedPattern>
|
|
|
|
</relocation>
|
|
|
|
</relocations>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2017-07-06 10:17:54 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2017-07-07 10:59:59 +00:00
|
|
|
<ciManagement>
|
|
|
|
<system>Jenkins</system>
|
2017-07-07 11:08:59 +00:00
|
|
|
<url>http://ci.frog.gg/jenkins/job/PermissionsTime/</url>
|
2017-07-07 10:59:59 +00:00
|
|
|
</ciManagement>
|
2017-07-06 10:17:54 +00:00
|
|
|
</project>
|