mirror of
https://github.com/GeyserMC/MCProtocolLib.git
synced 2024-12-04 12:51:09 -05:00
7be81ec106
There are 1.7 classes being used, so we should specify that Java 1.7 is required.
118 lines
4.2 KiB
XML
118 lines
4.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<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>org.spacehq</groupId>
|
|
<artifactId>packetlib</artifactId>
|
|
<version>1.0</version>
|
|
<packaging>jar</packaging>
|
|
|
|
<name>PacketLib</name>
|
|
<description>A library for networking between a client and a server with packets.</description>
|
|
<url>http://github.com/Steveice10/PacketLib/</url>
|
|
|
|
<scm>
|
|
<connection>scm:git:git@github.com:Steveice10/PacketLib.git</connection>
|
|
<developerConnection>scm:git:git@github.com:Steveice10/PacketLib.git</developerConnection>
|
|
<url>git@github.com:Steveice10/PacketLib/</url>
|
|
</scm>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
</properties>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>MIT</name>
|
|
<url>http://www.opensource.org/licenses/mit-license.html</url>
|
|
<distribution>repo</distribution>
|
|
</license>
|
|
</licenses>
|
|
|
|
<developers>
|
|
<developer>
|
|
<id>steveice10</id>
|
|
<name>Steveice10</name>
|
|
<email>Steveice10@gmail.com</email>
|
|
</developer>
|
|
</developers>
|
|
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>spacehq</id>
|
|
<name>spacehq-releases</name>
|
|
<url>https://repo.spacehq.org/content/repositories/releases/</url>
|
|
</repository>
|
|
<snapshotRepository>
|
|
<id>spacehq</id>
|
|
<name>spacehq-snapshots</name>
|
|
<url>https://repo.spacehq.org/content/repositories/snapshots/</url>
|
|
</snapshotRepository>
|
|
</distributionManagement>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>spacehq-releases</id>
|
|
<url>https://repo.spacehq.org/content/repositories/releases/</url>
|
|
</repository>
|
|
<repository>
|
|
<id>spacehq-snapshots</id>
|
|
<url>https://repo.spacehq.org/content/repositories/snapshots/</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-all</artifactId>
|
|
<version>5.0.0.Alpha2</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<defaultGoal>clean install</defaultGoal>
|
|
<sourceDirectory>${basedir}/src/main/java</sourceDirectory>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>2.5.1</version>
|
|
<configuration>
|
|
<source>1.7</source>
|
|
<target>1.7</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>2.6</version>
|
|
</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>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml</dependencyReducedPomLocation>
|
|
<filters>
|
|
<filter>
|
|
<artifact>*:*</artifact>
|
|
<excludes>
|
|
<exclude>META-INF/*.SF</exclude>
|
|
<exclude>META-INF/*.DSA</exclude>
|
|
<exclude>META-INF/*.RSA</exclude>
|
|
</excludes>
|
|
</filter>
|
|
</filters>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|