mirror of
https://github.com/TuxCoding/FastLogin.git
synced 2026-01-26 09:02:19 +01:00
If a header is missing, then the build should fail. If someone commits a new file, WITHOUT building it beforehnd, than that header won't be added. The CI will build the plugin, but changes made by the CI are not retained in the source tree.
148 lines
5.4 KiB
XML
148 lines
5.4 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>
|
|
|
|
<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.11-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>
|
|
|
|
<java.version>1.8</java.version>
|
|
<maven.compiler.source>${java.version}</maven.compiler.source>
|
|
<maven.compiler.target>${java.version}</maven.compiler.target>
|
|
|
|
<floodgate.version>2.0-SNAPSHOT</floodgate.version>
|
|
<geyser.version>2.0.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.1</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>
|
|
</excludes>
|
|
</licenseSet>
|
|
</licenseSets>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>process-sources</phase>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<!--Replace variables-->
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
</build>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.13.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</project>
|