<!-- CitizensAPI build file -->

<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>net.citizensnpcs</groupId>
	<artifactId>citizensapi</artifactId>
	<version>2.0.8-SNAPSHOT</version>
	<name>CitizensAPI</name>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<bukkit.version>LATEST</bukkit.version>
		<rhino.version>1.7R2</rhino.version>
		<powermock.version>1.4.12</powermock.version>
		<build.number>Unknown</build.number>
	</properties>

	<repositories>
		<repository>
			<id>bukkit-repo</id>
			<url>http://repo.bukkit.org/content/groups/public/</url>
		</repository>
	</repositories>

	<dependencies>
		<dependency>
			<groupId>org.bukkit</groupId>
			<artifactId>bukkit</artifactId>
			<version>${bukkit.version}</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.powermock</groupId>
			<artifactId>powermock-module-junit4</artifactId>
			<version>${powermock.version}</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.powermock</groupId>
			<artifactId>powermock-api-mockito</artifactId>
			<version>${powermock.version}</version>
			<scope>test</scope>
		</dependency>
	</dependencies>

	<url>http://www.citizensnpcs.com</url>
	<ciManagement>
		<system>jenkins</system>
		<url>http://ci.citizensnpcs.com</url>
	</ciManagement>
	<scm>
		<connection>scm:git:git://github.com/CitizensDev/CitizensAPI.git</connection>
		<developerConnection>scm:git:git:@github.com:CitizensDev/CitizensAPI.git</developerConnection>
		<url>https://github.com/CitizensDev/CitizensAPI/tree/master/</url>
	</scm>
	<build>
		<defaultGoal>clean install javadoc:javadoc</defaultGoal>
		<sourceDirectory>${basedir}/src/main/java</sourceDirectory>

		<plugins>
			<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>org.apache.maven.plugins</groupId>
				<artifactId>maven-jar-plugin</artifactId>
				<version>2.3.2</version>
			</plugin>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-shade-plugin</artifactId>
				<version>1.4</version>
				<executions>
					<execution>
						<phase>package</phase>
						<configuration>
							<relocations>
								<relocation>
									<pattern>org.uncommons.maths</pattern>
									<shadedPattern>lib.org.uncommons.maths</shadedPattern>
								</relocation>
							</relocations>
						</configuration>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>
	<reporting>
		<plugins>
			<plugin>
        		<groupId>org.apache.maven.plugins</groupId>
        		<artifactId>maven-javadoc-plugin</artifactId>
        		<version>2.9</version>
        		<configuration>
        			<author>false</author>
        		</configuration>
      		</plugin>
      	</plugins>
	</reporting>
</project>