Geyser/bootstrap/standalone/pom.xml

140 lines
5.5 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<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>
<parent>
<groupId>org.geysermc</groupId>
<artifactId>bootstrap-parent</artifactId>
2022-06-07 15:14:58 +00:00
<version>2.0.4-SNAPSHOT</version>
</parent>
<artifactId>bootstrap-standalone</artifactId>
2021-12-09 19:18:16 +00:00
<properties>
<log4j.version>2.17.1</log4j.version>
2021-12-09 19:18:16 +00:00
</properties>
<dependencies>
<dependency>
<groupId>org.geysermc</groupId>
<artifactId>core</artifactId>
2022-06-07 15:14:58 +00:00
<version>2.0.4-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>net.minecrell</groupId>
<artifactId>terminalconsoleappender</artifactId>
2020-07-03 00:10:43 +00:00
<version>1.2.0</version>
2020-03-01 16:48:49 +00:00
<exclusions>
<exclusion>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
</exclusion>
<exclusion>
<groupId>org.jline</groupId>
<artifactId>jline-reader</artifactId>
</exclusion>
<exclusion>
<groupId>org.jline</groupId>
<artifactId>jline-terminal-jna</artifactId>
</exclusion>
<exclusion>
<groupId>org.jline</groupId>
<artifactId>jline-terminal</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
2020-03-01 16:48:49 +00:00
<groupId>org.jline</groupId>
<artifactId>jline-terminal</artifactId>
2022-02-26 19:26:13 +00:00
<version>3.21.0</version>
</dependency>
<dependency>
2020-03-01 16:48:49 +00:00
<groupId>org.jline</groupId>
<artifactId>jline-terminal-jna</artifactId>
2022-02-26 19:26:13 +00:00
<version>3.21.0</version>
</dependency>
<dependency>
2020-03-01 16:48:49 +00:00
<groupId>org.jline</groupId>
<artifactId>jline-reader</artifactId>
2022-02-26 19:26:13 +00:00
<version>3.21.0</version>
2020-03-01 16:48:49 +00:00
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
2021-12-09 19:18:16 +00:00
<version>${log4j.version}</version>
2020-03-01 16:48:49 +00:00
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
2021-12-09 19:18:16 +00:00
<version>${log4j.version}</version>
2020-03-01 16:48:49 +00:00
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j18-impl</artifactId>
2021-12-09 19:18:16 +00:00
<version>${log4j.version}</version>
</dependency>
</dependencies>
<build>
<finalName>${outputName}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<archive>
<manifestEntries>
<Main-Class>org.geysermc.geyser.platform.standalone.GeyserStandaloneBootstrap</Main-Class>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.3.0</version>
2020-03-05 02:35:23 +00:00
<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>
2020-03-05 02:35:23 +00:00
<minimizeJar>false</minimizeJar>
</configuration>
</execution>
</executions>
2020-03-05 02:35:23 +00:00
<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.geyser.platform.standalone.GeyserStandaloneBootstrap</mainClass>
<manifestEntries>
<Multi-Release>true</Multi-Release>
</manifestEntries>
2020-03-05 02:35:23 +00:00
</transformer>
<transformer
implementation="com.github.edwgiz.mavenShadePlugin.log4j2CacheTransformer.PluginsCacheFileTransformer">
</transformer>
</transformers>
</configuration>
</plugin>
</plugins>
</build>
</project>