Build RabbitMQ Java Client from Source
This guides describes the process of building the Java client library from source.
The repository is hosted on GitHub. Clone two repositories with
git clone https://github.com/rabbitmq/rabbitmq-codegen.git rabbitmq_codegen
git clone https://github.com/rabbitmq/rabbitmq-java-client.git
The code generation repository is a dependency of the Java client library.
Required Libraries and Tools
In order to build RabbitMQ Java client, you will need a few tools.
Additionally, for building the Java client libraries, you will need
JAVA_HOME is correctly set and
rabbitmq_codegen directories are in
the same directory. Then, from the
rabbitmq-java-client directory, run
./mvnw clean package -Ddeps.dir=../ -DskipTests
The generated JAR file will be in
If you are looking to contribute to the client, take a look at these instructions on GitHub.