mirror of
https://github.com/GeyserMC/PackConverter.git
synced 2025-12-30 20:29:24 +00:00
172 lines
6.9 KiB
XML
172 lines
6.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
~ Copyright (c) 2019-2020 GeyserMC. http://geysermc.org
|
|
~
|
|
~ Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
~ of this software and associated documentation files (the "Software"), to deal
|
|
~ in the Software without restriction, including without limitation the rights
|
|
~ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
~ copies of the Software, and to permit persons to whom the Software is
|
|
~ furnished to do so, subject to the following conditions:
|
|
~
|
|
~ The above copyright notice and this permission notice shall be included in
|
|
~ all copies or substantial portions of the Software.
|
|
~
|
|
~ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
~ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
~ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
~ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
~ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
~ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
~ THE SOFTWARE.
|
|
~
|
|
~ @author GeyserMC
|
|
~ @link https://github.com/GeyserMC/PackConverter
|
|
~
|
|
-->
|
|
|
|
<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>
|
|
|
|
<groupId>org.geysermc</groupId>
|
|
<artifactId>packconverter</artifactId>
|
|
<version>2.0-SNAPSHOT</version>
|
|
|
|
<name>PackConverter</name>
|
|
<description>Converts java edition resource packs into bedrock edition resource packs.</description>
|
|
<url>https://geysermc.org</url>
|
|
|
|
<properties>
|
|
<outputName>PackConverter</outputName>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
<maven.compiler.source>16</maven.compiler.source>
|
|
<maven.compiler.target>16</maven.compiler.target>
|
|
</properties>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>nukkitx-release-repo</id>
|
|
<url>https://repo.nukkitx.com/maven-releases/</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
</releases>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>1.18.20</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
<version>2.11.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.twelvemonkeys.imageio</groupId>
|
|
<artifactId>imageio-tga</artifactId>
|
|
<version>3.5</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.nukkitx.fastutil</groupId>
|
|
<artifactId>fastutil-int-object-maps</artifactId>
|
|
<version>8.3.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.kyori</groupId>
|
|
<artifactId>adventure-api</artifactId>
|
|
<version>4.1.1</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.kyori</groupId>
|
|
<artifactId>adventure-text-serializer-gson</artifactId>
|
|
<version>4.1.1</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.kyori</groupId>
|
|
<artifactId>adventure-text-serializer-legacy</artifactId>
|
|
<version>4.1.1</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>3.2.0</version>
|
|
<configuration>
|
|
<archive>
|
|
<manifest>
|
|
<mainClass>org.geysermc.packconverter.bootstrap.Main</mainClass>
|
|
</manifest>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.2.1</version>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.github.edwgiz</groupId>
|
|
<artifactId>maven-shade-plugin.log4j2-cachefile-transformer</artifactId>
|
|
<version>2.8.1</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<finalName>${outputName}</finalName>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<filters>
|
|
<filter>
|
|
<artifact>*:*</artifact>
|
|
<excludes>
|
|
<exclude>META-INF/versions/9/module-info.class</exclude>
|
|
</excludes>
|
|
</filter>
|
|
</filters>
|
|
<transformers>
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
|
<mainClass>org.geysermc.packconverter.bootstrap.Main</mainClass>
|
|
<manifestEntries>
|
|
<Multi-Release>true</Multi-Release>
|
|
</manifestEntries>
|
|
</transformer>
|
|
<transformer
|
|
implementation="com.github.edwgiz.mavenShadePlugin.log4j2CacheTransformer.PluginsCacheFileTransformer">
|
|
</transformer>
|
|
</transformers>
|
|
<dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml</dependencyReducedPomLocation>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project> |