forked from TuxCoding/FastLogin
216 lines
8.1 KiB
XML
216 lines
8.1 KiB
XML
<!--
|
|
|
|
SPDX-License-Identifier: MIT
|
|
|
|
The MIT License (MIT)
|
|
|
|
Copyright (c) 2015-2022 games647 and contributors
|
|
|
|
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.
|
|
|
|
-->
|
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
<groupId>com.github.games647</groupId>
|
|
<artifactId>fastlogin</artifactId>
|
|
<version>1.12-SNAPSHOT</version>
|
|
<relativePath>../pom.xml</relativePath>
|
|
</parent>
|
|
|
|
<!--This has to be in lowercase because it's used by plugin.yml-->
|
|
<artifactId>fastlogin.bungee</artifactId>
|
|
<packaging>jar</packaging>
|
|
|
|
<!--Represents the main plugin-->
|
|
<name>FastLoginBungee</name>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.4.1</version>
|
|
<configuration>
|
|
<minimizeJar>true</minimizeJar>
|
|
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
<shadedArtifactAttached>false</shadedArtifactAttached>
|
|
<artifactSet>
|
|
<excludes>
|
|
<!--Those classes are already present in BungeeCord version-->
|
|
<exclude>net.md-5:bungeecord-config</exclude>
|
|
<exclude>com.google.code.gson:gson</exclude>
|
|
<exclude>com.google.guava:guava</exclude>
|
|
</excludes>
|
|
</artifactSet>
|
|
<relocations>
|
|
<relocation>
|
|
<pattern>com.zaxxer.hikari</pattern>
|
|
<shadedPattern>fastlogin.hikari</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>org.slf4j</pattern>
|
|
<shadedPattern>fastlogin.slf4j</shadedPattern>
|
|
</relocation>
|
|
</relocations>
|
|
<!-- Rename the service file too to let SLF4J api find our own relocated jdk logger -->
|
|
<!-- Located in META-INF/services -->
|
|
<transformers>
|
|
<transformer
|
|
implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
|
|
</transformers>
|
|
<filters>
|
|
<filter>
|
|
<artifact>*:*</artifact>
|
|
<excludes>
|
|
<exclude>META-INF/MANIFEST.MF</exclude>
|
|
<exclude>**/module-info.class</exclude>
|
|
</excludes>
|
|
</filter>
|
|
</filters>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>codemc-repo</id>
|
|
<url>https://repo.codemc.io/repository/maven-public/</url>
|
|
</repository>
|
|
|
|
<repository>
|
|
<id>jitpack.io</id>
|
|
<url>https://jitpack.io</url>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<dependencies>
|
|
<!--Common plugin component-->
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>fastlogin.core</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
|
|
<!--BungeeCord with also the part outside the API-->
|
|
<dependency>
|
|
<groupId>net.md-5</groupId>
|
|
<artifactId>bungeecord-proxy</artifactId>
|
|
<version>1.19-R0.1-SNAPSHOT</version>
|
|
<scope>provided</scope>
|
|
<!-- Use our own newer api version -->
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>mysql</groupId>
|
|
<artifactId>*</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>net.md-5</groupId>
|
|
<artifactId>bungeecord-native</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>net.md-5</groupId>
|
|
<artifactId>bungeecord-query</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>net.md-5</groupId>
|
|
<artifactId>bungeecord-slf4j</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.maven</groupId>
|
|
<artifactId>*</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.maven.resolver</groupId>
|
|
<artifactId>*</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<!--Floodgate for Xbox Live Authentication-->
|
|
<dependency>
|
|
<groupId>org.geysermc.floodgate</groupId>
|
|
<artifactId>api</artifactId>
|
|
<version>${floodgate.version}</version>
|
|
<scope>provided</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>*</groupId>
|
|
<artifactId>*</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<!-- Bedrock player bridge -->
|
|
<dependency>
|
|
<groupId>org.geysermc.geyser</groupId>
|
|
<artifactId>core</artifactId>
|
|
<version>${geyser.version}</version>
|
|
<scope>provided</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>*</groupId>
|
|
<artifactId>*</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<!-- We need the API, but it was excluded above -->
|
|
<dependency>
|
|
<groupId>org.geysermc.geyser</groupId>
|
|
<artifactId>api</artifactId>
|
|
<version>${geyser.version}</version>
|
|
<scope>provided</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>*</groupId>
|
|
<artifactId>*</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<!--Login plugin-->
|
|
<dependency>
|
|
<groupId>me.vik1395</groupId>
|
|
<artifactId>BungeeAuth</artifactId>
|
|
<version>1.4</version>
|
|
<scope>system</scope>
|
|
<systemPath>${project.basedir}/lib/BungeeAuth-1.4.jar</systemPath>
|
|
</dependency>
|
|
</dependencies>
|
|
</project>
|