Skip to content

Instantly share code, notes, and snippets.

@stevecordle
Last active August 29, 2015 14:22
Show Gist options
  • Save stevecordle/c76e8ec94a4dbfadca27 to your computer and use it in GitHub Desktop.
Save stevecordle/c76e8ec94a4dbfadca27 to your computer and use it in GitHub Desktop.
POM.XML bukkit plugin setup
http://wiki.bukkit.org/Plugin_Tutorial
http://www.spigotmc.org/wiki/spigot-maven/
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>spigot-repo</id>
<url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
</repository>
</repositories>
<dependencies>
<!--Spigot-API -->
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.8.6-R0.1-SNAPSHOT</version>
</dependency>
<!--Bukkit API -->
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>1.8.6-R0.1-SNAPSHOT</version>
</dependency>
</dependencies>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment