diff --git a/examples/features/sub-modules/tomcat/pom.xml b/examples/features/sub-modules/tomcat/pom.xml
index f04fd61900..edaebff255 100644
--- a/examples/features/sub-modules/tomcat/pom.xml
+++ b/examples/features/sub-modules/tomcat/pom.xml
@@ -34,6 +34,7 @@ under the License.
Artemis Tomcat JNDI Resources Example
+ ${project.basedir}/../../../..
UTF-8
${project.baseUri}
1.6
diff --git a/examples/features/sub-modules/tomcat/src/main/java/org/apache/activemq/artemis/example/tomcat/sample/SendMessageController.java b/examples/features/sub-modules/tomcat/src/main/java/org/apache/activemq/artemis/example/tomcat/sample/SendMessageController.java
index eb36179bdd..67807d458f 100644
--- a/examples/features/sub-modules/tomcat/src/main/java/org/apache/activemq/artemis/example/tomcat/sample/SendMessageController.java
+++ b/examples/features/sub-modules/tomcat/src/main/java/org/apache/activemq/artemis/example/tomcat/sample/SendMessageController.java
@@ -30,19 +30,18 @@ import org.springframework.web.bind.annotation.RestController;
@RestController
public class SendMessageController {
-
- @Autowired
- private JmsTemplate jmsTemplate;
-
-
- @RequestMapping("/send")
- public @ResponseBody String send(@RequestParam(value="text", defaultValue="hello world") final String text) {
- jmsTemplate.send(new MessageCreator() {
- @Override
- public Message createMessage(Session session) throws JMSException {
- return session.createTextMessage(text);
- }
- });
- return "sent: " + text;
- }
+
+ @Autowired
+ private JmsTemplate jmsTemplate;
+
+ @RequestMapping("/send")
+ public @ResponseBody String send(@RequestParam(value = "text", defaultValue = "hello world") final String text) {
+ jmsTemplate.send(new MessageCreator() {
+ @Override
+ public Message createMessage(Session session) throws JMSException {
+ return session.createTextMessage(text);
+ }
+ });
+ return "sent: " + text;
+ }
}
\ No newline at end of file
diff --git a/examples/protocols/mqtt/clustered-queue-mqtt/pom.xml b/examples/protocols/mqtt/clustered-queue-mqtt/pom.xml
index 374d703931..190cfbe137 100644
--- a/examples/protocols/mqtt/clustered-queue-mqtt/pom.xml
+++ b/examples/protocols/mqtt/clustered-queue-mqtt/pom.xml
@@ -22,8 +22,8 @@ under the License.
4.0.0
- org.apache.activemq.examples.clustered
- broker-clustered
+ org.apache.activemq.examples.mqtt
+ mqtt-examples
2.5.0-SNAPSHOT