mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-12-04 22:14:46 +01:00
8e774ea314
Not really a concern as attackers need file access to actually exploit this, but always worth staying up to date regardless :)
140 lines
5.6 KiB
XML
140 lines
5.6 KiB
XML
<?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>
|
|
<version>2.0.0-SNAPSHOT</version>
|
|
</parent>
|
|
<artifactId>bootstrap-standalone</artifactId>
|
|
|
|
<properties>
|
|
<log4j.version>2.17.1</log4j.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.geysermc</groupId>
|
|
<artifactId>core</artifactId>
|
|
<version>2.0.0-SNAPSHOT</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.minecrell</groupId>
|
|
<artifactId>terminalconsoleappender</artifactId>
|
|
<version>1.2.0</version>
|
|
<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>
|
|
<groupId>org.jline</groupId>
|
|
<artifactId>jline-terminal</artifactId>
|
|
<version>3.20.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jline</groupId>
|
|
<artifactId>jline-terminal-jna</artifactId>
|
|
<version>3.20.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jline</groupId>
|
|
<artifactId>jline-reader</artifactId>
|
|
<version>3.20.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-api</artifactId>
|
|
<version>${log4j.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-core</artifactId>
|
|
<version>${log4j.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-slf4j18-impl</artifactId>
|
|
<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-SNAPSHOT</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>
|
|
<minimizeJar>false</minimizeJar>
|
|
</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.geyser.platform.standalone.GeyserStandaloneBootstrap</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>
|