I have cloned hivemq community edition broker from github using following link https://github.com/hivemq/hivemq-community-edition.git and facing issues

i have cloned hivemq community edition broker from github using following link GitHub - hivemq/hivemq-community-edition: HiveMQ CE is a Java-based open source MQTT broker that fully supports MQTT 3.x and MQTT 5. It is the foundation of the HiveMQ Enterprise Connectivity and Messaging Platform
i cloned the project in intellij idea and build it then 21 test cases are failed
as per requirement i am using jdk11.
hivemq server starts on intellij and when i try to establish connection from mqtt-spy it shows not authorized (5) but when i downloaded their latest release and ran using cmd run.bat hivemq is starting gracefully and connection also established and i am able to use mqtt-spy to publish and subscribe.i want to use community edition broker so please help me.
i am new to hivemq, i have used mosquitto previously

Hello @sanket

Welcome to the HiveMQ Community! Please note that to use the HiveMQ Community Edition broker, you do not need to clone the repository and build it yourself. It is sufficient to download the release as a .zip file and start using it, as you have already done.

Is there any particular reason you want to build it? Have you tried using JDK 21?

Kind regards,
Diego from HiveMQ Team

the reason behind that is i am trying to replace rbac file extension with custom database so i want to know where exactly is starting point in hivemq broker after rbac-file-extension does its authentication. i checked many classes in hivemq broker but still not found where exactly it starts after authentication. so i want that point before connection so that i can use hardcoded value before connection and utilize it.

Hello @sanket

Please, focus the questions on the topic below instead of creating many new topics. Thank you!

Kind regards,
Diego from HiveMQ Team

hivemq community edition was working fine with rbac, then i removed rbac and created one client application and made its jar and placed it in the extension folder of hivemq broker and when i executed using run.bat command from cmd app got crashed. i reinstalled jdk still problem persist, and now i am trying to clone the hivemq broker again now its giving error sometimes related to deprecated features used in the project not comaptiable with gradle 9.0 but i noticed that broker is using gradle 8.5 on another machine it gives many errors in build.gradle.kts file and i am not able to build the broker and execute it through bin folder of distribution in broker with run.bat command.

Hi Sanket,

Thank you for reaching out. Could you please provide more details about your task? Specifically, are you looking to install the HiveMQ broker Community Edition with the File RBAC Extension, or are you developing your own extension for the HiveMQ Broker?

It would also be helpful to understand your background and the context of your project. Could you let us know which of the following best describes you and your project?

  • You are a student working on a student project.
  • You are a freelancer working on a project for a customer.
  • You are an engineer working on a project for your company. If so, which company?

This information will help us offer more targeted assistance. Looking forward to your response!

Best regards.
Dasha from the HiveMQ Team