You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2015/11/16 17:32:13 UTC

camel git commit: To run the example using the camel run goal

Repository: camel
Updated Branches:
  refs/heads/master d2770c28a -> b2ad1ff5a


To run the example using the camel run goal


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/b2ad1ff5
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/b2ad1ff5
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/b2ad1ff5

Branch: refs/heads/master
Commit: b2ad1ff5abc889b9e4c63d29fd8be2a7d6003eb3
Parents: d2770c2
Author: Claus Ibsen <da...@apache.org>
Authored: Mon Nov 16 17:35:21 2015 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Mon Nov 16 17:35:49 2015 +0100

----------------------------------------------------------------------
 examples/camel-example-twitter-websocket/README.txt | 2 +-
 examples/camel-example-twitter-websocket/pom.xml    | 8 +++-----
 2 files changed, 4 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/b2ad1ff5/examples/camel-example-twitter-websocket/README.txt
----------------------------------------------------------------------
diff --git a/examples/camel-example-twitter-websocket/README.txt b/examples/camel-example-twitter-websocket/README.txt
index 6b6352b..0319d10 100644
--- a/examples/camel-example-twitter-websocket/README.txt
+++ b/examples/camel-example-twitter-websocket/README.txt
@@ -17,7 +17,7 @@ You will need to compile this example first:
   mvn compile
 
 To run the example type
-  mvn exec:java
+  mvn camel:run
 
 Then open a browser to see live twitter updates in the web page
   http://localhost:9090

http://git-wip-us.apache.org/repos/asf/camel/blob/b2ad1ff5/examples/camel-example-twitter-websocket/pom.xml
----------------------------------------------------------------------
diff --git a/examples/camel-example-twitter-websocket/pom.xml b/examples/camel-example-twitter-websocket/pom.xml
index 8e0db8a..00d8bbc 100644
--- a/examples/camel-example-twitter-websocket/pom.xml
+++ b/examples/camel-example-twitter-websocket/pom.xml
@@ -59,17 +59,15 @@
 
   <build>
     <plugins>
-      <!-- Allows the example to be run via 'mvn compile exec:java' -->
+      <!-- Allows the example to be run via 'mvn camel:run' -->
       <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>exec-maven-plugin</artifactId>
+        <groupId>org.apache.camel</groupId>
+        <artifactId>camel-maven-plugin</artifactId>
         <configuration>
           <mainClass>org.apache.camel.example.websocket.CamelTwitterWebSocketMain</mainClass>
-          <includePluginDependencies>false</includePluginDependencies>
         </configuration>
       </plugin>
     </plugins>
-
   </build>
 
 </project>