mirror of
https://github.com/amalthea-mc/ShopChest.git
synced 2024-11-08 19:51:05 +00:00
Install project library in maven local repository
This commit is contained in:
parent
51bee2dd20
commit
2294cce5a0
@ -25,7 +25,7 @@ To use the API, you need to add the following repository and dependency in your
|
||||
You can find the javadoc here: https://epicericee.github.io/ShopChest/javadoc/
|
||||
|
||||
## Build
|
||||
Clone this repository and use ``mvn clean package`` or ``mvn clean install``.
|
||||
Clone this repository and use ``sh lib/install_local_depedencies.sh`` to import local dependencies. Use ``mvn clean package`` or ``mvn clean install``.
|
||||
After the build succeeded, the ShopChest.jar is found in the ``/target/`` folder.
|
||||
|
||||
## Issues
|
||||
|
2
lib/install_local_dependencies.sh
Normal file
2
lib/install_local_dependencies.sh
Normal file
@ -0,0 +1,2 @@
|
||||
cd ..
|
||||
mvn -N install:install-file -Dfile=lib/IslandWorld-8.5.jar -DgroupId=pl.gnacik.islandworld -DartifactId=IslandWorld -Dversion=8.5 -Dpackaging=jar -DgeneratePom=true
|
8
pom.xml
8
pom.xml
@ -93,6 +93,7 @@
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.spigotmc</groupId>
|
||||
@ -161,11 +162,10 @@
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>pl.gnacik</groupId>
|
||||
<groupId>pl.gnacik.islandworld</groupId>
|
||||
<artifactId>IslandWorld</artifactId>
|
||||
<version>8.5</version>
|
||||
<scope>system</scope>
|
||||
<systemPath>${project.basedir}/lib/IslandWorld-8.5.jar</systemPath>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- Only required for build to succeed ? -->
|
||||
@ -203,7 +203,7 @@
|
||||
<version>1.18.4-SNAPSHOT</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</dependencyManagement>
|
||||
<build>
|
||||
<resources>
|
||||
<resource>
|
||||
|
Loading…
Reference in New Issue
Block a user