mirror of
https://github.com/TuxCoding/FastLogin.git
synced 2026-01-25 16:42:32 +01:00
151 lines
5.9 KiB
XML
151 lines
5.9 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="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 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.velocity</artifactId>
|
|
<packaging>jar</packaging>
|
|
|
|
<!--Represents the main plugin-->
|
|
<name>FastLoginVelocity</name>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>templating-maven-plugin</artifactId>
|
|
<version>1.0.0</version>
|
|
<executions>
|
|
<execution>
|
|
<id>filter-src</id>
|
|
<goals>
|
|
<goal>filter-sources</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.3.0</version>
|
|
<configuration>
|
|
<minimizeJar>true</minimizeJar>
|
|
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
<shadedArtifactAttached>false</shadedArtifactAttached>
|
|
<relocations>
|
|
<relocation>
|
|
<pattern>com.zaxxer.hikari</pattern>
|
|
<shadedPattern>fastlogin.hikari</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>net.md_5.bungee.config</pattern>
|
|
<shadedPattern>fastlogin.config</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>org.mariadb</pattern>
|
|
<shadedPattern>fastlogin.mariadb</shadedPattern>
|
|
</relocation>
|
|
</relocations>
|
|
<artifactSet>
|
|
<!--org.slf4j is part of velocity api and runtime,
|
|
shading and relocating it causes logger injection to fail-->
|
|
<excludes>
|
|
<exclude>org.slf4j:*</exclude>
|
|
<exclude>com.google.code.gson:gson</exclude>
|
|
<!-- Ships the same old version -->
|
|
<exclude>com.google.guava:guava</exclude>
|
|
</excludes>
|
|
</artifactSet>
|
|
<filters>
|
|
<filter>
|
|
<artifact>*:*</artifact>
|
|
<excludes>
|
|
<exclude>META-INF/MANIFEST.MF</exclude>
|
|
</excludes>
|
|
</filter>
|
|
<filter>
|
|
<artifact>org.mariadb.jdbc:*</artifact>
|
|
<includes>
|
|
<include>**</include>
|
|
</includes>
|
|
</filter>
|
|
</filters>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>velocity</id>
|
|
<url>https://repo.papermc.io/repository/maven-public/</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<dependencies>
|
|
<!--Common plugin component-->
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>fastlogin.core</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
|
|
<!--Velocity api-->
|
|
<dependency>
|
|
<groupId>com.velocitypowered</groupId>
|
|
<artifactId>velocity-api</artifactId>
|
|
<version>3.1.1</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!--Velocity does not ship any database driver-->
|
|
<dependency>
|
|
<groupId>org.mariadb.jdbc</groupId>
|
|
<artifactId>mariadb-java-client</artifactId>
|
|
<version>3.0.6</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</project>
|