-
Notifications
You must be signed in to change notification settings - Fork 26
How to setup
Zeanon edited this page Oct 24, 2019
·
5 revisions
- Place this in your repository-section:
<!-- TheWarKing Repo -->
<repository>
<id>thewarking-public</id>
<url>http://thewarking.de:8081/repository/Storage/</url>
</repository>
- Place this in your dependency-section:
<dependency>
<groupId>de.leonhard</groupId>
<artifactId>lightningstorage</artifactId>
<version>2.5</version>
<scope>compile</scope>
</dependency>
- Important! Use a shade plugin to make sure that the library is shaded into your final .jar file when your plugin is compiled. The relocation is optional but heavily recommended.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
<configuration>
<relocations>
<relocation>
<pattern>de.leonhard</pattern>
<shadedPattern>yourpackage.yourname.storage</shadedPattern>
</relocation>
</relocations>
<createDependencyReducedPom>false</createDependencyReducedPom>
</configuration>
</plugin>
2020-2022 - SimplixSoftworks