From 6ca1c488b300fa69e07dbac4257491c521ffc0bc Mon Sep 17 00:00:00 2001 From: Jitse Boonstra Date: Sun, 26 Apr 2020 19:12:05 +0200 Subject: [PATCH] Update README.md --- README.md | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6189eb8..d6f386b 100755 --- a/README.md +++ b/README.md @@ -54,9 +54,39 @@ If you have NPCLib under your `plugins` folder, you may use the following: ``` If you do not want to have NPCLib in your `plugins` folder, you need to use the `npclib-plugin` artifact and [shade it](https://maven.apache.org/plugins/maven-shade-plugin/) accordingly. - [Click here](https://github.com/JitseB/NPCLib/releases/latest) to view the latest release. +To make sure the classes won't be twice at the same place. I recommend repacking the library into your package. (Otherwise issue #79 might occur.) You can do that as follow: +```xml + + + + org.apache.maven.plugins + maven-shade-plugin + 3.1.0 + + + + + net.jitse.npclib + + your.package + + + + + + package + + shade + + + + + + +``` + **[Click here](https://github.com/JitseB/NPCLib/blob/master/DOCUMENTATION.md) for an elaborate explanation on how to use NPCLib in your next project.** ### Versioning