mirror of
https://github.com/amalthea-mc/ShopChest.git
synced 2024-11-22 18:32:24 +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/
|
You can find the javadoc here: https://epicericee.github.io/ShopChest/javadoc/
|
||||||
|
|
||||||
## Build
|
## 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.
|
After the build succeeded, the ShopChest.jar is found in the ``/target/`` folder.
|
||||||
|
|
||||||
## Issues
|
## 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>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
|
<dependencyManagement>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.spigotmc</groupId>
|
<groupId>org.spigotmc</groupId>
|
||||||
@ -161,11 +162,10 @@
|
|||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>pl.gnacik</groupId>
|
<groupId>pl.gnacik.islandworld</groupId>
|
||||||
<artifactId>IslandWorld</artifactId>
|
<artifactId>IslandWorld</artifactId>
|
||||||
<version>8.5</version>
|
<version>8.5</version>
|
||||||
<scope>system</scope>
|
<scope>provided</scope>
|
||||||
<systemPath>${project.basedir}/lib/IslandWorld-8.5.jar</systemPath>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- Only required for build to succeed ? -->
|
<!-- Only required for build to succeed ? -->
|
||||||
@ -203,7 +203,7 @@
|
|||||||
<version>1.18.4-SNAPSHOT</version>
|
<version>1.18.4-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
</dependencyManagement>
|
||||||
<build>
|
<build>
|
||||||
<resources>
|
<resources>
|
||||||
<resource>
|
<resource>
|
||||||
|
Loading…
Reference in New Issue
Block a user