Last active
April 6, 2022 18:09
-
-
Save Pocketkid2/c2b64b91088d7318632d to your computer and use it in GitHub Desktop.
[1.18] Template pom.xml for people who don't know what they're doing
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
<properties> | |
<author>Pocketkid2</author> | |
<maven.compiler.source>17</maven.compiler.source> | |
<maven.compiler.target>17</maven.compiler.target> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
</properties> | |
<packaging>jar</packaging> | |
<build> | |
<resources> | |
<resource> | |
<directory>${basedir}/src/main/resources</directory> | |
<filtering>true</filtering> | |
<includes> | |
<include>plugin.yml</include> | |
<include>config.yml</include> | |
<!-- Add other any other .yml or text files here --> | |
</includes> | |
</resource> | |
</resources> | |
<finalName>${project.name}</finalName> | |
</build> | |
<repositories> | |
<repository> | |
<id>spigot-repo</id> | |
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url> | |
</repository> | |
</repositories> | |
<dependencies> | |
<dependency> | |
<groupId>org.spigotmc</groupId> | |
<artifactId>spigot-api</artifactId> | |
<version>1.18.2-R0.1-SNAPSHOT</version> | |
<scope>provided</scope> | |
</dependency> | |
</dependencies> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment