Move dependencies to achieve standalone functionality of API module

This commit is contained in:
Daniel Saukel 2020-03-16 17:45:14 +01:00
parent 6b9ac9d624
commit 12d9d73e8a
4 changed files with 21 additions and 20 deletions

View File

@ -25,6 +25,27 @@
</execution>
</executions>
</plugin>
<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>
<configuration>
<artifactSet>
<includes>
<include>de.erethon:caliburn</include>
<include>de.erethon.commons:commons-dist</include>
</includes>
</artifactSet>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>

View File

@ -16,9 +16,6 @@
*/
package de.erethon.dungeonsxl;
import de.erethon.dungeonsxl.sign.rocker.TriggerSign;
import de.erethon.dungeonsxl.sign.button.CheckpointSign;
import de.erethon.dungeonsxl.sign.button.SoundMessageSign;
import de.erethon.caliburn.CaliburnAPI;
import de.erethon.caliburn.loottable.LootTable;
import de.erethon.caliburn.mob.ExMob;

View File

@ -16,7 +16,6 @@
*/
package de.erethon.dungeonsxl.world;
import de.erethon.caliburn.CaliburnAPI;
import de.erethon.dungeonsxl.DungeonsXL;
import de.erethon.dungeonsxl.api.dungeon.GameRule;
import de.erethon.dungeonsxl.api.dungeon.GameRuleContainer;

16
dist/pom.xml vendored
View File

@ -25,26 +25,10 @@
<configuration>
<artifactSet>
<includes>
<include>de.erethon:caliburn</include>
<include>de.erethon.commons:commons-dist</include>
<include>de.erethon.vignette:vignette-dist</include>
<include>de.erethon.dungeonsxl:*</include>
</includes>
</artifactSet>
<relocations>
<relocation>
<pattern>de.erethon.commons</pattern>
<shadedPattern>de.erethon.dungeonsxl.util.commons</shadedPattern>
</relocation>
<relocation>
<pattern>de.erethon.caliburn.util.compatibility</pattern>
<shadedPattern>de.erethon.dungeonsxl.util.commons.compatibility</shadedPattern>
</relocation>
<relocation>
<pattern>de.erethon.vignette</pattern>
<shadedPattern>de.erethon.dungeonsxl.util.vignette</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
</executions>