Requirements
- Java Version: Java 11 or higher
- Build Tool: Maven or Gradle
- Latest Version: 2025.5
You must set the compiler version to Java 11 or higher in your build configuration.
Maven Installation
Add the following dependency to yourpom.xml file:
pom.xml
Compiler Configuration
Ensure your Maven compiler plugin is set to Java 11 or higher:pom.xml
Gradle Installation
Add the following dependency to yourbuild.gradle or build.gradle.kts file:
Compiler Configuration
Ensure your Gradle build is configured for Java 11 or higher:Verify Installation
Verify the installation by creating a simple test:Available Artifacts
The embedded dependency is available from:- Maven Central:
com.hivemq:hivemq-community-edition-embedded - JitPack: Alternative source for builds
- JavaDoc: Available at javadoc.io
Dependency Information
The embedded artifact includes all necessary dependencies to run HiveMQ, including:- HiveMQ Core
- Extension SDK
- RocksDB for persistence (can be excluded if needed)
- Logback for logging (can be excluded if using another logging framework)
- Metrics library (Dropwizard Metrics)
See the Dependency Exclusions guide if you need to exclude certain dependencies from your build.
Next Steps
Quick Start
Create your first embedded HiveMQ broker