| <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.glowstone</groupId> |
| <artifactId>glowstone</artifactId> |
| <version>2017.5.0.47-SNAPSHOT</version> |
| <packaging>jar</packaging> |
| <inceptionYear>2011</inceptionYear> |
| <url>https://www.glowstone.net</url> |
| <description>A fast, customizable and compatible open source Minecraft server.</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> |
| <lwjgl.version>3.1.1</lwjgl.version> |
| <joml.version>1.9.2</joml.version> |
| <bukkit.version>1.11.2-R0.1-SNAPSHOT</bukkit.version> |
| <protocol.version>1.11.2</protocol.version> |
| </properties> |
| |
| <repositories> |
| <repository> |
| <id>glowstone</id> |
| <name>Glowstone Repo</name> |
| <url>https://repo.glowstone.net/repository/internal/</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.12.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.projectlombok</groupId> |
| <artifactId>lombok</artifactId> |
| <version>1.14.8</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>net.sf.trove4j</groupId> |
| <artifactId>trove4j</artifactId> |
| <version>3.0.3</version> |
| </dependency> |
| <dependency> |
| <groupId>co.aikar</groupId> |
| <artifactId>fastutil-lite</artifactId> |
| <version>1.0</version> |
| </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> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-lang3</artifactId> |
| <version>3.4</version> |
| </dependency> |
| <dependency> |
| <groupId>org.jogamp.gluegen</groupId> |
| <artifactId>gluegen-rt-main</artifactId> |
| <version>2.3.2</version> |
| </dependency> |
| <dependency> |
| <groupId>org.jogamp.jocl</groupId> |
| <artifactId>jocl-main</artifactId> |
| <version>2.3.2</version> |
| </dependency> |
| <dependency> |
| <groupId>org.lwjgl</groupId> |
| <artifactId>lwjgl</artifactId> |
| <version>${lwjgl.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.lwjgl</groupId> |
| <artifactId>lwjgl-glfw</artifactId> |
| <version>${lwjgl.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.lwjgl</groupId> |
| <artifactId>lwjgl-jemalloc</artifactId> |
| <version>${lwjgl.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.lwjgl</groupId> |
| <artifactId>lwjgl-nfd</artifactId> |
| <version>${lwjgl.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.lwjgl</groupId> |
| <artifactId>lwjgl-openal</artifactId> |
| <version>${lwjgl.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.lwjgl</groupId> |
| <artifactId>lwjgl-opengl</artifactId> |
| <version>${lwjgl.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.lwjgl</groupId> |
| <artifactId>lwjgl-par</artifactId> |
| <version>${lwjgl.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.lwjgl</groupId> |
| <artifactId>lwjgl-sse</artifactId> |
| <version>${lwjgl.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.lwjgl</groupId> |
| <artifactId>lwjgl-stb</artifactId> |
| <version>${lwjgl.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.lwjgl</groupId> |
| <artifactId>lwjgl-vulkan</artifactId> |
| <version>${lwjgl.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.lwjgl</groupId> |
| <artifactId>lwjgl-xxhash</artifactId> |
| <version>${lwjgl.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.lwjgl</groupId> |
| <artifactId>lwjgl</artifactId> |
| <version>${lwjgl.version}</version> |
| <classifier>${lwjgl.natives}</classifier> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.lwjgl</groupId> |
| <artifactId>lwjgl-glfw</artifactId> |
| <version>${lwjgl.version}</version> |
| <classifier>${lwjgl.natives}</classifier> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.lwjgl</groupId> |
| <artifactId>lwjgl-jemalloc</artifactId> |
| <version>${lwjgl.version}</version> |
| <classifier>${lwjgl.natives}</classifier> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.lwjgl</groupId> |
| <artifactId>lwjgl-nfd</artifactId> |
| <version>${lwjgl.version}</version> |
| <classifier>${lwjgl.natives}</classifier> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.lwjgl</groupId> |
| <artifactId>lwjgl-openal</artifactId> |
| <version>${lwjgl.version}</version> |
| <classifier>${lwjgl.natives}</classifier> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.lwjgl</groupId> |
| <artifactId>lwjgl-opengl</artifactId> |
| <version>${lwjgl.version}</version> |
| <classifier>${lwjgl.natives}</classifier> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.lwjgl</groupId> |
| <artifactId>lwjgl-par</artifactId> |
| <version>${lwjgl.version}</version> |
| <classifier>${lwjgl.natives}</classifier> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.lwjgl</groupId> |
| <artifactId>lwjgl-sse</artifactId> |
| <version>${lwjgl.version}</version> |
| <classifier>${lwjgl.natives}</classifier> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.lwjgl</groupId> |
| <artifactId>lwjgl-stb</artifactId> |
| <version>${lwjgl.version}</version> |
| <classifier>${lwjgl.natives}</classifier> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.lwjgl</groupId> |
| <artifactId>lwjgl-xxhash</artifactId> |
| <version>${lwjgl.version}</version> |
| <classifier>${lwjgl.natives}</classifier> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.joml</groupId> |
| <artifactId>joml</artifactId> |
| <version>${joml.version}</version> |
| </dependency> |
| <!-- Automatically downloaded by Glowstone's library manager |
| <dependency> |
| <groupId>org.xerial</groupId> |
| <artifactId>sqlite-jdbc</artifactId> |
| <version>3.15.1</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>mysql</groupId> |
| <artifactId>mysql-connector-java</artifactId> |
| <version>5.1.39</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> |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest-library</artifactId> |
| <version>1.3</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.powermock</groupId> |
| <artifactId>powermock-module-junit4</artifactId> |
| <version>1.6.6</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.powermock</groupId> |
| <artifactId>powermock-api-mockito</artifactId> |
| <version>1.6.6</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <finalName>glowstone</finalName> |
| |
| <directory>${project.basedir}/target</directory> |
| |
| <resources> |
| <resource> |
| <directory>${project.basedir}/src/main/resources</directory> |
| </resource> |
| </resources> |
| |
| <defaultGoal>package</defaultGoal> |
| <plugins> |
| <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> |
| <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>3.0.2</version> |
| <configuration> |
| <archive> |
| <manifestEntries> |
| <Implementation-Title>${project.name}</Implementation-Title> |
| <Implementation-Version>${project.version}</Implementation-Version> |
| <Specification-Version>${bukkit.version}</Specification-Version> |
| </manifestEntries> |
| </archive> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>2.10.4</version> |
| <configuration> |
| <failOnError>false</failOnError> |
| <additionalparam>-Xdoclint:none</additionalparam> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>3.0.1</version> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| <configuration> |
| <tasks> |
| <echo>VERSION: ${project.version} / MC${protocol.version}</echo> |
| </tasks> |
| </configuration> |
| </execution> |
| </executions> |
| </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> |
| |
| <profiles> |
| <profile> |
| <id>lwjgl-natives-linux</id> |
| <activation> |
| <os><family>unix</family></os> |
| </activation> |
| <properties> |
| <lwjgl.natives>natives-linux</lwjgl.natives> |
| </properties> |
| </profile> |
| <profile> |
| <id>lwjgl-natives-macos</id> |
| <activation> |
| <os><family>mac</family></os> |
| </activation> |
| <properties> |
| <lwjgl.natives>natives-macos</lwjgl.natives> |
| </properties> |
| </profile> |
| <profile> |
| <id>lwjgl-natives-windows</id> |
| <activation> |
| <os><family>windows</family></os> |
| </activation> |
| <properties> |
| <lwjgl.natives>natives-windows</lwjgl.natives> |
| </properties> |
| </profile> |
| </profiles> |
| </project> |