Author: buildbot Date: Tue Jul 21 09:19:35 2015 New Revision: 959093 Log: Production update by buildbot for camel
Modified: websites/production/camel/content/cache/main.pageCache websites/production/camel/content/camel-maven-archetypes.html Modified: websites/production/camel/content/cache/main.pageCache ============================================================================== Binary files - no diff available. Modified: websites/production/camel/content/camel-maven-archetypes.html ============================================================================== --- websites/production/camel/content/camel-maven-archetypes.html (original) +++ websites/production/camel/content/camel-maven-archetypes.html Tue Jul 21 09:19:35 2015 @@ -86,19 +86,19 @@ <tr> <td valign="top" width="100%"> <div class="wiki-content maincontent"><h2 id="CamelMavenArchetypes-CamelMavenArchetypes">Camel Maven Archetypes</h2><p>Camel is distributed with the following archetypes for Maven end users.</p><h3 id="CamelMavenArchetypes-ArchetypeSupported">Archetype Supported</h3><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Archetype</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>camel-archetype-activemq</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>This archetype is used to create a new Maven project for Camel routes with Apache ActiveMQ embedded.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>camel-archetype-blueprint</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.8:</strong> This archetype is used to create a new Maven project for Camel routes to be running in OSGi using Blueprint.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>camel-archetype-component</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>This archetype is used for creating a new Maven project for Camel <a shape="rect" href="components.html">Components</a>. Use this if there is a component missing in Camel that you want to create yourself.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">camel-archetype-cdi</td><td colspan="1" rowspan="1" class="confluenceTd"><strong>Camel 2.16:</strong> This archetype is used to create a new Maven project for Camel routes <span style="line-height: 1.4285715;">in the Java Container using CDI to configure components, </span><span style="line-height: 1.4285715;">endpoints and beans</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>camel-archetype-<s>component-scala</s></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><s><strong>Deprecated. Camel 2.10:</strong> This ar chetype is used for creating a new Maven project for Camel <a shape="rect" href="components.html">Components</a> using Scala. Use this if there is a component missing in Camel that you want to create yourself. Deprecated to be removed in Camel 2.16 onwards.</s></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>camel-archetype-cxf-code-first-blueprint</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.12.2:</strong> This archetype is used creating a new Maven project for Camel with <a shape="rect" href="cxf.html">CXF</a> exposing a web service using code-first style. This project is for OSGi Blueprint containers.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>camel-archetype-cxf-contract-first-blueprint</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.12.1:</strong> This archetype is used creating a new Maven project for Camel with <a shape="rect" href="cxf.html">CXF</a> exposing a web servic e using contract-first style. This project is for OSGi Blueprint containers.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>camel-archetype-dataformat</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.9:</strong> This archetype is used for creating a new Maven project for Camel <a shape="rect" href="data-format.html">Data Format</a>s. Use this if there is a data format missing in Camel that you want to create yourself.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>camel-archetype-groovy</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.11:</strong> This archetype is used to create a new Maven project for Camel using Groovy DSL.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>camel-archetype-java</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>This archetype is used to create a new Maven project for Camel routes using Java DSL.</p></td></tr><tr><td colspan ="1" rowspan="1" class="confluenceTd"><p>camel-archetype-scala</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>This archetype is used to create a new Maven projects for building Camel routes in the <a shape="rect" href="scala-dsl.html">Scala DSL</a>.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>camel-archetype-spring</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>This archetype is used to create a new Maven project for Camel routes using Spring XML.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">camel-archetype-spring-boot</td><td colspan="1" rowspan="1" class="confluenceTd"><strong>Camel 2.16:</strong> This archetype is used to create a new Maven project for Camel routes using Spring Boot.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>camel-archetype-spring-dm</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.8:</strong> This archetype is used to create a new Maven proje ct for Camel routes to be running in OSGi using Spring DM.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>camel-archetype-war</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><s><strong>Deprecated Camel 2.6 or older:</strong> This archetype is used to create a new Camel project that deploys the <a shape="rect" href="web-console.html">Camel Web Console, REST API</a>, and your routes as a <a shape="rect" class="external-link" href="http://en.wikipedia.org/wiki/Sun_WAR_(file_format)" rel="nofollow">WAR</a> file.</s></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>camel-archetype-webconsole</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><s><strong><strong>Deprecated</strong> Camel 2.7:</strong> This archetype is used to create a new Camel project that deploys the <a shape="rect" href="web-console.html">Camel Web Console, REST API</a>, and your routes as a <a shape="rect" class="external-link" href="http://en.wikipedia.or g/wiki/Sun_WAR_(file_format)" rel="nofollow">WAR</a> file.</s></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>camel-archetype-web</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.7:</strong> This archetype is used to create a new Camel project that deploys Camel Routes using Spring or Java DSL as a <a shape="rect" class="external-link" href="http://en.wikipedia.org/wiki/Sun_WAR_(file_format)" rel="nofollow">WAR</a> file.</p></td></tr></tbody></table></div><p>The maven coordinates for these archetypes is the following:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<pre class="brush: xml; gutter: false; theme: Default" style="font-size:12px;"> <groupId>org.apache.camel.archetypes</groupId> +<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <groupId>org.apache.camel.archetypes</groupId> <artifactId>${archetype-name}</artifactId> <version>${camel-version}</version> -</pre> +]]></script> </div></div><div class="confluence-information-macro confluence-information-macro-information"><span class="aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>When using these archetypes, make sure your package name is not org.apache.camel (or a sub package of this) as this will instruct Camel to search in its own packages for your routes. This can also cause Camel not to start, as shown in CAMEL-1197.</p></div></div><h3 id="CamelMavenArchetypes-Snapshotarchetypes">Snapshot archetypes</h3><p>If you would like to use an archetype from an unreleased version of Camel, you just need to let the maven-archetype-plugin know where to look for it. For example, say someone wanted to create a WAR based project based on Camel 2.9.0. He'd need to use the following command</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">mvn archetype:generate \ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[mvn archetype:generate \ -DarchetypeGroupId=org.apache.camel.archetypes \ - -DarchetypeArtifactId=camel-archetype-war \ + -DarchetypeArtifactId=camel-archetype-web \ -DarchetypeVersion=2.9.0 \ -DarchetypeRepository=https://repository.apache.org/content/groups/snapshots-group -</pre> +]]></script> </div></div><p>Notice that archetypes will now be downloaded from <a shape="rect" class="external-link" href="https://repository.apache.org/content/groups/snapshots-group">Apache's snapshot repo</a> instead of <a shape="rect" class="external-link" href="http://repo1.maven.org/maven2" rel="nofollow">Maven central</a>.</p><p>When the project is created, you may need to add another repository to the pom.xml file. This is to load a SNAPSHOT version of the camel-maven-plugin</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;"><pluginRepositories> +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[<pluginRepositories> <pluginRepository> <releases> <enabled>false</enabled> @@ -108,14 +108,14 @@ <url>http://repository.apache.org/snapshots</url> </pluginRepository> </pluginRepositories> -</pre> +]]></script> </div></div><h3 id="CamelMavenArchetypes-Examples">Examples</h3><p>See <a shape="rect" href="creating-a-new-spring-based-camel-route.html">Creating a new Spring based Camel Route</a> for a sample how to use the camel-archetype-java and camel-archetype-spring archetypes.</p></div> </td> <td valign="top"> <div class="navigation"> <div class="navigation_top"> <!-- NavigationBar --> -<div class="navigation_bottom" id="navigation_bottom"><h3 id="Navigation-Overviewhttps://cwiki.apache.org/confluence/pages/viewpage.action?pageId=49132"><a shape="rect" href="overview.html">Overview</a></h3><ul class="alternate"><li><a shape="rect" href="index.html">Home</a></li><li><a shape="rect" href="download.html">Download</a></li><li><a shape="rect" href="getting-started.html">Getting Started</a></li><li><a shape="rect" href="faq.html">FAQ</a></li></ul><h3 id="Navigation-Documentationhttps://cwiki.apache.org/confluence/pages/viewpage.action?pageId=49534"><a shape="rect" href="documentation.html">Documentation</a></h3><ul class="alternate"><li><a shape="rect" href="user-guide.html">User Guide</a></li><li><a shape="rect" href="manual.html">Manual</a></li><li><a shape="rect" href="books.html">Books</a></li><li><a shape="rect" href="tutorials.html">Tutorials</a></li><li><a shape="rect" href="examples.html">Examples</a></li><li><a shape="rect" href="cookbook.html">Cookbook</a></li> <li><a shape="rect" href="architecture.html">Architecture</a></li><li><a shape="rect" href="enterprise-integration-patterns.html">Enterprise Integration Patterns</a></li><li><a shape="rect" href="dsl.html">DSL</a></li><li><a shape="rect" href="components.html">Components</a></li><li><a shape="rect" href="data-format.html">Data Format</a></li><li><a shape="rect" href="languages.html">Languages</a></li><li><a shape="rect" href="security.html">Security</a></li><li><a shape="rect" href="security-advisories.html">Security Advisories</a></li></ul><h3 id="Navigation-Search">Search</h3><form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse"> +<div class="navigation_bottom" id="navigation_bottom"><h3 id="Navigation-Overview"><a shape="rect" href="overview.html">Overview</a></h3><ul class="alternate"><li><a shape="rect" href="index.html">Home</a></li><li><a shape="rect" href="download.html">Download</a></li><li><a shape="rect" href="getting-started.html">Getting Started</a></li><li><a shape="rect" href="faq.html">FAQ</a></li></ul><h3 id="Navigation-Documentation"><a shape="rect" href="documentation.html">Documentation</a></h3><ul class="alternate"><li><a shape="rect" href="user-guide.html">User Guide</a></li><li><a shape="rect" href="manual.html">Manual</a></li><li><a shape="rect" href="books.html">Books</a></li><li><a shape="rect" href="tutorials.html">Tutorials</a></li><li><a shape="rect" href="examples.html">Examples</a></li><li><a shape="rect" href="cookbook.html">Cookbook</a></li><li><a shape="rect" href="architecture.html">Architecture</a></li><li><a shape="rect" href="enterprise-integration-patterns.html">Enterprise Integration Patterns</a></li><li><a shape="rect" href="dsl.html">DSL</a></li><li><a shape="rect" href="components.html">Components</a></li><li><a shape="rect" href="data-format.html">Data Format</a></li><li><a shape="rect" href="languages.html">Languages</a></li><li><a shape="rect" href="security.html">Security</a></li><li><a shape="rect" href="security-advisories.html">Security Advisories</a></li></ul><h3 id="Navigation-Search">Search</h3><form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse"> <div> <input type="hidden" name="cx" value="007878419884033443453:m5nhvy4hmyq"> <input type="hidden" name="ie" value="UTF-8"> @@ -123,7 +123,7 @@ <input type="submit" name="sa" value="Search"> </div> </form> -<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script><h3 id="Navigation-Communityhttps://cwiki.apache.org/confluence/pages/viewpage.action?pageId=49115"><a shape="rect" href="community.html">Community</a></h3><ul class="alternate"><li><a shape="rect" href="support.html">Support</a></li><li><a shape="rect" href="contributing.html">Contributing</a></li><li><a shape="rect" href="discussion-forums.html">Discussion Forums</a></li><li><a shape="rect" href="mailing-lists.html">Mailing Lists</a></li><li><a shape="rect" href="user-stories.html">User Stories</a></li><li><a shape="rect" href="news.html">News</a></li><li><a shape="rect" href="articles.html">Articles</a></li><li><a shape="rect" href="site.html">Site</a></li><li><a shape="rect" href="team.html">Team</a></li><li><a shape="rect" class="external-link" href="http://camel-extra.googlecode.com/" rel="nofollow">Camel Extra</a></li></ul><h3 id="Navigation-Developershttps://cwi ki.apache.org/confluence/pages/viewpage.action?pageId=49124"><a shape="rect" href="developers.html">Developers</a></h3><ul class="alternate"><li><a shape="rect" href="developers.html">Developer Guide</a></li><li><a shape="rect" href="source.html">Source</a></li><li><a shape="rect" href="building.html">Building</a></li><li><a shape="rect" href="javadoc.html">JavaDoc</a></li><li><a shape="rect" href="irc-room.html">IRC Room</a></li></ul><h3 id="Navigation-ApacheSoftwareFoundation">Apache Software Foundation</h3><ul class="alternate"><li><a shape="rect" class="external-link" href="http://www.apache.org/licenses/">License</a></li><li><a shape="rect" class="external-link" href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li><li><a shape="rect" class="external-link" href="http://www.apache.org/foundation/thanks.html">Thanks</a></li><li><a shape="rect" class="external-link" href="http://www.apache.org/security/">Security</a></li></ul></div> +<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script><h3 id="Navigation-Community"><a shape="rect" href="community.html">Community</a></h3><ul class="alternate"><li><a shape="rect" href="support.html">Support</a></li><li><a shape="rect" href="contributing.html">Contributing</a></li><li><a shape="rect" href="discussion-forums.html">Discussion Forums</a></li><li><a shape="rect" href="mailing-lists.html">Mailing Lists</a></li><li><a shape="rect" href="user-stories.html">User Stories</a></li><li><a shape="rect" href="news.html">News</a></li><li><a shape="rect" href="articles.html">Articles</a></li><li><a shape="rect" href="site.html">Site</a></li><li><a shape="rect" href="team.html">Team</a></li><li><a shape="rect" class="external-link" href="http://camel-extra.googlecode.com/" rel="nofollow">Camel Extra</a></li></ul><h3 id="Navigation-Developers"><a shape="rect" href="developers.html">Developers</a></h3><ul class="alternate" ><li><a shape="rect" href="developers.html">Developer Guide</a></li><li><a >shape="rect" href="source.html">Source</a></li><li><a shape="rect" >href="building.html">Building</a></li><li><a shape="rect" >href="javadoc.html">JavaDoc</a></li><li><a shape="rect" >href="irc-room.html">IRC Room</a></li></ul><h3 >id="Navigation-ApacheSoftwareFoundation">Apache Software Foundation</h3><ul >class="alternate"><li><a shape="rect" class="external-link" >href="http://www.apache.org/licenses/">License</a></li><li><a shape="rect" >class="external-link" >href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li><li><a > shape="rect" class="external-link" >href="http://www.apache.org/foundation/thanks.html">Thanks</a></li><li><a >shape="rect" class="external-link" >href="http://www.apache.org/security/">Security</a></li></ul></div> <!-- NavigationBar --> </div> </div>