about summary refs log tree commit diff
path: root/pom.xml
diff options
context:
space:
mode:
authorGenny <gen@nyble.dev>2020-02-03 14:21:42 -0600
committerGenny <gen@nyble.dev>2020-02-03 14:21:42 -0600
commit8c79ab0d5a96f89e74a070968f8787f9ba94a8c8 (patch)
tree93d0bc26f68c802860d2e8cabc2d4381eeffeb44 /pom.xml
downloadsunfright-8c79ab0d5a96f89e74a070968f8787f9ba94a8c8.tar.gz
sunfright-8c79ab0d5a96f89e74a070968f8787f9ba94a8c8.zip
Initial commit
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml69
1 files changed, 69 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..fe464f3
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,69 @@
+<!-- based on https://github.com/sgrayme/SpigotPlugin/blob/master/pom.xml -->
+<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/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <groupId>dev.genbyte.sunfright</groupId>
+  <artifactId>sunfright</artifactId>
+  <packaging>jar</packaging>
+  <version>0.1.0</version>
+
+  <name>sunfright</name>
+  <description>Burn me to a cript, large glowing orb!</description>
+  <url>https://genbyte.dev</url><!-- TODO: add URL -->
+
+  <developers>
+    <developer>
+      <name>Genuinebyte</name>
+      <url>https://genbyte.dev</url>
+    </developer>
+  </developers>
+
+  <properties>
+    <author>Genuinebyte</author>
+    <mainClass>dev.genbyte.sunfright.Sunfright</mainClass>
+    <maven.compiler.source>1.8</maven.compiler.source>
+    <maven.compiler.target>1.8</maven.compiler.target>
+  </properties>
+
+  <repositories>
+    <!-- Spigot Maven repository -->
+    <repository>
+      <id>spigot-repo</id>
+      <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
+    </repository>
+  </repositories>
+
+  <dependencies>
+    <!--Spigot API -->
+    <dependency>
+      <groupId>org.spigotmc</groupId>
+      <artifactId>spigot-api</artifactId>
+      <version>1.15.1-R0.1-SNAPSHOT</version>
+      <scope>provided</scope>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <sourceDirectory>src/main/java</sourceDirectory>
+    <defaultGoal>clean install</defaultGoal>
+
+    <resources>
+      <resource>
+        <directory>src/main/resources</directory>
+        <filtering>true</filtering>
+        <includes>
+          <include>plugin.yml</include>
+        </includes>
+      </resource>
+
+      <resource>
+        <directory>src/main/resources</directory>
+        <filtering>false</filtering>
+        <excludes>
+          <exclude>plugin.yml</exclude>
+        </excludes>
+      </resource>
+    </resources>
+  </build>
+</project>