2011-07-20 16:48:46 +02:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2011-09-21 19:42:44 +02:00
|
|
|
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.onarandombox.multiversecore</groupId>
|
|
|
|
<artifactId>Multiverse-Core</artifactId>
|
2012-02-06 05:57:31 +01:00
|
|
|
<version>2.4</version>
|
2011-09-21 19:42:44 +02:00
|
|
|
<name>Multiverse-Core</name>
|
|
|
|
<description>World Management Plugin</description>
|
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
2011-12-09 16:04:46 +01:00
|
|
|
<project.build.number>UNKNOWN</project.build.number>
|
2011-09-21 19:42:44 +02:00
|
|
|
</properties>
|
2011-07-20 16:48:46 +02:00
|
|
|
|
2011-09-21 19:42:44 +02:00
|
|
|
<repositories>
|
2011-12-11 21:08:30 +01:00
|
|
|
<repository>
|
|
|
|
<id>onarandombox</id>
|
2011-12-26 02:43:30 +01:00
|
|
|
<url>http://repo.onarandombox.com/content/groups/public</url>
|
2011-12-11 21:08:30 +01:00
|
|
|
</repository>
|
2012-01-26 01:13:30 +01:00
|
|
|
<repository>
|
2012-01-28 06:24:50 +01:00
|
|
|
<id>Bukkit Official</id>
|
2012-01-26 02:14:46 +01:00
|
|
|
<url>http://repo.bukkit.org/content/repositories/public</url>
|
2012-01-26 01:13:30 +01:00
|
|
|
</repository>
|
2011-09-21 19:42:44 +02:00
|
|
|
</repositories>
|
2011-07-20 16:48:46 +02:00
|
|
|
|
2011-09-21 19:42:44 +02:00
|
|
|
<pluginRepositories>
|
|
|
|
<pluginRepository>
|
|
|
|
<id>doodleproject-repo</id>
|
|
|
|
<name>DoodleProject Maven 2 Repository</name>
|
|
|
|
<url>http://doodleproject.sourceforge.net/maven2/release</url>
|
|
|
|
<releases>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</releases>
|
|
|
|
</pluginRepository>
|
|
|
|
</pluginRepositories>
|
|
|
|
|
|
|
|
<ciManagement>
|
|
|
|
<system>jenkins</system>
|
2011-12-11 21:08:30 +01:00
|
|
|
<url>http://ci.onarandombox.com</url>
|
2011-09-21 19:42:44 +02:00
|
|
|
</ciManagement>
|
|
|
|
|
2011-12-09 16:04:46 +01:00
|
|
|
<!-- Profiles are used to detect whether this is a local or Jenkins build
|
|
|
|
and adjust the build number accordingly -->
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>jenkins</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>env.BUILD_NUMBER</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<project.build.number>${env.BUILD_NUMBER}</project.build.number>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
2011-09-21 19:42:44 +02:00
|
|
|
<build>
|
|
|
|
<defaultGoal>clean package</defaultGoal>
|
|
|
|
<plugins>
|
|
|
|
<!-- Compiler -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>2.3.2</version>
|
|
|
|
<configuration>
|
|
|
|
<source>1.6</source>
|
|
|
|
<target>1.6</target>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.google.code.maven-replacer-plugin</groupId>
|
|
|
|
<artifactId>maven-replacer-plugin</artifactId>
|
|
|
|
<version>1.3.8</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>replace</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<file>target/classes/plugin.yml</file>
|
|
|
|
<replacements>
|
|
|
|
<replacement>
|
|
|
|
<token>maven-version-number</token>
|
2011-12-11 23:03:29 +01:00
|
|
|
<value>${project.version}-b${project.build.number}</value>
|
2011-09-21 19:42:44 +02:00
|
|
|
</replacement>
|
|
|
|
</replacements>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<!-- Jar Plugin -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<version>2.3.1</version>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifestEntries>
|
|
|
|
</manifestEntries>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2011-10-15 16:33:03 +02:00
|
|
|
<!-- Maven Source Plugin -->
|
2011-09-21 19:42:44 +02:00
|
|
|
<plugin>
|
2011-10-15 16:33:03 +02:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
<version>2.1.2</version>
|
2011-09-21 19:42:44 +02:00
|
|
|
</plugin>
|
2011-12-10 03:58:11 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<version>2.11</version>
|
|
|
|
<configuration>
|
|
|
|
<parallel>methods</parallel>
|
|
|
|
<threadCount>10</threadCount>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/TestCommandSender.java</exclude>
|
|
|
|
<exclude>**/TestInstanceCreator.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.surefire</groupId>
|
|
|
|
<artifactId>surefire-junit47</artifactId>
|
|
|
|
<version>2.11</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
2011-12-11 01:44:11 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
|
|
<version>2.8</version>
|
|
|
|
<configuration>
|
|
|
|
<enableRulesSummary>true</enableRulesSummary>
|
|
|
|
<configLocation>${project.basedir}/config/mv_checks.xml</configLocation>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2012-01-31 20:49:55 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
|
|
<version>1.5</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactSet>
|
|
|
|
<includes>
|
|
|
|
<include>me.main__.util:SerializationConfig</include>
|
2012-02-01 17:13:59 +01:00
|
|
|
<include>com.fernferret.allpay:AllPay</include>
|
2012-02-02 05:44:15 +01:00
|
|
|
<include>com.pneumaticraft.commandhandler:CommandHandler</include>
|
2012-01-31 20:49:55 +01:00
|
|
|
</includes>
|
|
|
|
</artifactSet>
|
2012-02-02 03:37:33 +01:00
|
|
|
<relocations>
|
|
|
|
<relocation>
|
|
|
|
<pattern>com.fernferret.allpay</pattern>
|
|
|
|
<shadedPattern>com.fernferret.allpay.multiverse</shadedPattern>
|
|
|
|
</relocation>
|
|
|
|
<relocation>
|
|
|
|
<pattern>me.main__.util</pattern>
|
|
|
|
<shadedPattern>me.main__.util.multiverse</shadedPattern>
|
|
|
|
</relocation>
|
2012-02-02 05:44:15 +01:00
|
|
|
<relocation>
|
|
|
|
<pattern>com.pneumaticraft.commandhandler</pattern>
|
|
|
|
<shadedPattern>com.pneumaticraft.commandhandler.multiverse</shadedPattern>
|
|
|
|
</relocation>
|
2012-02-02 03:37:33 +01:00
|
|
|
</relocations>
|
2012-01-31 20:49:55 +01:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2011-09-21 19:42:44 +02:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<!-- Bukkit Dependency -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.bukkit</groupId>
|
|
|
|
<artifactId>bukkit</artifactId>
|
2012-02-21 13:25:59 +01:00
|
|
|
<version>1.1-R5-SNAPSHOT</version>
|
2011-09-21 19:42:44 +02:00
|
|
|
<type>jar</type>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- Bukkit Dependency -->
|
2011-11-26 08:35:07 +01:00
|
|
|
<!-- Start of Spout -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.getspout</groupId>
|
2011-12-13 04:08:04 +01:00
|
|
|
<artifactId>spoutpluginapi</artifactId>
|
2011-11-26 08:35:07 +01:00
|
|
|
<version>dev-SNAPSHOT</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- End of Spout -->
|
2012-01-31 20:49:55 +01:00
|
|
|
<!-- SerializationConfig Dependency -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>me.main__.util</groupId>
|
|
|
|
<artifactId>SerializationConfig</artifactId>
|
2012-02-26 16:45:23 +01:00
|
|
|
<version>1.3</version>
|
2012-01-31 20:49:55 +01:00
|
|
|
<type>jar</type>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- End of SerializationConfig Dependency -->
|
2012-02-01 17:13:59 +01:00
|
|
|
<!-- Start of AllPay Dependency -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fernferret.allpay</groupId>
|
|
|
|
<artifactId>AllPay</artifactId>
|
2012-02-05 01:40:12 +01:00
|
|
|
<version>8</version>
|
2012-02-01 17:13:59 +01:00
|
|
|
<type>jar</type>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- End of AllPay Dependency -->
|
2012-02-02 05:44:15 +01:00
|
|
|
<!-- Start of CommandHandler Dependency -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.pneumaticraft.commandhandler</groupId>
|
|
|
|
<artifactId>CommandHandler</artifactId>
|
|
|
|
<version>6</version>
|
|
|
|
<type>jar</type>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- End of CommandHandler Dependency -->
|
2011-10-15 15:47:07 +02:00
|
|
|
<!-- Start of Test Dependencies -->
|
2011-09-21 19:42:44 +02:00
|
|
|
<dependency>
|
2011-12-07 06:16:42 +01:00
|
|
|
<groupId>junit</groupId>
|
2011-09-21 19:42:44 +02:00
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>4.8.2</version>
|
|
|
|
</dependency>
|
2011-10-15 15:47:07 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.powermock</groupId>
|
|
|
|
<artifactId>powermock-module-junit4</artifactId>
|
|
|
|
<version>1.4.9</version>
|
|
|
|
<type>jar</type>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.powermock</groupId>
|
|
|
|
<artifactId>powermock-api-easymock</artifactId>
|
|
|
|
<version>1.4.9</version>
|
|
|
|
<type>jar</type>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.powermock</groupId>
|
|
|
|
<artifactId>powermock-api-mockito</artifactId>
|
|
|
|
<version>1.4.9</version>
|
|
|
|
<type>jar</type>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.easymock</groupId>
|
|
|
|
<artifactId>easymock</artifactId>
|
|
|
|
<version>3.0</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- End of Test Dependencies -->
|
2011-09-21 19:42:44 +02:00
|
|
|
</dependencies>
|
2011-12-12 03:09:58 +01:00
|
|
|
<distributionManagement>
|
|
|
|
<repository>
|
|
|
|
<id>OnARandomBox</id>
|
|
|
|
<url>http://repo.onarandombox.com/content/repositories/multiverse</url>
|
|
|
|
</repository>
|
|
|
|
</distributionManagement>
|
2011-07-30 23:42:31 +02:00
|
|
|
</project>
|