<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <artifactId>MythicCosmetics-Dist</artifactId> <parent> <groupId>io.lumine</groupId> <artifactId>MythicCosmetics-Plugin</artifactId> <version>${mccosmetics.version}</version> </parent> <pluginRepositories> <pluginRepository> <id>maven-snapshots</id> <url>https://repository.apache.org/content/repositories/snapshots/</url> </pluginRepository> </pluginRepositories> <dependencies> <dependency> <groupId>io.lumine</groupId> <artifactId>MythicCosmetics</artifactId> <version>${project.parent.version}</version> <scope>compile</scope> <optional>true</optional> </dependency> <dependency> <groupId>io.lumine</groupId> <artifactId>MythicCosmetics-v1_21_R2</artifactId> <version>${project.parent.version}</version> <scope>compile</scope> </dependency> <dependency> <groupId>io.lumine</groupId> <artifactId>MythicCosmetics-v1_21_R3</artifactId> <version>${project.parent.version}</version> <scope>compile</scope> </dependency> </dependencies> <build> <sourceDirectory>src/main/java</sourceDirectory> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>3.5.3</version> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <relocations> <relocation> <pattern>org.bstats</pattern> <shadedPattern>io.lumine.cosmetics.metrics</shadedPattern> </relocation> <relocation> <pattern>com.ticxo.playeranimator</pattern> <shadedPattern>io.lumine.cosmetics.playeranimator</shadedPattern> </relocation> </relocations> <minimizeJar>false</minimizeJar> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>3.1.0</version> <configuration> <finalName>MythicCosmetics-${project.parent.version}</finalName> <outputDirectory>${ticxo.build.location}</outputDirectory> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.13.0</version> <configuration> <source>21</source> <target>21</target> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>flatten-maven-plugin</artifactId> <version>1.2.2</version> <configuration> <updatePomFile>true</updatePomFile> </configuration> <executions> <execution> <id>flatten</id> <phase>package</phase> <goals> <goal>flatten</goal> </goals> </execution> <execution> <id>flatten.clean</id> <phase>clean</phase> <goals> <goal>clean</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project>