commandapi
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>dev.jorel</groupId>
<artifactId>commandapi</artifactId>
<version>11.2.0</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2018, 2021 Jorel Ali (Skepter) - MIT License
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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>dev.jorel</groupId>
<artifactId>commandapi</artifactId>
<version>11.2.0</version>
<packaging>pom</packaging>
<name>commandapi</name>
<description>A Bukkit/Spigot API for the command UI introduced in Minecraft 1.13</description>
<url>https://github.com/JorelAli/CommandAPI</url>
<licenses>
<license>
<name>MIT License</name>
<url>http://www.opensource.org/licenses/mit-license.php</url>
</license>
</licenses>
<developers>
<developer>
<id>jorelali</id>
<name>Jorel Ali</name>
<email>maven@jorel.dev</email>
<url>https://jorel.dev/</url>
</developer>
</developers>
<scm>
<connection>scm:git:git://github.com/CommandAPI/CommandAPI.git</connection>
<developerConnection>scm:git:ssh://github.com:CommandAPI/CommandAPI.git</developerConnection>
<url>https://github.com/CommandAPI/CommandAPI/tree/master</url>
</scm>
<modules>
<!-- Compile time reflection checker -->
<module>commandapi-preprocessor</module>
<!-- Main core code -->
<module>commandapi-core</module>
<!-- Plugin core code -->
<module>commandapi-plugin</module>
<!-- Platform implementations (includes documentation code) -->
<module>commandapi-platforms</module>
<module>commandapi-kotlin</module>
<!-- Outputs -->
<module>commandapi-annotations</module>
<module>commandapi-testing</module>
<!-- Code coverage reports -->
<module>commandapi-codecov</module>
</modules>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.mockbukkit.mockbukkit</groupId>
<artifactId>mockbukkit-v1.21</artifactId>
<version>4.76.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
</dependencyManagement>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.build.timestamp.format>dd_MMM_yyyy_(hh-mm-ssa)</maven.build.timestamp.format>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<kotlin.version>2.3.0</kotlin.version>
<!-- Shared versions. This is used by things such as the networking
plugin which doesn't need a dedicated NMS version. This should be
(ideally) the lowest version amongst versions -->
<spigot.version.common>1.20.1-R0.1-20230921.165347-11</spigot.version.common>
<spigot.api.version.common>1.20.1-R0.1-20230921.165251-11</spigot.api.version.common>
<folia.version.common>1.20.1-R0.1-20230911.182805-18</folia.version.common>
<paper.version.bukkit.common>1.20.1-R0.1-20230921.165944-178</paper.version.bukkit.common>
<paper.version.common>1.20.6-R0.1-20241030.191541-127</paper.version.common>
<velocity.version.common>3.3.0-20240916.013244-136</velocity.version.common>
<!-- API versions. Because Maven Central doesn't allow SNAPSHOT versions
in pom.xml files anymore, we need to get specific versions of SNAPSHOT
builds Instead of declaring this in every pom.xml, we'll just have a
mega chungus list here instead. -->
<spigot.version.1.20.1>1.20.1-R0.1-20230921.165347-11</spigot.version.1.20.1>
<spigot.version.1.20.2>1.20.2-R0.1-20231205.170413-10</spigot.version.1.20.2>
<spigot.version.1.20.3>1.20.3-R0.1-20231207.200858-2</spigot.version.1.20.3>
<spigot.version.1.20.4>1.20.4-R0.1-20240423.154326-27</spigot.version.1.20.4>
<spigot.version.1.20.5>1.20.5-R0.1-20240429.203257-8</spigot.version.1.20.5>
<spigot.version.1.20.6>1.20.6-R0.1-20240613.152322-4</spigot.version.1.20.6>
<spigot.version.1.21.1>1.21.1-R0.1-20241120.105205-27</spigot.version.1.21.1>
<spigot.version.1.21.3>1.21.3-R0.1-20250116.085943-59</spigot.version.1.21.3>
<spigot.version.1.21.4>1.21.4-R0.1-20250425.052153-76</spigot.version.1.21.4>
<spigot.version.1.21.5>1.21.5-R0.1-20250723.090352-40</spigot.version.1.21.5>
<spigot.version.1.21.6>1.21.6-R0.1-20250617.185834-1</spigot.version.1.21.6>
<spigot.version.1.21.7>1.21.7-R0.1-20250630.172254-1</spigot.version.1.21.7>
<spigot.version.1.21.8>1.21.8-R0.1-20251112.105536-42</spigot.version.1.21.8>
<spigot.version.1.21.9>1.21.9-R0.1-20250930.202015-1</spigot.version.1.21.9>
<spigot.version.1.21.11>1.21.11-R0.1-20260115.203122-4</spigot.version.1.21.11>
<spigot.version.26.1>26.1-R0.1-20260325.170250-2</spigot.version.26.1>
<spigot.api.version.1.20.1>1.20.1-R0.1-20230921.165251-11</spigot.api.version.1.20.1>
<spigot.api.version.1.20.2>1.20.2-R0.1-20231205.170307-10</spigot.api.version.1.20.2>
<spigot.api.version.1.20.3>1.20.3-R0.1-20231207.200753-2</spigot.api.version.1.20.3>
<spigot.api.version.1.20.4>1.20.4-R0.1-20240423.154232-27</spigot.api.version.1.20.4>
<spigot.api.version.1.20.5>1.20.5-R0.1-20240429.203257-8</spigot.api.version.1.20.5>
<spigot.api.version.1.20.6>1.20.6-R0.1-20240613.152322-4</spigot.api.version.1.20.6>
<spigot.api.version.1.21.1>1.21.1-R0.1-20241120.105205-27</spigot.api.version.1.21.1>
<spigot.api.version.1.21.3>1.21.3-R0.1-20250116.085943-60</spigot.api.version.1.21.3>
<spigot.api.version.1.21.4>1.21.4-R0.1-20250425.052153-78</spigot.api.version.1.21.4>
<spigot.api.version.1.21.5>1.21.5-R0.1-20250723.090352-41</spigot.api.version.1.21.5>
<spigot.api.version.1.21.6>1.21.6-R0.1-20250617.185834-1</spigot.api.version.1.21.6>
<spigot.api.version.1.21.7>1.21.7-R0.1-20250630.172254-1</spigot.api.version.1.21.7>
<spigot.api.version.1.21.8>1.21.8-R0.1-20251112.105536-44</spigot.api.version.1.21.8>
<spigot.api.version.1.21.9>1.21.9-R0.1-20250930.202015-1</spigot.api.version.1.21.9>
<spigot.api.version.1.21.11>1.21.11-R0.1-20260115.203122-4</spigot.api.version.1.21.11>
<paper.version.1.20.1>1.20.1-R0.1-20230921.165944-178</paper.version.1.20.1>
<paper.version.1.20.2>1.20.2-R0.1-20231203.034718-122</paper.version.1.20.2>
<paper.version.1.20.3>1.20.3-R0.1-20231207.043048-3</paper.version.1.20.3>
<paper.version.1.20.4>1.20.4-R0.1-20241030.192207-176</paper.version.1.20.4>
<paper.version.1.20.5>1.20.5-R0.1-20240429.035133-20</paper.version.1.20.5>
<paper.version.1.20.6>1.20.6-R0.1-20241030.191541-127</paper.version.1.20.6>
<paper.version.1.21>1.21-R0.1-20240810.100446-132</paper.version.1.21>
<paper.version.1.21.1>1.21.1-R0.1-20250328.161643-128</paper.version.1.21.1>
<!-- Paper 1.21.2 unused -->
<paper.version.1.21.3>1.21.3-R0.1-20250328.155925-87</paper.version.1.21.3>
<paper.version.1.21.4>1.21.4-R0.1-20250925.065901-231</paper.version.1.21.4>
<paper.version.1.21.5>1.21.5-R0.1-20250925.065803-26</paper.version.1.21.5>
<paper.version.1.21.6>1.21.6-R0.1-20250630.094942-50</paper.version.1.21.6>
<paper.version.1.21.7>1.21.7-R0.1-20250716.201120-28</paper.version.1.21.7>
<paper.version.1.21.8>1.21.8-R0.1-20250906.215025-55</paper.version.1.21.8>
<paper.version.1.21.9>1.21.9-R0.1-20251007.115206-20</paper.version.1.21.9>
<paper.version.1.21.11>1.21.11-R0.1-20260228.115254-85</paper.version.1.21.11>
<paper.version.26.1>26.1-R0.1-pinned</paper.version.26.1>
<auto-service.version>1.0.1</auto-service.version>
<!-- sonarcloud CI -->
<sonar.organization>jorel-ali</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
</properties>
<build>
<defaultGoal>clean install</defaultGoal>
<finalName>CommandAPI-${project.version}_${maven.build.timestamp}</finalName>
<resources>
<resource>
<directory>.</directory>
<filtering>false</filtering>
<includes>
<include>LICENSE</include>
</includes>
</resource>
<resource>
<directory>src/main/resources</directory>
<filtering>false</filtering>
</resource>
</resources>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.4.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<!-- Using 3.3.1 or later gives issues with executing the
build multiple times for some reason. Instead of trying to
figure out why and making our project compatible with it,
because I'm in a rush to release so I can go have a nap,
I'm just gonna leave it as 3.2.1 for now. You can read more
about the issue here:
https://stackoverflow.com/questions/76305897/maven-build-fails-after-upgrading-to-maven-source-plugin-from-3-2-1-to-3-3-0
-->
<version>3.2.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.6.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.10.1</version>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.14</version>
</plugin>
<plugin>
<groupId>net.md-5</groupId>
<artifactId>specialsource-maven-plugin</artifactId>
<version>2.0.5</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<!--<showWarnings>true</showWarnings>-->
<compilerArgs>
<arg>-Xlint</arg>
</compilerArgs>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<tags>
<tag>
<name>apiNote</name>
<placement>a</placement>
<head>API Note:</head>
</tag>
</tags>
</configuration>
</plugin>
</plugins>
</build>
<distributionManagement>
<snapshotRepository>
<id>central</id>
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
</snapshotRepository>
</distributionManagement>
<profiles>
<profile>
<id>ci-cd</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.0.1</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<!-- Prevent gpg from using pinentry programs. Fixes: gpg: signing
failed: Inappropriate ioctl for device -->
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.7.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<autoPublish>true</autoPublish>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>