-
-
Save hugo4715/c7720088049a190f6365a208d0a743ee to your computer and use it in GitHub Desktop.
pom.xml template for Bukkit/Spigot plugins
This file contains hidden or 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
<!-- My pom.xml's usually look like this and I don't like retyping stuff --> | |
<!-- If any of these are not filled out you should --> | |
<groupId>CHANGE ME - PACKAGE IDENTIFIER</groupId> | |
<artifactId>CHANGE ME - PROJECT PACKAGE IDENTIFIER</artifactId> | |
<version>CHANGE ME - EVERY VERSION</version> | |
<name>CHANGE ME - NO SPACES RECOMMENDED</name> | |
<description>CHANGE ME - ONE SENTENCE DESCRIPTION RECOMMENDED</description> | |
<properties> | |
<!-- Removes warnings --> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
<!-- Used in plugin.yml --> | |
<mainClass>CHANGE ME - CLASS NAME</mainClass> | |
<!-- Also used in plugin.yml --> | |
<author>CHANGE ME - AUTHORS USERNAME</author> | |
</properties> | |
<build> | |
<!-- Uses the properties in this file for plugin.yml and config.yml --> | |
<resources> | |
<resource> | |
<directory>${basedir}/src/main/resources</directory> | |
<filtering>true</filtering> | |
<includes> | |
<include>plugin.yml</include> | |
<include>config.yml</include> | |
</includes> | |
</resource> | |
</resources> | |
<plugins> | |
<!-- Sets the Java version to 8 --> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>3.1</version> | |
<configuration> | |
<source>1.8</source> | |
<target>1.8</target> | |
</configuration> | |
</plugin> | |
<!-- Sets the custom JARfile name (Project name without spaces is good) --> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-jar-plugin</artifactId> | |
<version>2.4</version> | |
<configuration> | |
<finalName>${project.name}</finalName> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
<!-- This is the spigot repository, if you need others look them up --> | |
<repositories> | |
<repository> | |
<id>spigot-repo</id> | |
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url> | |
</repository> | |
</repositories> | |
<!-- Spigot dependency version, if you need others look them up --> | |
<dependencies> | |
<dependency> | |
<groupId>org.spigotmc</groupId> | |
<artifactId>spigot-api</artifactId> | |
<version>1.10.2-R0.1-SNAPSHOT</version> | |
</dependency> | |
</dependencies> |
rg bl lk mgko,og,go, k rokmg omgko,fg,gok,gok, lkglg
g
'hg ];h\fh /
f 'h
hg
f'h
h
f
h
h
ht
ty
hhhhth
th
h
h
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@ # # # # # #