2015-06-06 16:39:22 +00:00
|
|
|
<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>
|
2015-09-16 08:45:45 +00:00
|
|
|
<groupId>cn.citycraft</groupId>
|
2015-06-06 16:39:22 +00:00
|
|
|
<artifactId>SimpleProtect</artifactId>
|
2015-10-21 12:33:26 +00:00
|
|
|
<version>1.3</version>
|
2015-06-06 16:39:22 +00:00
|
|
|
<name>SimpleProtect</name>
|
2015-09-16 08:45:45 +00:00
|
|
|
<description>Minecraft 服务器保护插件</description>
|
2015-05-21 11:49:22 +00:00
|
|
|
<build>
|
2015-06-06 16:39:22 +00:00
|
|
|
<finalName>${project.name}</finalName>
|
2015-05-21 11:49:22 +00:00
|
|
|
<resources>
|
|
|
|
<resource>
|
2015-09-16 08:45:45 +00:00
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
2015-05-21 11:49:22 +00:00
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>3.1</version>
|
|
|
|
<configuration>
|
2015-10-07 16:10:12 +00:00
|
|
|
<source>1.7</source>
|
|
|
|
<target>1.7</target>
|
2015-05-21 11:49:22 +00:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2015-09-16 08:45:45 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
|
|
<version>2.3</version>
|
|
|
|
<configuration>
|
|
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
|
|
<minimizeJar>true</minimizeJar>
|
|
|
|
<artifactSet>
|
|
|
|
<includes>
|
|
|
|
<include>cn.citycraft:PluginHelper</include>
|
|
|
|
</includes>
|
|
|
|
</artifactSet>
|
|
|
|
<relocations>
|
|
|
|
<relocation>
|
|
|
|
<pattern>cn.citycraft.PluginHelper</pattern>
|
|
|
|
<shadedPattern>${project.groupId}.${project.artifactId}</shadedPattern>
|
|
|
|
</relocation>
|
|
|
|
</relocations>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2015-05-21 11:49:22 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>spigot-repo</id>
|
|
|
|
<url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
|
|
|
|
</repository>
|
2015-09-16 08:45:45 +00:00
|
|
|
<repository>
|
|
|
|
<id>citycraft-repo</id>
|
2015-10-17 14:56:58 +00:00
|
|
|
<url>${jenkins.url}/plugin/repository/everything/</url>
|
2015-09-16 08:45:45 +00:00
|
|
|
</repository>
|
2015-05-21 11:49:22 +00:00
|
|
|
</repositories>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.spigotmc</groupId>
|
|
|
|
<artifactId>spigot-api</artifactId>
|
|
|
|
<type>jar</type>
|
2015-10-21 12:33:26 +00:00
|
|
|
<version>1.8.8-R0.1-SNAPSHOT</version>
|
2015-05-21 11:49:22 +00:00
|
|
|
</dependency>
|
2015-09-16 08:45:45 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>cn.citycraft</groupId>
|
|
|
|
<artifactId>PluginHelper</artifactId>
|
|
|
|
<type>jar</type>
|
|
|
|
<version>1.0</version>
|
|
|
|
</dependency>
|
2015-05-21 11:49:22 +00:00
|
|
|
</dependencies>
|
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
2015-10-17 14:56:58 +00:00
|
|
|
<jenkins.url>http://ci.citycraft.cn:8080</jenkins.url>
|
2015-05-21 11:49:22 +00:00
|
|
|
</properties>
|
|
|
|
</project>
|