| <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>io.deathcap.glowstone</groupId> |
| <artifactId>glowstone</artifactId> |
| <version>1.8.3-SNAPSHOT</version> |
| <name>Glowstone</name> |
| <url>https://github.com/deathcap/GlowstonePlusPlus</url> |
| |
| <scm> |
| <connection>scm:git:git://github.com/deathcap/GlowstonePlusPlus.git</connection> |
| <developerConnection>scm:git:ssh://git@github.com/deathcap/GlowstonePlusPlus.git</developerConnection> |
| <url>https://github.com/deathcap/GlowstonePlusPlus</url> |
| </scm> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <bukkit.version>1.8.3-R0.1-SNAPSHOT</bukkit.version> |
| </properties> |
| |
| <parent> |
| <groupId>org.sonatype.oss</groupId> |
| <artifactId>oss-parent</artifactId> |
| <version>9</version> |
| </parent> |
| |
| <repositories> |
| <repository> |
| <id>sonatype</id> |
| <name>Sonatype Nexus</name> |
| <layout>default</layout> |
| <url>https://oss.sonatype.org/content/repositories/public/</url> |
| </repository> |
| </repositories> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.ow2.asm</groupId> |
| <artifactId>asm-debug-all</artifactId> |
| <version>5.0.3</version> |
| </dependency> |
| <dependency> |
| <groupId>org.bukkit</groupId> |
| <artifactId>bukkit</artifactId> |
| <version>${bukkit.version}</version> <!-- Use https://github.com/deathcap/Glowkit/tree/bukkit+glowkit --> |
| <type>jar</type> |
| <scope>compile</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.flowpowered</groupId> |
| <artifactId>flow-networking</artifactId> |
| <version>1.0.0-SNAPSHOT</version> |
| </dependency> |
| <dependency> |
| <groupId>jline</groupId> |
| <artifactId>jline</artifactId> |
| <version>2.11</version> |
| <type>jar</type> |
| <scope>compile</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.projectlombok</groupId> |
| <artifactId>lombok</artifactId> |
| <version>1.14.8</version> |
| <type>jar</type> |
| <scope>provided</scope> |
| </dependency> |
| <!-- |
| <dependency> |
| <groupId>org.xerial</groupId> |
| <artifactId>sqlite-jdbc</artifactId> |
| <version>3.7.2</version> |
| <type>jar</type> |
| <scope>compile</scope> |
| </dependency> |
| <dependency> |
| <groupId>mysql</groupId> |
| <artifactId>mysql-connector-java</artifactId> |
| <version>5.1.14</version> |
| <type>jar</type> |
| <scope>compile</scope> |
| </dependency> |
| --> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-jdk14</artifactId> |
| <version>1.7.7</version> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.11</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>clean install</defaultGoal> |
| <plugins> |
| <plugin> |
| <groupId>com.lukegb.mojo</groupId> |
| <artifactId>gitdescribe-maven-plugin</artifactId> |
| <version>1.3</version> |
| <configuration> |
| <outputPrefix>git-Glowstone-</outputPrefix> |
| <outputPostfix></outputPostfix> |
| </configuration> |
| <executions> |
| <execution> |
| <phase>compile</phase> |
| <goals> |
| <goal>gitdescribe</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>2.15</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.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <version>1.9.1</version> |
| <executions> |
| <execution> |
| <phase>generate-sources</phase> |
| <goals><goal>add-source</goal></goals> |
| <configuration> |
| <sources> |
| <source>${project.basedir}/src/main/java</source> |
| </sources> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>2.1</version> |
| <configuration> |
| <archive> |
| <manifestEntries> |
| <Main-Class>net.glowstone.GlowServer</Main-Class> |
| <Implementation-Title>${project.name}</Implementation-Title> |
| <Implementation-Version>${describe}</Implementation-Version> |
| <Implementation-Vendor>Glowstone Project</Implementation-Vendor> |
| <Specification-Title>Bukkit/Glowkit</Specification-Title> |
| <Specification-Version>${bukkit.version}</Specification-Version> |
| <Specification-Vendor>Glowstone Project</Specification-Vendor> |
| <Sealed>true</Sealed> |
| </manifestEntries> |
| <manifestSections> |
| <manifestSection> |
| <name>net/glowstone/</name> |
| <manifestEntries> |
| <Sealed>true</Sealed> |
| </manifestEntries> |
| </manifestSection> |
| </manifestSections> |
| </archive> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <version>2.3</version> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| <configuration> |
| <artifactSet> |
| <excludes> |
| <exclude>junit:junit</exclude> |
| </excludes> |
| </artifactSet> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <!-- Gotta go after shade plugin --> |
| <plugin> |
| <groupId>net.md-5</groupId> |
| <artifactId>specialsource-maven-plugin</artifactId> |
| <version>1.2.1</version> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>remap</goal> |
| </goals> |
| <configuration> |
| <srgIn>${project.basedir}/deprecation-mappings.csrg</srgIn> |
| <accessIn>${project.basedir}/deprecation-mappings.at</accessIn> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.1</version> |
| <configuration> |
| <source>1.7</source> |
| <target>1.7</target> |
| </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.15</version> |
| <configuration> |
| <configLocation>${project.basedir}/etc/checkstyle.xml</configLocation> |
| <headerLocation>${project.basedir}/LICENSE</headerLocation> |
| </configuration> |
| </plugin> |
| </plugins> |
| </reporting> |
| </project> |