Created
October 12, 2016 13:22
-
-
Save hugo4715/bfc63d422b53a9a666414c1e83331919 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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> | |
<artifactId>${artifactId}</artifactId> | |
<groupId>${groupId}</groupId> | |
<version>${version}</version> | |
<!-- Repositories --> | |
<repositories> | |
<repository> | |
<id>spigot-repo</id> | |
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url> | |
</repository> | |
</repositories> | |
<!-- Dependencies --> | |
<dependencies> | |
<!--Spigot API--> | |
<dependency> | |
<groupId>org.spigotmc</groupId> | |
<artifactId>spigot-api</artifactId> | |
<version>1.8.8-R0.1-SNAPSHOT</version> | |
<scope>provided</scope> | |
</dependency> | |
<!--Bukkit API--> | |
<dependency> | |
<groupId>org.bukkit</groupId> | |
<artifactId>bukkit</artifactId> | |
<version>1.8.8-R0.1-SNAPSHOT</version> | |
<scope>provided</scope> | |
</dependency> | |
</dependencies> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>2.3.2</version> | |
<configuration> | |
<source>1.6</source> | |
<target>1.6</target> | |
</configuration> | |
</plugin> | |
<plugin> | |
<artifactId>maven-antrun-plugin</artifactId> | |
<configuration> | |
<tasks> | |
<copy file="target/${artifactId}-${version}.jar" todir="${spigot}/plugins"/> | |
</tasks> | |
</configuration> | |
<executions> | |
<execution> | |
<phase>install</phase> | |
<goals> | |
<goal>run</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment