Skip to content
This repository was archived by the owner on Mar 10, 2022. It is now read-only.

Commit 855f279

Browse files
Added Maven Support
1 parent 9c4c06a commit 855f279

File tree

3 files changed

+76
-5
lines changed

3 files changed

+76
-5
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/bin/
22
.project
33
.classpath
4-
/.settings/
4+
/.settings/
5+
/target/

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ I will no longer maintain / update this Project but you can feel free to fork it
44

55
# Compiling
66
You will have to compile this Plugin yourself.
7-
ChestTerminal has been compiled with
8-
* CraftBukkit v1.11.2-R.01
9-
* CS-CoreLib v1.5.2
10-
* Slimefun v4.1.2
7+
8+
Make sure you have [Maven](https://maven.apache.org/download.cgi) installed and run
9+
```mvn package```

pom.xml

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
7+
<groupId>me.mrCookieSlime</groupId>
8+
<artifactId>ChestTerminal</artifactId>
9+
<version>1.0</version>
10+
<properties>
11+
<maven.compiler.source>1.8</maven.compiler.source>
12+
<maven.compiler.target>1.8</maven.compiler.target>
13+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
14+
</properties>
15+
<repositories>
16+
<repository>
17+
<id>paper-repo</id>
18+
<url>https://repo.destroystokyo.com/repository/maven-public/</url>
19+
</repository>
20+
<repository>
21+
<id>spigot-repo</id>
22+
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
23+
</repository>
24+
<repository>
25+
<id>jitpack.io</id>
26+
<url>https://jitpack.io</url>
27+
</repository>
28+
</repositories>
29+
<build>
30+
<!--Maintain existing structure (as much as possible)-->
31+
<sourceDirectory>${project.basedir}/src</sourceDirectory>
32+
<!--doesn't exist but here if you ever do make such a directory-->
33+
<testSourceDirectory>${project.basedir}/tests/java</testSourceDirectory>
34+
<testResources>
35+
<testResource>
36+
<directory>${project.basedir}/tests/resources</directory>
37+
</testResource>
38+
</testResources>
39+
<finalName>${project.name} v${project.version}</finalName>
40+
<resources>
41+
<resource>
42+
<!-- Use plugin.yml in the src directory-->
43+
<!-- This can also automatically update plugin.yml version from pom, if you use ${project.version} as version number-->
44+
<directory>${basedir}/src</directory>
45+
<filtering>true</filtering>
46+
<includes>
47+
<include>plugin.yml</include>
48+
</includes>
49+
</resource>
50+
</resources>
51+
</build>
52+
<dependencies>
53+
<!--Bukkit API-->
54+
<dependency>
55+
<groupId>org.bukkit</groupId>
56+
<artifactId>bukkit</artifactId>
57+
<version>1.12-R0.1-SNAPSHOT</version>
58+
<scope>provided</scope>
59+
</dependency>
60+
<dependency>
61+
<groupId>com.github.TheBusyBiscuit</groupId>
62+
<artifactId>CS-CoreLib</artifactId>
63+
<version>v1.5.16</version>
64+
</dependency>
65+
<dependency>
66+
<groupId>com.github.TheBusyBiscuit</groupId>
67+
<artifactId>Slimefun4</artifactId>
68+
<version>v4.1.12</version>
69+
</dependency>
70+
</dependencies>
71+
</project>

0 commit comments

Comments
 (0)