Update readme with explanation on how to build
This commit is contained in:
@@ -7,3 +7,17 @@ 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
|
||||
|
||||
# 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
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
+1
-1
@@ -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
|
||||
Reference in New Issue
Block a user