-
Notifications
You must be signed in to change notification settings - Fork 9
Maven repository
Daniel Saukel edited this page Jun 18, 2018
·
3 revisions
<dependency>
<groupId>de.erethon</groupId>
<artifactId>caliburn</artifactId>
<version>0.4.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>de.erethon</groupId>
<artifactId>itemsxl</artifactId>
<version>0.4.1</version>
<scope>provided</scope>
</dependency>
<repository>
<id>dre-repo</id>
<url>http://erethon.de/repo/</url>
</repository>
Note that ItemsXL is, unlike Caliburn, not supposed to be shaded into your final Java archive. DRECommons may be relocated or not, but Caliburn is not supposed to be relocated sothat multiple implementations running simultaneously (e.g. ItemsXL and DungeonsXL) can use the same item / mob / ... registries.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.1.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<includes>
<include>de.erethon:commons</include>
<include>de.erethon:caliburn</include>
</includes>
</artifactSet>
<relocations>
<relocation>
<pattern>de.erethon.commons</pattern>
<shadedPattern>your.package.commons</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
</executions>
</plugin>
Wiki: © 2016-2020 Daniel Saukel and contributors, licensed under CC BY-SA