1
0
mirror of https://e.coding.net/circlecloud/AuthMe.git synced 2025-11-24 21:26:20 +00:00

更新项目构建文件...

This commit is contained in:
502647092
2015-12-10 18:02:05 +08:00
parent 601f8ebd49
commit f9037706ee

359
pom.xml
View File

@@ -1,189 +1,176 @@
<?xml version="1.0" encoding="UTF-8"?> <?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" <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"> 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> <modelVersion>4.0.0</modelVersion>
<groupId>cn.citycraft</groupId> <groupId>cn.citycraft</groupId>
<artifactId>AuthMe</artifactId> <artifactId>AuthMe</artifactId>
<version>6.0</version> <version>6.0</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>AuthMe</name> <name>AuthMe</name>
<description>登录插件重制版本</description> <description>登录插件重制版本</description>
<inceptionYear>2013</inceptionYear> <inceptionYear>2013</inceptionYear>
<url>http://dev.bukkit.org/bukkit-plugins/authme-reloaded/</url> <url>http://dev.bukkit.org/bukkit-plugins/authme-reloaded/</url>
<!-- See also: https://www.spigotmc.org/resources/authme-reloaded.6269/ --> <!-- See also: https://www.spigotmc.org/resources/authme-reloaded.6269/ -->
<organization>
<organization> <name>AuthMe-Team</name>
<name>AuthMe-Team</name> <url>https://github.com/AuthMe-Team</url>
<url>https://github.com/AuthMe-Team</url> </organization>
</organization> <scm>
<connection>scm:git:https://github.com/Xephi/AuthMeReloaded.git</connection>
<scm> <developerConnection>scm:git:git@github.com:Xephi/AuthMeReloaded.git</developerConnection>
<connection>scm:git:https://github.com/Xephi/AuthMeReloaded.git</connection> <url>http://github.com/Xephi/AuthMeReloaded</url>
<developerConnection>scm:git:git@github.com:Xephi/AuthMeReloaded.git</developerConnection> </scm>
<url>http://github.com/Xephi/AuthMeReloaded</url> <!-- Official Build Server -->
</scm> <issueManagement>
<system>GitHub</system>
<!-- Official Build Server --> <url>https://github.com/Xephi/AuthMeReloaded/issues</url>
<ciManagement> </issueManagement>
<system>jenkins</system> <ciManagement>
<url>http://ci.xephi.fr/job/AuthMeReloaded/</url> <system>hudson</system>
</ciManagement> <url>http://ci.citycraft.cn:8080/job/AuthMe/</url>
</ciManagement>
<issueManagement> <licenses>
<system>GitHub</system> <license>
<url>https://github.com/Xephi/AuthMeReloaded/issues</url> <name>The GNU General Public Licence version 3 (GPLv3)</name>
</issueManagement> <url>http://www.gnu.org/licenses/gpl-3.0.html</url>
</license>
<licenses> </licenses>
<license> <properties>
<name>The GNU General Public Licence version 3 (GPLv3)</name> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<url>http://www.gnu.org/licenses/gpl-3.0.html</url> <javaVersion>1.7</javaVersion>
</license> <jenkins.url>http://ci.citycraft.cn:8080</jenkins.url>
</licenses> <update.description>测试版本发布...</update.description>
<bukkitVersion>1.8.8-R0.1-SNAPSHOT</bukkitVersion>
<properties> </properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <build>
<!-- Change Compiler Version (JDK) HERE! --> <finalName>${project.name}</finalName>
<javaVersion>1.7</javaVersion> <resources>
<!-- Change MC Version HERE! --> <resource>
<jenkins.url>http://ci.citycraft.cn:8080</jenkins.url> <targetPath>.</targetPath>
<update.description>测试版本发布...</update.description> <filtering>true</filtering>
<bukkitVersion>1.8.8-R0.1-SNAPSHOT</bukkitVersion> <directory>src/main/resources/</directory>
</properties> <includes>
<include>*.yml</include>
<build> </includes>
<finalName>${project.name}</finalName> </resource>
<resources> <resource>
<resource> <targetPath>./messages/</targetPath>
<targetPath>.</targetPath> <filtering>false</filtering>
<filtering>true</filtering> <directory>src/main/resources/messages/</directory>
<directory>src/main/resources/</directory> <includes>
<includes> <include>*.yml</include>
<include>*.yml</include> </includes>
</includes> </resource>
</resource> </resources>
<resource> <plugins>
<targetPath>./messages/</targetPath> <plugin>
<filtering>false</filtering> <groupId>org.apache.maven.plugins</groupId>
<directory>src/main/resources/messages/</directory> <artifactId>maven-compiler-plugin</artifactId>
<includes> <version>3.3</version>
<include>*.yml</include> <configuration>
</includes> <source>1.7</source>
</resource> <target>${javaVersion}</target>
</resources> </configuration>
<plugins> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-shade-plugin</artifactId>
<version>3.3</version> <version>2.3</version>
<configuration> <configuration>
<source>1.7</source> <createDependencyReducedPom>false</createDependencyReducedPom>
<target>${javaVersion}</target> <minimizeJar>true</minimizeJar>
</configuration> <artifactSet>
</plugin> <includes>
<plugin> <include>com.zaxxer:HikariCP</include>
<groupId>org.apache.maven.plugins</groupId> <include>org.slf4j:slf4j-jdk14</include>
<artifactId>maven-shade-plugin</artifactId> <include>org.slf4j:slf4j-api</include>
<version>2.3</version> <include>com.maxmind.geoip:geoip-api</include>
<configuration> <include>com.google.code.gson:gson</include>
<createDependencyReducedPom>false</createDependencyReducedPom> <include>cn.citycraft:PluginHelper</include>
<minimizeJar>true</minimizeJar> </includes>
<artifactSet> </artifactSet>
<includes> <relocations>
<include>com.zaxxer:HikariCP</include> <relocation>
<include>org.slf4j:slf4j-jdk14</include> <pattern>cn.citycraft.PluginHelper</pattern>
<include>org.slf4j:slf4j-api</include> <shadedPattern>${project.groupId}.${project.artifactId}</shadedPattern>
<include>com.maxmind.geoip:geoip-api</include> </relocation>
<include>com.google.code.gson:gson</include> </relocations>
<include>cn.citycraft:PluginHelper</include> </configuration>
</includes> <executions>
</artifactSet> <execution>
<relocations> <phase>package</phase>
<relocation> <goals>
<pattern>cn.citycraft.PluginHelper</pattern> <goal>shade</goal>
<shadedPattern>${project.groupId}.${project.artifactId}</shadedPattern> </goals>
</relocation> </execution>
</relocations> </executions>
</configuration> </plugin>
<executions> </plugins>
<execution> </build>
<phase>package</phase> <repositories>
<goals> <repository>
<goal>shade</goal> <id>spigot-repo</id>
</goals> <url>http://hub.spigotmc.org/nexus/content/groups/public</url>
</execution> </repository>
</executions> <repository>
</plugin> <id>citycraft-repo</id>
</plugins> <url>${jenkins.url}/plugin/repository/everything/</url>
</build> </repository>
</repositories>
<repositories> <dependencies>
<!-- SpigotMC Repo (Bukkit and SpigotAPI) --> <dependency>
<repository> <groupId>org.spigotmc</groupId>
<id>spigot-repo</id> <artifactId>spigot-api</artifactId>
<url>http://hub.spigotmc.org/nexus/content/groups/public</url> <type>jar</type>
</repository> <version>1.8.8-R0.1-SNAPSHOT</version>
<repository> </dependency>
<id>citycraft-repo</id> <dependency>
<url>${jenkins.url}/plugin/repository/everything/</url> <groupId>cn.citycraft</groupId>
</repository> <artifactId>PluginHelper</artifactId>
</repositories> <type>jar</type>
<version>1.0</version>
<dependencies> </dependency>
<dependency> <dependency>
<groupId>org.spigotmc</groupId> <groupId>net.milkbowl.vault</groupId>
<artifactId>spigot-api</artifactId> <artifactId>VaultAPI</artifactId>
<type>jar</type> <version>1.5</version>
<version>1.8.8-R0.1-SNAPSHOT</version> <scope>system</scope>
</dependency> <systemPath>${project.basedir}/lib/Vault.jar</systemPath>
<dependency> </dependency>
<groupId>cn.citycraft</groupId> <dependency>
<artifactId>PluginHelper</artifactId> <groupId>com.earth2me</groupId>
<type>jar</type> <artifactId>essentials</artifactId>
<version>1.0</version> <version>2.9.6</version>
</dependency> <scope>system</scope>
<dependency> <systemPath>${project.basedir}/lib/Essentials.jar</systemPath>
<groupId>net.milkbowl.vault</groupId> </dependency>
<artifactId>VaultAPI</artifactId> <dependency>
<version>1.5</version> <groupId>com.zaxxer</groupId>
<scope>system</scope> <artifactId>HikariCP</artifactId>
<systemPath>${project.basedir}/lib/Vault.jar</systemPath> <version>2.4.1</version>
</dependency> <scope>compile</scope>
<dependency> <optional>true</optional>
<groupId>com.earth2me</groupId> </dependency>
<artifactId>essentials</artifactId> <dependency>
<version>2.9.6</version> <groupId>com.maxmind.geoip</groupId>
<scope>system</scope> <artifactId>geoip-api</artifactId>
<systemPath>${project.basedir}/lib/Essentials.jar</systemPath> <version>1.2.15</version>
</dependency> <scope>compile</scope>
<dependency> <optional>true</optional>
<groupId>com.zaxxer</groupId> </dependency>
<artifactId>HikariCP</artifactId> <dependency>
<version>2.4.1</version> <groupId>org.apache.logging.log4j</groupId>
<scope>compile</scope> <artifactId>log4j-core</artifactId>
<optional>true</optional> <version>2.0-beta9</version>
</dependency> <scope>provided</scope>
<dependency> <optional>true</optional>
<groupId>com.maxmind.geoip</groupId> </dependency>
<artifactId>geoip-api</artifactId> <dependency>
<version>1.2.15</version> <groupId>com.comphenix.protocol</groupId>
<scope>compile</scope> <artifactId>ProtocolLib</artifactId>
<optional>true</optional> <version>3.6.5-SNAPSHOT</version>
</dependency> <scope>system</scope>
<!-- Log4J Logger (for the filter) --> <systemPath>${project.basedir}/lib/ProtocolLib-3.6.5-SNAPSHOT.jar</systemPath>
<dependency> </dependency>
<groupId>org.apache.logging.log4j</groupId> </dependencies>
<artifactId>log4j-core</artifactId>
<version>2.0-beta9</version>
<scope>provided</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.comphenix.protocol</groupId>
<artifactId>ProtocolLib</artifactId>
<version>3.6.5-SNAPSHOT</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/ProtocolLib-3.6.5-SNAPSHOT.jar</systemPath>
</dependency>
</dependencies>
</project> </project>