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