You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by js...@apache.org on 2006/06/23 18:29:38 UTC

svn commit: r416761 - /incubator/servicemix/site/maven-jbi-plugin.html

Author: jstrachan
Date: Fri Jun 23 09:29:36 2006
New Revision: 416761

URL: http://svn.apache.org/viewvc?rev=416761&view=rev
Log:
Latest export from confluence

Modified:
    incubator/servicemix/site/maven-jbi-plugin.html

Modified: incubator/servicemix/site/maven-jbi-plugin.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/maven-jbi-plugin.html?rev=416761&r1=416760&r2=416761&view=diff
==============================================================================
--- incubator/servicemix/site/maven-jbi-plugin.html (original)
+++ incubator/servicemix/site/maven-jbi-plugin.html Fri Jun 23 09:29:36 2006
@@ -226,7 +226,25 @@
 -->
             <DIV class="wiki-content"><P>A key part of a productive development environment is the tooling, for Apache ServiceMix the tooling is provided in the form of a powerful and flexible Apache Maven plugin.&nbsp; The plugin has many useful features to enable you to work with the different project types available in JBI - such as Components, Service Assemblies, Service Units and Shared Librarys - and also allows you to work interact with a running Apache ServiceMix server by exposing the JSR-208 Ant Tasks as plugin goals.</P>
 
-<H3><A name="MavenJBIplugin-GettingStarted%26nbsp%3B"></A>Getting Started&nbsp;</H3>
+<H3><A name="MavenJBIplugin-GettingStarted"></A>Getting Started</H3>
+
+<P>In order to get started with the plugin you need to make it avilable to your project,&nbsp; this is done by adding the following to your pom.xml.</P>
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml">&lt;project xmlns=<SPAN class="code-quote">&quot;http://maven.apache.org/POM/4.0.0&quot;</SPAN> <SPAN class="code-keyword">xmlns:xsi</SPAN>=<SPAN class="code-quote">&quot;http://www.w3.org/2001/XMLSchema-instance&quot;</SPAN>
+  xsi:schemaLocation=<SPAN class="code-quote">&quot;http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd&quot;</SPAN>&gt;
+  ...
+  <SPAN class="code-tag">&lt;build&gt;</SPAN>
+    <SPAN class="code-tag">&lt;plugins&gt;</SPAN>
+      <SPAN class="code-tag">&lt;plugin&gt;</SPAN>
+        <SPAN class="code-tag">&lt;groupId&gt;</SPAN>org.apache.servicemix.tooling<SPAN class="code-tag">&lt;/groupId&gt;</SPAN>
+        <SPAN class="code-tag">&lt;artifactId&gt;</SPAN>jbi-maven-plugin<SPAN class="code-tag">&lt;/artifactId&gt;</SPAN>
+        <SPAN class="code-tag">&lt;extensions&gt;</SPAN>true<SPAN class="code-tag">&lt;/extensions&gt;</SPAN>
+      <SPAN class="code-tag">&lt;/plugin&gt;</SPAN>
+    <SPAN class="code-tag">&lt;/plugins&gt;</SPAN>
+  <SPAN class="code-tag">&lt;/build&gt;</SPAN>
+<SPAN class="code-tag">&lt;/project&gt;</SPAN></PRE>
+</DIV></DIV>
+<P>Once this plugin has been added to your POM you can start using the capabilities.</P>
 
 
 <H3><A name="MavenJBIplugin-Maven1.xSupport%26nbsp%3B"></A>Maven 1.x Support&nbsp;</H3>
@@ -256,7 +274,7 @@
     <DIV id="site-footer">
           Added by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=pdodds%2540unity-systems.com">pdodds@unity-systems.com</A>,
     last edited by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=philip.dodds%2540gmail.com">Philip Dodds</A> on Jun 23, 2006
-                  &nbsp;(<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=1948&originalId=8869">view change</A>)
+                  &nbsp;(<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=1948&originalId=8870">view change</A>)
               
       (<A href="http://goopen.org/confluence/pages/editpage.action?pageId=1948">edit page</A>)
     </DIV>