4.0.0 org.apache.activemq.examples.mqtt mqtt-examples 2.20.0-SNAPSHOT publish-subscribe jar ActiveMQ Artemis MQTT Publish/Subscribe Example ${project.basedir}/../../../.. org.fusesource.mqtt-client mqtt-client org.apache.activemq artemis-maven-plugin create create start cli ${noServer} true tcp://localhost:61616 run runClient runClient org.apache.activemq.artemis.mqtt.example.MQTTPublishSubscribeExample stop cli ${noServer} stop org.apache.activemq.examples.mqtt publish-subscribe ${project.version} org.apache.maven.plugins maven-clean-plugin