blob: d0f5a82ae2cc8612042ce8ca698c69147c87e3c1 [file] [log] [blame] [raw]
<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>
<name>Glowstone</name>
<groupId>net.glowstoneplusplus</groupId>
<artifactId>glowstoneplusplus</artifactId>
<version>1.9.4-SNAPSHOT</version>
<packaging>jar</packaging>
<inceptionYear>2015</inceptionYear>
<url>https://www.glowstone.net</url>
<description>The enhanced Glowstone fork with an emphasis on performance, control and compatibility.</description>
<scm>
<connection>scm:git:git://github.com/GlowstoneMC/Glowstone.git</connection>
<developerConnection>scm:git:ssh://git@github.com/GlowstoneMC/Glowstone.git</developerConnection>
<url>https://github.com/GlowstoneMC/Glowstone</url>
</scm>
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>9</version>
</parent>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<bukkit.version>1.9.4-R0.1-SNAPSHOT</bukkit.version>
</properties>
<repositories>
<repository>
<id>sonatype</id>
<name>Sonatype Nexus</name>
<layout>default</layout>
<url>https://oss.sonatype.org/content/repositories/public/</url>
</repository>
<repository>
<id>glowstone-snapshots</id>
<name>Glowstone Snapshots</name>
<layout>default</layout>
<url>https://repo.glowstone.net/content/repositories/snapshots/</url>
</repository>
</repositories>
<distributionManagement>
<repository>
<id>glowstone-upstream</id>
<name>glowstone-releases</name>
<url>https://repo.glowstone.net/content/repositories/releases</url>
</repository>
<snapshotRepository>
<id>glowstone-upstream</id>
<name>glowstone-snapshots</name>
<url>https://repo.glowstone.net/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<dependencies>
<dependency>
<groupId>net.glowstone</groupId>
<artifactId>glowkit</artifactId>
<version>${bukkit.version}</version>
</dependency>
<dependency>
<groupId>com.flowpowered</groupId>
<artifactId>flow-network</artifactId>
<version>1.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>jline</groupId>
<artifactId>jline</artifactId>
<version>2.11</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.14.8</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-runtime</artifactId>
<version>1.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-reflect</artifactId>
<version>1.1-SNAPSHOT</version>
</dependency>
<!-- Automatically downloaded by Glowstone's library manager
<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>3.7.2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.38</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
<version>1.7.15</version>
<scope>runtime</scope>
</dependency>
/end library manager downloads -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<finalName>glowstone++-${project.version}</finalName>
<directory>${project.basedir}/target</directory>
<resources>
<resource>
<directory>${project.basedir}/src/main/resources</directory>
</resource>
</resources>
<defaultGoal>package</defaultGoal>
<plugins>
<plugin>
<groupId>com.lukegb.mojo</groupId>
<artifactId>gitdescribe-maven-plugin</artifactId>
<version>3.0</version>
<executions>
<execution>
<goals>
<goal>gitdescribe</goal>
</goals>
<id>git-describe</id>
<phase>initialize</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.16</version>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
<configuration>
<configLocation>${project.basedir}/etc/checkstyle.xml</configLocation>
<headerLocation>${project.basedir}/LICENSE</headerLocation>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<relocations>
<relocation>
<pattern>org.objectweb.asm</pattern>
<shadedPattern>net.glowstone.libs.org.objectweb.asm</shadedPattern>
</relocation>
<relocation>
<pattern>com.flowpowered</pattern>
<shadedPattern>net.glowstone.libs.com.flowpowered</shadedPattern>
</relocation>
<relocation>
<pattern>jline</pattern>
<shadedPattern>net.glowstone.libs.jline</shadedPattern>
</relocation>
<relocation>
<pattern>io.netty</pattern>
<shadedPattern>net.glowstone.libs.io.netty</shadedPattern>
</relocation>
</relocations>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>net.glowstone.GlowServer</mainClass>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<compilerArguments>
<O>-Xlint:all</O>
</compilerArguments>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.6</version>
<configuration>
<archive>
<manifestEntries>
<Implementation-Title>${project.name}</Implementation-Title>
<Implementation-Version>${project.version}-${describe}</Implementation-Version>
<Specification-Version>${bukkit.version}</Specification-Version>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.0</version>
<configuration>
<reportPlugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.4</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.8</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>2.3</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>2.6</version>
<configuration>
<targetJdk>1.6</targetJdk>
<rulesets>
<ruleset>rules.xml</ruleset>
</rulesets>
</configuration>
</plugin>
</reportPlugins>
</configuration>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.16</version>
<configuration>
<configLocation>${project.basedir}/etc/checkstyle.xml</configLocation>
<headerLocation>${project.basedir}/LICENSE</headerLocation>
</configuration>
</plugin>
</plugins>
</reporting>
</project>