forked from TuxCoding/FastLogin
211 lines
8.0 KiB
XML
211 lines
8.0 KiB
XML
<!--
|
|
|
|
SPDX-License-Identifier: MIT
|
|
|
|
The MIT License (MIT)
|
|
|
|
Copyright (c) 2015-2023 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>
|
|
|
|
<groupId>com.github.games647</groupId>
|
|
<!--This has to be in lowercase because it's used by plugin.yml-->
|
|
<artifactId>fastlogin</artifactId>
|
|
<packaging>pom</packaging>
|
|
|
|
<name>FastLogin</name>
|
|
<version>1.12-SNAPSHOT</version>
|
|
|
|
<url>https://www.spigotmc.org/resources/fastlogin.14153/</url>
|
|
<description>
|
|
Automatically login premium (paid accounts) player on an offline mode server
|
|
</description>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<!-- Set default for non-git clones -->
|
|
<git.commit.id>Unknown</git.commit.id>
|
|
|
|
<!-- Verify Java 8 compatibility while compiling with a newer toolchain
|
|
(i.e. check for unavailable methods) -->
|
|
<java.version>8</java.version>
|
|
<maven.compiler.source>${java.version}</maven.compiler.source>
|
|
<maven.compiler.target>${java.version}</maven.compiler.target>
|
|
<maven.compiler.release>${java.version}</maven.compiler.release>
|
|
|
|
<floodgate.version>development-2.2.2-SNAPSHOT</floodgate.version>
|
|
<geyser.version>2.1.0-SNAPSHOT</geyser.version>
|
|
</properties>
|
|
|
|
<modules>
|
|
<module>core</module>
|
|
<module>bukkit</module>
|
|
<module>bungee</module>
|
|
<module>velocity</module>
|
|
</modules>
|
|
|
|
<!--Deployment configuration for the Maven repository-->
|
|
<distributionManagement>
|
|
<snapshotRepository>
|
|
<id>codemc-snapshots</id>
|
|
<url>https://repo.codemc.io/repository/maven-snapshots/</url>
|
|
</snapshotRepository>
|
|
<repository>
|
|
<id>codemc-releases</id>
|
|
<url>https://repo.codemc.io/repository/maven-releases/</url>
|
|
</repository>
|
|
</distributionManagement>
|
|
|
|
<build>
|
|
<!--Just use the project name to replace an old version of the plugin if the user does only copy-paste-->
|
|
<finalName>${project.name}</finalName>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>pl.project13.maven</groupId>
|
|
<artifactId>git-commit-id-plugin</artifactId>
|
|
<version>4.9.10</version>
|
|
<configuration>
|
|
<failOnNoGitDirectory>false</failOnNoGitDirectory>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>get-the-git-infos</id>
|
|
<goals>
|
|
<goal>revision</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>com.mycila</groupId>
|
|
<artifactId>license-maven-plugin</artifactId>
|
|
<version>4.3</version>
|
|
<configuration>
|
|
<licenseSets>
|
|
<licenseSet>
|
|
<multi>
|
|
<!-- Machine-readable representation -->
|
|
<preamble>SPDX-License-Identifier: MIT</preamble>
|
|
<header>LICENSE</header>
|
|
</multi>
|
|
<excludes>
|
|
<exclude>src/test/resources/**</exclude>
|
|
<exclude>src/main/resources/**</exclude>
|
|
<exclude>.java-version</exclude>
|
|
</excludes>
|
|
</licenseSet>
|
|
</licenseSets>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>process-sources</phase>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
<version>3.3.1</version>
|
|
<configuration>
|
|
<configLocation>checkstyle.xml</configLocation>
|
|
<consoleOutput>true</consoleOutput>
|
|
<failsOnError>true</failsOnError>
|
|
<linkXRef>false</linkXRef>
|
|
</configuration>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.puppycrawl.tools</groupId>
|
|
<artifactId>checkstyle</artifactId>
|
|
<version>10.12.7</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<executions>
|
|
<execution>
|
|
<id>validate</id>
|
|
<phase>validate</phase>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<!-- Require newer versions for Junit5 support -->
|
|
<plugin>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>3.2.5</version>
|
|
</plugin>
|
|
</plugins>
|
|
|
|
<resources>
|
|
<resource>
|
|
<!-- Certificate should not be filtered, as it would make it invalid -->
|
|
<directory>src/main/resources</directory>
|
|
<includes>
|
|
<include>yggdrasil_session_pubkey.der</include>
|
|
</includes>
|
|
<filtering>false</filtering>
|
|
</resource>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<excludes>
|
|
<exclude>yggdrasil_session_pubkey.der</exclude>
|
|
</excludes>
|
|
<!--Replace variables-->
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
</build>
|
|
|
|
<dependencies>
|
|
<!-- Use lombok to use some newer Java syntax features in Java 8 -->
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>1.18.30</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter</artifactId>
|
|
<version>5.10.1</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!-- Require inline to support static mocks -->
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-core</artifactId>
|
|
<version>5.9.0</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</project>
|