Support to run the servlet example with Jetty maven plugin
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/f1bd37b0 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/f1bd37b0 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/f1bd37b0 Branch: refs/heads/master Commit: f1bd37b0ad0a3f7efbf0de2e99bb913cd9ccec6e Parents: ccab027 Author: Willem Jiang <willem.ji...@gmail.com> Authored: Thu Dec 18 11:44:19 2014 +0800 Committer: Willem Jiang <willem.ji...@gmail.com> Committed: Thu Dec 18 14:20:49 2014 +0800 ---------------------------------------------------------------------- examples/camel-example-servlet-tomcat-no-spring/pom.xml | 1 + examples/camel-example-servlet-tomcat/pom.xml | 11 +++++++++++ 2 files changed, 12 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/f1bd37b0/examples/camel-example-servlet-tomcat-no-spring/pom.xml ---------------------------------------------------------------------- diff --git a/examples/camel-example-servlet-tomcat-no-spring/pom.xml b/examples/camel-example-servlet-tomcat-no-spring/pom.xml index c3ed38e..7721a0b 100755 --- a/examples/camel-example-servlet-tomcat-no-spring/pom.xml +++ b/examples/camel-example-servlet-tomcat-no-spring/pom.xml @@ -62,6 +62,7 @@ <build> <plugins> + <!-- allows running this example with mvn:jetty-run --> <plugin> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-maven-plugin</artifactId> http://git-wip-us.apache.org/repos/asf/camel/blob/f1bd37b0/examples/camel-example-servlet-tomcat/pom.xml ---------------------------------------------------------------------- diff --git a/examples/camel-example-servlet-tomcat/pom.xml b/examples/camel-example-servlet-tomcat/pom.xml index 1df0c40..0fa479b 100755 --- a/examples/camel-example-servlet-tomcat/pom.xml +++ b/examples/camel-example-servlet-tomcat/pom.xml @@ -63,5 +63,16 @@ </dependency> </dependencies> + + <build> + <plugins> + <!-- allows running this example with mvn:jetty-run --> + <plugin> + <groupId>org.eclipse.jetty</groupId> + <artifactId>jetty-maven-plugin</artifactId> + <version>${jetty-version}</version> + </plugin> + </plugins> + </build> </project>