Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ProjectUnified/CraftCommand/llms.txt
Use this file to discover all available pages before exploring further.
craftcommand-bom is a Maven Bill of Materials POM that centralizes version management for every CraftCommand module. Import it once in <dependencyManagement> and you can omit <version> tags from all CraftCommand dependency declarations in the same project. When you upgrade CraftCommand, you update a single version string in <dependencyManagement> and every module follows automatically — no risk of accidentally mixing a 0.5.0 runtime with a 0.5.1 annotations jar.
Importing the BOM
Add the following block to yourpom.xml. If you already have a <dependencyManagement> section, add only the inner <dependency> entry.
<type>pom</type> and <scope>import</scope> fields are both required — omitting either will prevent Maven from treating this as a BOM import.
Using Modules Without Version
Once the BOM is imported, declare CraftCommand runtime and annotation dependencies without a<version> tag. Maven resolves the version from the BOM automatically.
craftcommand-standalone-runtime with the runtime for your target platform — for example craftcommand-bukkit-runtime or craftcommand-paper-runtime.
Processor Path Without Version
Below is the correct pattern for declaring the processor path. Note the mandatory<version> tag:
craftcommand-standalone-processor with the processor matching your target platform (craftcommand-bukkit-processor, craftcommand-paper-processor, or craftcommand-paper-processor-basic). If you are using the validation module, add craftcommand-validation-processor as an additional <path> entry in the same <annotationProcessorPaths> block, again with an explicit version.
Managed Modules
The BOM manages the versions of the following artifacts. All are published under theio.github.projectunified groupId at version 0.5.1.
Core
craftcommand-annotationscraftcommand-runtimecraftcommand-processor
Standalone
craftcommand-standalone-runtimecraftcommand-standalone-processor
Bukkit / Spigot
craftcommand-bukkit-runtimecraftcommand-bukkit-annotationscraftcommand-bukkit-processor
Paper (Brigadier)
craftcommand-paper-runtimecraftcommand-paper-processorcraftcommand-paper-processor-basic
Validation
craftcommand-validation-annotationscraftcommand-validation-processor
BOM itself
craftcommand-bom
Upgrading
To upgrade CraftCommand, change only the BOM version in<dependencyManagement>:
<dependencies> entries that omit <version> will automatically resolve to the new version after your next Maven build. Remember: <annotationProcessorPaths> entries are not covered by this mechanism — locate every processor <path> block in your build files and update those versions separately to match the new BOM version.