<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/SpaceManiac/Glowstone</url> | |
<scm> | |
<connection>scm:git:git://github.com/SpaceManiac/Glowstone.git</connection> | |
<developerConnection>scm:git:ssh://git@github.com/SpaceManiac/Glowstone.git</developerConnection> | |
<url>https://github.com/SpaceManiac/Glowstone</url> | |
</scm> | |
<properties> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
<bukkit.version>1.7.2-R0.2</bukkit.version> | |
</properties> | |
<repositories> | |
<repository> | |
<id>bukkit</id> | |
<name>Bukkit Artifactory</name> | |
<layout>default</layout> | |
<url>http://repo.bukkit.org/content/groups/public/</url> | |
</repository> | |
<repository> | |
<id>jboss</id> | |
<name>JBoss Nexus</name> | |
<layout>default</layout> | |
<url>https://repository.jboss.org/nexus/content/groups/public/</url> | |
<snapshots> | |
<enabled>false</enabled> | |
</snapshots> | |
</repository> | |
<repository> | |
<id>heroes</id> | |
<name>Heroes Artifactory</name> | |
<layout>default</layout> | |
<url>http://repo.onarandombox.com/artifactory/repo/</url> | |
<snapshots> | |
<enabled>true</enabled> | |
</snapshots> | |
</repository> | |
</repositories> | |
<pluginRepositories> | |
<pluginRepository> | |
<id>bukkit-plugins</id> | |
<url>http://repo.bukkit.org/content/repositories/plugins-release-local/</url> | |
</pluginRepository> | |
</pluginRepositories> | |
<dependencies> | |
<dependency> | |
<groupId>org.bukkit</groupId> | |
<artifactId>bukkit</artifactId> | |
<version>${bukkit.version}</version> | |
<type>jar</type> | |
<scope>compile</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.jboss.netty</groupId> | |
<artifactId>netty</artifactId> | |
<version>3.2.4.Final</version> | |
<type>jar</type> | |
<scope>compile</scope> | |
</dependency> | |
<dependency> | |
<groupId>jline</groupId> | |
<artifactId>jline</artifactId> | |
<version>0.9.94</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>com.grahamedgecombe</groupId> | |
<artifactId>jterminal</artifactId> | |
<version>1.0.0</version> | |
</dependency> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<version>4.11</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>net.sf.trove4j</groupId> | |
<artifactId>trove4j</artifactId> | |
<version>3.0.1</version> | |
</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-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>SpaceManiac</Implementation-Vendor> | |
<Specification-Title>Bukkit</Specification-Title> | |
<Specification-Version>${bukkit.version}</Specification-Version> | |
<Specification-Vendor>Bukkit Team</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>1.4</version> | |
<executions> | |
<execution> | |
<phase>package</phase> | |
<goals> | |
<goal>shade</goal> | |
</goals> | |
<configuration> | |
<artifactSet> | |
<excludes> | |
<exclude>junit:junit</exclude> | |
</excludes> | |
</artifactSet> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>2.0.2</version> | |
<configuration> | |
<source>1.6</source> | |
<target>1.6</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> | |
</project> |