<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> | |
<repositories> | |
<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> | |
</repositories> | |
<pluginRepositories> | |
<pluginRepository> | |
<id>bukkit-plugins</id> | |
<url>http://repo.bukkit.org/artifactory/plugins-release</url> | |
</pluginRepository> | |
</pluginRepositories> | |
<dependencies> | |
<dependency> | |
<groupId>org.bukkit</groupId> | |
<artifactId>bukkit</artifactId> | |
<version>0.0.1-SNAPSHOT</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> | |
</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>Glowstone</Implementation-Title> | |
<Implementation-Version>${describe}</Implementation-Version> | |
<Implementation-Vendor>SpaceManiac</Implementation-Vendor> | |
<Specification-Title>Bukkit</Specification-Title> | |
<Specification-Version>${api.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.5</source> | |
<target>1.5</target> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |