Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 256 lines (241 sloc) 7.61 KB
<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>
<!-- Project information -->
<name>Vanilla</name>
<groupId>org.spout</groupId>
<artifactId>vanilla</artifactId>
<version>1.3.0-SNAPSHOT</version>
<url>http://www.spout.org</url>
<inceptionYear>2011</inceptionYear>
<description>Vanilla is a plugin for the Spout platform that provides vanilla Minecraft functionality.</description>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<mainClass>org.spout.vanilla.VanillaPlugin</mainClass>
<spoutVersion>dev-SNAPSHOT</spoutVersion>
<protocolVersion>39</protocolVersion>
<buildNumber>0</buildNumber>
</properties>
<!-- Organization -->
<organization>
<name>VanillaDev</name>
<url>http://www.spout.org</url>
</organization>
<!-- License -->
<licenses>
<license>
<name>SpoutDev License Version 1</name>
<url>http://www.spout.org/SpoutDevLicenseV1.txt</url>
<distribution>repo</distribution>
<comments>GNU Lesser General Public License Version 3, but with a provision that files are released under the MIT license 180 days after they are published.</comments>
</license>
</licenses>
<!-- Source code -->
<scm>
<developerConnection>scm:git:git@github.com:SpoutDev/Vanilla.git</developerConnection>
<connection>scm:git:git://github.com/SpoutDev/Vanilla.git</connection>
<url>https://github.com/SpoutDev/Vanilla</url>
</scm>
<!-- Continuous integration -->
<ciManagement>
<system>jenkins</system>
<url>http://build.spout.org/job/Vanilla</url>
</ciManagement>
<!-- Issue management -->
<issueManagement>
<system>jira</system>
<url>http://issues.spout.org/browse/Vanilla</url>
</issueManagement>
<!-- Repository locations -->
<repositories>
<repository>
<id>spout-repo</id>
<url>http://repo.spout.org</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>spout-repo</id>
<url>http://repo.spout.org</url>
</pluginRepository>
</pluginRepositories>
<!-- Dependencies -->
<dependencies>
<dependency>
<groupId>org.spout</groupId>
<artifactId>spoutapi</artifactId>
<version>${spoutVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.10</version>
<scope>test</scope>
</dependency>
</dependencies>
<!-- Build settings -->
<build>
<defaultGoal>clean install</defaultGoal>
<!-- Resources -->
<resources>
<resource>
<targetPath>.</targetPath>
<filtering>false</filtering>
<directory>${basedir}</directory>
<includes>
<include>LICENSE.txt</include>
</includes>
</resource>
<resource>
<targetPath>.</targetPath>
<filtering>true</filtering>
<directory>${basedir}/src/main/resources</directory>
<includes>
<include>*.yml</include>
</includes>
</resource>
<resource>
<targetPath>.</targetPath>
<filtering>false</filtering>
<directory>${basedir}/src/main/resources</directory>
<includes>
<include>**/*</include>
</includes>
</resource>
</resources>
<!-- Plugins -->
<plugins>
<!-- License header formatting plugin -->
<plugin>
<groupId>com.mycila.maven-license-plugin</groupId>
<artifactId>maven-license-plugin</artifactId>
<version>1.10.b1</version>
<executions>
<execution>
<phase>clean</phase>
<goals>
<goal>format</goal>
</goals>
</execution>
</executions>
<configuration>
<quiet>true</quiet>
<encoding>UTF-8</encoding>
<strictCheck>true</strictCheck>
<header>${basedir}/HEADER.txt</header>
<keywords>
<keyword>${project.name}</keyword>
<keyword>license</keyword>
</keywords>
<mapping>
<java>SLASHSTAR_STYLE</java>
</mapping>
<properties>
<name>${project.name}</name>
<url>${project.organization.url}</url>
<license>SpoutDev License Version 1</license>
<licenseUrl>http://www.spout.org/SpoutDevLicenseV1.txt</licenseUrl>
<copyright>Copyright (c) ${project.inceptionYear}-2012, ${project.organization.name}</copyright>
</properties>
<includes>
<include>src/main/java/**</include>
<include>src/test/java/**</include>
</includes>
</configuration>
</plugin>
<!-- Version strip plugin -->
<plugin>
<groupId>com.sourcesense.maven</groupId>
<artifactId>maven-nosnapshot-plugin</artifactId>
<version>0.0.7-SNAPSHOT</version>
<executions>
<execution>
<phase>initialize</phase>
<goals>
<goal>strip</goal>
</goals>
</execution>
</executions>
<configuration>
<version>${project.version}</version>
<propertyName>releaseVersion</propertyName>
</configuration>
</plugin>
<!-- Compiler plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.4</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
<compilerArguments>
<O>-Xlint:all</O>
<O>-Xlint:-path</O>
</compilerArguments>
<showWarnings>true</showWarnings>
<showDeprecation>true</showDeprecation>
</configuration>
</plugin>
<!-- Javadoc plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.8.1</version>
<configuration>
<stylesheetfile>${basedir}/src/main/javadoc/stylesheet.css</stylesheetfile>
<header><![CDATA[<a href="https://github.com/SpoutDev/Vanilla" target="_blank"><img src="http://cdn.spout.org/img/logo/vanilla_javadoc.png"></a>]]></header>
<bottom><![CDATA[Copyright (c) {inceptionYear}-{currentYear}, <a href="${project.organization.url}" target="_blank">${project.organization.name}</a>. ${project.name} is licensed under <a href="http://www.spout.org/SpoutDevLicenseV1.txt" target="_blank">SpoutDev License Version 1</a>]]></bottom>
<doctitle><![CDATA[${project.name} ${releaseVersion} b${buildNumber} - ${maven.build.timestamp}]]></doctitle>
<windowtitle>Javadoc | ${project.name} ${releaseVersion} b${buildNumber}</windowtitle>
<author>false</author>
<version>false</version>
<detectLinks>true</detectLinks>
<linksource>true</linksource>
<links>
<link>http://jd.spout.org/vanilla/latest</link>
</links>
</configuration>
</plugin>
<!-- Testing plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.12</version>
<configuration>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
</configuration>
</plugin>
</plugins>
<!-- Plugin management -->
<pluginManagement>
<plugins>
<!-- Eclipse exclusions -->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>com.sourcesense.maven</groupId>
<artifactId>maven-nosnapshot-plugin</artifactId>
<versionRange>[0.0.7-SNAPSHOT,)</versionRange>
<goals>
<goal>strip</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore/>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>