This maven plugin simplifies the development of HiveMQ extensions as it provides a simple way to execute your extension with HiveMQ.
<profiles>
<profile>
<id>RunWithHiveMQ</id>
<build>
<plugins>
<plugin>
<groupId>com.hivemq</groupId>
<artifactId>hivemq-maven-plugin</artifactId>
<version>4.0.1</version>
<executions>
<execution>
<id>hivemq</id>
<phase>package</phase>
<goals>
<goal>hivemq</goal>
</goals>
<configuration>
<hiveMQDir>
(1)
</hiveMQDir>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
-
Insert HiveMQ home directory
Name | Type | Required | Default | Description |
---|---|---|---|---|
|
String |
true |
Directory of the HiveMQ Jar-file |
|
|
String |
false |
{artifact-id}-{version}-distribution.zip |
Name of the extension zip file |
|
String |
false |
target |
Name of the directory, where the extension folder is located |
|
boolean |
false |
true |
HiveMQ logging to standard output enabled |
|
boolean |
false |
false |
Should extensions be loaded, false for extensions are loaded, true for extensions are not loaded |
|
String |
false |
SERVER |
Mode of the debugger: CLIENT, SERVER, NONE |
|
String |
false |
localhost |
Used in CLIENT debugMode |
|
String |
false |
5005 |
Port on which HiveMQ in debug mode and IDE connect |
|
String |
false |
hivemq.jar |
Name of the HiveMQ Jar-file |
|
String |
false |
Path to a folder that will be included into the extension folder |
If you want to contribute to HiveMQ Maven Plugin, see the contribution guidelines.
HiveMQ Maven Plugin is licensed under the APACHE LICENSE, VERSION 2.0
. A copy of the license can be found here.