[INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building ActiveMQ Artemis JMS StompWebSocketExample Example 1.2.0.amq-700007-redhat-1 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-maven) @ stomp-websockets --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-java) @ stomp-websockets --- [INFO] [INFO] --- buildmetadata-maven-plugin:1.7.0:provide-buildmetadata (build-metadata) @ stomp-websockets --- [INFO] Executing: /bin/sh -c cd /home/vagrant/A-MQ7-7.0.0.ER7-redhat-1/examples/protocols/stomp/stomp-websockets && git rev-parse --verify HEAD [INFO] Working directory: /home/vagrant/A-MQ7-7.0.0.ER7-redhat-1/examples/protocols/stomp/stomp-websockets [INFO] Executing: /bin/sh -c cd /home/vagrant/A-MQ7-7.0.0.ER7-redhat-1/examples/protocols/stomp/stomp-websockets && git whatchanged --date=iso HEAD^.. -- /home/vagrant/A-MQ7-7.0.0.ER7-redhat-1/examples/protocols/stomp/stomp-websockets [INFO] Working directory: /home/vagrant/A-MQ7-7.0.0.ER7-redhat-1/examples/protocols/stomp/stomp-websockets [INFO] Writing properties '/home/vagrant/A-MQ7-7.0.0.ER7-redhat-1/examples/protocols/stomp/stomp-websockets/target/classes/META-INF/build.metadata'... [INFO] [INFO] --- project-sources-maven-plugin:0.3:archive (project-sources-archive) @ stomp-websockets --- [INFO] Building tar: /home/vagrant/A-MQ7-7.0.0.ER7-redhat-1/examples/protocols/stomp/stomp-websockets/target/stomp-websockets-1.2.0.amq-700007-redhat-1-project-sources.tar.gz [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ stomp-websockets --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ stomp-websockets --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ stomp-websockets --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-checkstyle-plugin:2.16:check (default) @ stomp-websockets --- [INFO] [INFO] --- apache-rat-plugin:0.11:check (default) @ stomp-websockets --- [INFO] RAT will not execute since it is configured to be skipped via system property 'rat.skip'. [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ stomp-websockets --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/vagrant/A-MQ7-7.0.0.ER7-redhat-1/examples/protocols/stomp/stomp-websockets/src/test/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ stomp-websockets --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ stomp-websockets --- [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ stomp-websockets --- [INFO] Building jar: /home/vagrant/A-MQ7-7.0.0.ER7-redhat-1/examples/protocols/stomp/stomp-websockets/target/stomp-websockets-1.2.0.amq-700007-redhat-1.jar [INFO] [INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ stomp-websockets --- [INFO] [INFO] >>> maven-source-plugin:2.2.1:jar (attach-sources) > generate-sources @ stomp-websockets >>> [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-maven) @ stomp-websockets --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-java) @ stomp-websockets --- [INFO] [INFO] --- buildmetadata-maven-plugin:1.7.0:provide-buildmetadata (build-metadata) @ stomp-websockets --- [INFO] [INFO] --- project-sources-maven-plugin:0.3:archive (project-sources-archive) @ stomp-websockets --- [INFO] Building tar: /home/vagrant/A-MQ7-7.0.0.ER7-redhat-1/examples/protocols/stomp/stomp-websockets/target/stomp-websockets-1.2.0.amq-700007-redhat-1-project-sources.tar.gz [INFO] [INFO] <<< maven-source-plugin:2.2.1:jar (attach-sources) < generate-sources @ stomp-websockets <<< [INFO] [INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) @ stomp-websockets --- [INFO] Building jar: /home/vagrant/A-MQ7-7.0.0.ER7-redhat-1/examples/protocols/stomp/stomp-websockets/target/stomp-websockets-1.2.0.amq-700007-redhat-1-sources.jar [INFO] [INFO] >>> maven-source-plugin:2.2.1:jar (default) > generate-sources @ stomp-websockets >>> [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-maven) @ stomp-websockets --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-java) @ stomp-websockets --- [INFO] [INFO] --- buildmetadata-maven-plugin:1.7.0:provide-buildmetadata (build-metadata) @ stomp-websockets --- [INFO] [INFO] --- project-sources-maven-plugin:0.3:archive (project-sources-archive) @ stomp-websockets --- [INFO] Building tar: /home/vagrant/A-MQ7-7.0.0.ER7-redhat-1/examples/protocols/stomp/stomp-websockets/target/stomp-websockets-1.2.0.amq-700007-redhat-1-project-sources.tar.gz [INFO] [INFO] <<< maven-source-plugin:2.2.1:jar (default) < generate-sources @ stomp-websockets <<< [INFO] [INFO] --- maven-source-plugin:2.2.1:jar (default) @ stomp-websockets --- [INFO] [INFO] --- artemis-maven-plugin:1.2.0.amq-700007-redhat-1:create (create) @ stomp-websockets --- [INFO] Local id: local url: file:///home/vagrant/.m2/repository/ layout: default snapshots: [enabled => true, update => always] releases: [enabled => true, update => always] [INFO] Entries.size 2 [INFO] ... key=project = MavenProject: org.apache.activemq.examples.stomp:stomp-websockets:1.2.0.amq-700007-redhat-1 @ /home/vagrant/A-MQ7-7.0.0.ER7-redhat-1/examples/protocols/stomp/stomp-websockets/pom.xml [INFO] ... key=pluginDescriptor = Component Descriptor: role: 'org.apache.maven.plugin.Mojo', implementation: 'org.apache.activemq.artemis.maven.ArtemisCLIPlugin', role hint: 'org.apache.activemq:artemis-maven-plugin:1.2.0.amq-700007-redhat-1:cli' role: 'org.apache.maven.plugin.Mojo', implementation: 'org.apache.activemq.artemis.maven.ArtemisCreatePlugin', role hint: 'org.apache.activemq:artemis-maven-plugin:1.2.0.amq-700007-redhat-1:create' role: 'org.apache.maven.plugin.Mojo', implementation: 'org.apache.activemq.artemis.maven.ArtemisDependencyScanPlugin', role hint: 'org.apache.activemq:artemis-maven-plugin:1.2.0.amq-700007-redhat-1:dependency-scan' role: 'org.apache.maven.plugin.Mojo', implementation: 'org.apache.activemq.artemis.maven.ArtemisClientPlugin', role hint: 'org.apache.activemq:artemis-maven-plugin:1.2.0.amq-700007-redhat-1:runClient' --- Executing org.apache.activemq.artemis.cli.commands.Create create --allow-anonymous --silent --force --no-web --user guest --password guest --role guest --port-offset 0 --data ./data --allow-anonymous --no-autotune --verbose --aio /home/vagrant/A-MQ7-7.0.0.ER7-redhat-1/examples/protocols/stomp/stomp-websockets/target/server0 Home::/home/vagrant/A-MQ7-7.0.0.ER7-redhat-1/examples/protocols/stomp/stomp-websockets/../../../.., Instance::null Creating ActiveMQ Artemis instance at: /home/vagrant/A-MQ7-7.0.0.ER7-redhat-1/examples/protocols/stomp/stomp-websockets/target/server0 You can now start the broker by executing: "/home/vagrant/A-MQ7-7.0.0.ER7-redhat-1/examples/protocols/stomp/stomp-websockets/target/server0/bin/artemis" run Or you can run the broker in the background using: "/home/vagrant/A-MQ7-7.0.0.ER7-redhat-1/examples/protocols/stomp/stomp-websockets/target/server0/bin/artemis-service" start [INFO] ################################################################################################### [INFO] create-server0.sh created with commands to reproduce server0 [INFO] under /home/vagrant/A-MQ7-7.0.0.ER7-redhat-1/examples/protocols/stomp/stomp-websockets/target [INFO] ################################################################################################### [INFO] [INFO] --- artemis-maven-plugin:1.2.0.amq-700007-redhat-1:cli (start) @ stomp-websockets --- [INFO] awaiting server to start [INFO] awaiting server to start server-out: _ _ _ server-out: / \ ____| |_ ___ __ __(_) _____ server-out: / _ \| _ \ __|/ _ \ \/ | |/ __/ server-out: / ___ \ | \/ |_/ __/ |\/| | |\___ \ server-out: /_/ \_\| \__\____|_| |_|_|/___ / server-out: Apache ActiveMQ Artemis 1.2.0.amq-700007-redhat-1 server-out: server-out: server-out:13:31:32,785 INFO [org.apache.activemq.artemis.integration.bootstrap] AMQ101000: Starting ActiveMQ Artemis Server server-out:13:31:32,803 INFO [org.apache.activemq.artemis.core.server] AMQ221000: live Message Broker is starting with configuration Broker Configuration (clustered=false,journalDirectory=./data/journal,bindingsDirectory=./data/bindings,largeMessagesDirectory=./data/large-messages,pagingDirectory=./data/paging) server-out:13:31:32,844 INFO [org.apache.activemq.artemis.core.server] AMQ221012: Using AIO Journal server-out:13:31:32,899 INFO [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-server]. Adding protocol support for: CORE server-out:13:31:32,901 INFO [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-amqp-protocol]. Adding protocol support for: AMQP server-out:13:31:32,902 INFO [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-hornetq-protocol]. Adding protocol support for: HORNETQ server-out:13:31:32,902 INFO [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-mqtt-protocol]. Adding protocol support for: MQTT server-out:13:31:32,903 INFO [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-openwire-protocol]. Adding protocol support for: OPENWIRE server-out:13:31:32,905 INFO [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-stomp-protocol]. Adding protocol support for: STOMP [INFO] awaiting server to start server-out:13:31:33,351 INFO [org.apache.activemq.artemis.core.server] AMQ221003: Trying to deploy queue jms.queue.DLQ server-out:13:31:33,358 INFO [org.apache.activemq.artemis.core.server] AMQ221003: Trying to deploy queue jms.queue.ExpiryQueue [INFO] awaiting server to start server-out:13:31:33,621 INFO [org.apache.activemq.artemis.core.server] AMQ221020: Started Acceptor at 0.0.0.0:61616 for protocols [CORE,MQTT,AMQP,HORNETQ,STOMP,OPENWIRE] server-out:13:31:33,624 INFO [org.apache.activemq.artemis.core.server] AMQ221020: Started Acceptor at 0.0.0.0:5445 for protocols [HORNETQ,STOMP] server-out:13:31:33,627 INFO [org.apache.activemq.artemis.core.server] AMQ221020: Started Acceptor at 0.0.0.0:5672 for protocols [AMQP] server-out:13:31:33,628 INFO [org.apache.activemq.artemis.core.server] AMQ221020: Started Acceptor at 0.0.0.0:1883 for protocols [MQTT] server-out:13:31:33,630 INFO [org.apache.activemq.artemis.core.server] AMQ221020: Started Acceptor at 0.0.0.0:61613 for protocols [STOMP] server-out:13:31:33,631 INFO [org.apache.activemq.artemis.core.server] AMQ221007: Server is now live server-out:13:31:33,631 INFO [org.apache.activemq.artemis.core.server] AMQ221001: Apache ActiveMQ Artemis Message Broker version 1.2.0.amq-700007-redhat-1 [0.0.0.0, nodeID=481a673e-2ca3-11e6-9898-080027701e34] [INFO] Server started [INFO] [INFO] --- artemis-maven-plugin:1.2.0.amq-700007-redhat-1:runClient (runClient) @ stomp-websockets --- [ERROR] java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.activemq.artemis.maven.ArtemisClientPlugin.doExecute(ArtemisClientPlugin.java:61) at org.apache.activemq.artemis.maven.ArtemisAbstractPlugin.execute(ArtemisAbstractPlugin.java:75) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216) at org.apache.maven.cli.MavenCli.main(MavenCli.java:160) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: javax.jms.InvalidDestinationException: Destination chat does not exist at org.apache.activemq.artemis.jms.client.ActiveMQSession.createProducer(ActiveMQSession.java:303) at org.apache.activemq.artemis.jms.example.StompWebSocketExample.main(StompWebSocketExample.java:46) ... 27 more [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 11.674 s [INFO] Finished at: 2016-06-07T13:31:35+02:00 [INFO] Final Memory: 27M/65M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.activemq:artemis-maven-plugin:1.2.0.amq-700007-redhat-1:runClient (runClient) on project stomp-websockets: null: MojoFailureException -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException