更新项目构建文件...

master
502647092 2015-12-10 18:05:25 +08:00
parent 4dc82da117
commit a02e85c1ac
1 changed files with 93 additions and 89 deletions

182
pom.xml
View File

@ -1,91 +1,95 @@
<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>CityBuild</artifactId> <artifactId>CityBuild</artifactId>
<version>1.0</version> <version>1.0</version>
<name>CityBuild</name> <name>CityBuild</name>
<build> <ciManagement>
<finalName>${project.name}</finalName> <system>hudson</system>
<resources> <url>http://ci.citycraft.cn:8080/job/CityBuild/</url>
<resource> </ciManagement>
<directory>src/main/resources</directory> <build>
<filtering>true</filtering> <finalName>${project.name}</finalName>
</resource> <resources>
</resources> <resource>
<plugins> <directory>src/main/resources</directory>
<plugin> <filtering>true</filtering>
<artifactId>maven-compiler-plugin</artifactId> </resource>
<version>3.1</version> </resources>
<configuration> <plugins>
<source>1.7</source> <plugin>
<target>1.7</target> <artifactId>maven-compiler-plugin</artifactId>
</configuration> <version>3.1</version>
</plugin> <configuration>
<plugin> <source>1.7</source>
<groupId>org.apache.maven.plugins</groupId> <target>1.7</target>
<artifactId>maven-shade-plugin</artifactId> </configuration>
<version>2.3</version> </plugin>
<configuration> <plugin>
<createDependencyReducedPom>false</createDependencyReducedPom> <groupId>org.apache.maven.plugins</groupId>
<minimizeJar>true</minimizeJar> <artifactId>maven-shade-plugin</artifactId>
<artifactSet> <version>2.3</version>
<includes> <configuration>
<include>cn.citycraft:PluginHelper</include> <createDependencyReducedPom>false</createDependencyReducedPom>
</includes> <minimizeJar>true</minimizeJar>
</artifactSet> <artifactSet>
<relocations> <includes>
<relocation> <include>cn.citycraft:PluginHelper</include>
<pattern>cn.citycraft.PluginHelper</pattern> </includes>
<shadedPattern>${project.groupId}.${project.artifactId}</shadedPattern> </artifactSet>
</relocation> <relocations>
</relocations> <relocation>
</configuration> <pattern>cn.citycraft.PluginHelper</pattern>
<executions> <shadedPattern>${project.groupId}.${project.artifactId}</shadedPattern>
<execution> </relocation>
<phase>package</phase> </relocations>
<goals> </configuration>
<goal>shade</goal> <executions>
</goals> <execution>
</execution> <phase>package</phase>
</executions> <goals>
</plugin> <goal>shade</goal>
</plugins> </goals>
</build> </execution>
<properties> </executions>
<jenkins.url>http://ci.citycraft.cn:8080</jenkins.url> </plugin>
<update.description></update.description> </plugins>
<env.BUILD_NUMBER>1</env.BUILD_NUMBER> </build>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <properties>
</properties> <jenkins.url>http://ci.citycraft.cn:8080</jenkins.url>
<repositories> <update.description></update.description>
<repository> <env.BUILD_NUMBER>1</env.BUILD_NUMBER>
<id>spigot-repo</id> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<url>https://hub.spigotmc.org/nexus/content/groups/public/</url> </properties>
</repository> <repositories>
<repository> <repository>
<id>citycraft-repo</id> <id>spigot-repo</id>
<url>${jenkins.url}/plugin/repository/everything/</url> <url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
</repository> </repository>
</repositories> <repository>
<dependencies> <id>citycraft-repo</id>
<dependency> <url>${jenkins.url}/plugin/repository/everything/</url>
<groupId>org.spigotmc</groupId> </repository>
<artifactId>spigot-api</artifactId> </repositories>
<type>jar</type> <dependencies>
<version>1.8.8-R0.1-SNAPSHOT</version> <dependency>
</dependency> <groupId>org.spigotmc</groupId>
<dependency> <artifactId>spigot-api</artifactId>
<groupId>cn.citycraft</groupId> <type>jar</type>
<artifactId>PluginHelper</artifactId> <version>1.8.8-R0.1-SNAPSHOT</version>
<type>jar</type> </dependency>
<version>1.0</version> <dependency>
</dependency> <groupId>cn.citycraft</groupId>
<dependency> <artifactId>PluginHelper</artifactId>
<groupId>cn.citycraft</groupId> <type>jar</type>
<artifactId>Residence</artifactId> <version>1.0</version>
<type>jar</type> </dependency>
<version>2.8.1.3</version> <dependency>
</dependency> <groupId>cn.citycraft</groupId>
</dependencies> <artifactId>Residence</artifactId>
<type>jar</type>
<version>2.8.1.3</version>
</dependency>
</dependencies>
</project> </project>