Update readme with explanation on how to build

This commit is contained in:
Sem
2026-10-24 17:56:00 +02:00
parent 9e06c961d0
commit b236f50a09
4 changed files with 23 additions and 3 deletions
+15 -1
View File
@@ -6,4 +6,18 @@ Interesting Corner Spigot plugins for the Minecraft server:
Core plugin that handles the database and has base classes for creating a GUI.
### IC-Coords
Coordinates plugin to be able to save, load and teleport to different waypoints
Coordinates plugin to be able to save, load and teleport to different waypoints
# Building
To build the project, install the Maven for Java VSCode plugin. It will detect all the available projects and artifacts.
Install maven. Example in cachyOS:
```bash
sudo pacman -S maven
```
Then, run the install task for the `ic_plugins` project, or execute this command in the root of the repository:
```bash
mvn install -f "pom.xml"
```
The plugins jars will be in the _target_ folder of each plugin's folder
+3
View File
@@ -111,6 +111,9 @@
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.1.2</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
<plugin>
+3
View File
@@ -111,6 +111,9 @@
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.1.2</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
<plugin>
+2 -2
View File
@@ -1,5 +1,5 @@
#!/bin/bash
mvn install -f "/home/sem/Development/Minecraft/mc-ic-server/pom.xml"
mvn install -f "pom.xml"
scp ic_plugin_core/target/ic_plugin_core-1.0-SNAPSHOT.jar sem@10.10.100.50:/home/sem/minecraft/plugins
scp ic_plugin_coordinates/target/ic_plugin_coordinates-1.0-SNAPSHOT.jar sem@10.10.100.50:/home/sem/minecraft/plugins
scp ic_plugin_coordinates/target/ic_plugin_coordinates-1.0-SNAPSHOT.jar sem@10.10.100.50:/home/sem/minecraft/plugins