| <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.glowstone</groupId> |
| <artifactId>glowstone</artifactId> |
| <version>0.0.1-SNAPSHOT</version> |
| <name>Glowstone</name> |
| <url>https://github.com/GlowstoneMC/Glowstone</url> |
| |
| <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> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <bukkit.version>1.8-R1-SNAPSHOT</bukkit.version> |
| </properties> |
| |
| <repositories> |
| <repository> |
| <id>glowstone</id> |
| <name>Glowstone Artifactory</name> |
| <layout>default</layout> |
| <url>http://repo.glowstone.net/content/groups/public/</url> |
| </repository> |
| <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>net.glowstone</groupId> |
| <artifactId>glowkit</artifactId> |
| <version>${bukkit.version}</version> |
| <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>compile</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> |
| <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>LICENSE</headerLocation> |
| </configuration> |
| </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>LICENSE</headerLocation> |
| </configuration> |
| </plugin> |
| </plugins> |
| </reporting> |
| </project> |