Author: chirino
Date: Fri Sep 29 04:34:18 2006
New Revision: 451248
URL: http://svn.apache.org/viewvc?view=rev&rev=451248
Log:
Latest export from confluence
Modified:
incubator/servicemix/site/main/notes-on-creating-jbi-component-using-maven2.html
Modified:
incubator/servicemix/site/main/notes-on-creating-jbi-component-using-maven2.html
URL:
http://svn.apache.org/viewvc/incubator/servicemix/site/main/notes-on-creating-jbi-component-using-maven2.html?view=diff&rev=451248&r1=451247&r2=451248
==============================================================================
---
incubator/servicemix/site/main/notes-on-creating-jbi-component-using-maven2.html
(original)
+++
incubator/servicemix/site/main/notes-on-creating-jbi-component-using-maven2.html
Fri Sep 29 04:34:18 2006
@@ -124,6 +124,34 @@
<P><FONT color="#cc3300">Check if you have maven2 installed, if not then
please install it.</FONT> <SPAN class="nobr"><A
href="http://maven.apache.org/download.html#Installation" title="Visit page
outside Confluence"
rel="nofollow">http://maven.apache.org/download.html#Installation<SUP><IMG
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"
height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></P>
+<P><FONT color="#cc3300">Make sure that you're using
maven-archetype-plugin 1.0-alpha4 or above you can look in
(~/.m2/repository/org/apache/maven/plugins/maven-archetype-plugin). To install
it you can place a minimal pom.xml in the folder where you're calling the
mvn archetype:create goal in:</FONT></P>
+
+
+<P><?xml version="1.0" encoding="UTF-8"?><BR>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 <SPAN
class="nobr"><A href="http://maven.apache.org/maven-v4_0_0.xsd" title="Visit
page outside Confluence"
rel="nofollow">http://maven.apache.org/maven-v4_0_0.xsd<SUP><IMG
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"
height="0" width="0" align="absmiddle" alt=""
border="0"></SUP></A></SPAN>"></P>
+
+<P> <modelVersion>4.0.0</modelVersion><BR>
+ <groupId>mygroup</groupId><BR>
+ <artifactId>myartifact</artifactId><BR>
+ <version>myversion</version><BR>
+ <packaging>pom</packaging></P>
+
+<P> <build><BR>
+ <pluginManagement><BR>
+
<plugins><BR>
+
<plugin><BR>
+
<groupId>org.apache.maven.plugins</groupId><BR>
+
<artifactId>maven-archetype-plugin</artifactId><BR>
+
<version>1.0-alpha-4</version><BR>
+
</plugin><BR>
+
</plugins><BR>
+ </pluginManagement><BR>
+ </build></P>
+
+<P></project></P>
+
+
+
<P><B>1)</B> To create a JBI component as you might have guessed by now
- run the mvn command: (needless to say you should create a new
directory where you want all your stuff to be generated and you have to remove
the trailing backshlashes and make it one line)</P>
<DIV class="code"><DIV class="codeContent">
<PRE class="code-java">mvn archetype:create \
@@ -190,35 +218,9 @@
</DIV>
<DIV id="site-footer">
Added by <A
href="http://goopen.org/confluence/users/viewuserprofile.action?username=soumadeep">Soumadeep
Sen</A>,
- last edited by <A
href="http://goopen.org/confluence/users/viewuserprofile.action?username=georg_dembowski">Georg
Dembowski</A> on Sep 25, 2006
- (<A
href="http://goopen.org/confluence/pages/diffpages.action?pageId=9560&originalId=13802">view
change</A>)
- <SPAN id="show" class="inline-control-link"><A href=""
onclick="showComment(); return false;">show comment</A></SPAN>
- <SPAN id="hide" class="inline-control-link" style="display:none;"><A
href="" onclick="hideComment(); return false;">hide comment</A></SPAN>
- <DIV id="versionComment" class="noteMacro" style="display:none;
padding: 5px;">
- <B>Comment:</B>
- updated command + extended information<BR>
- <SPAN class="smalltext"><A
href="http://goopen.org/confluence/pages/viewpreviouspageversions.action?pageId=9560">View
page history</A></SPAN>
- </DIV>
-
- <SCRIPT>
- var show = document.getElementById('show');
- var hide = document.getElementById('hide');
- var versionComment = document.getElementById('versionComment');
-
- function showComment(){
- show.style.display = 'none';
- hide.style.display = 'inline';
- versionComment.style.display = 'block';
- }
-
- function hideComment(){
- show.style.display = 'inline';
- hide.style.display = 'none';
- versionComment.style.display = 'none';
- }
-
- </SCRIPT>
-
+ last edited by <A
href="http://goopen.org/confluence/users/viewuserprofile.action?username=jamie">Jamie
McCrindle</A> on Sep 29, 2006
+ (<A
href="http://goopen.org/confluence/pages/diffpages.action?pageId=9560&originalId=13873">view
change</A>)
+
(<A
href="http://goopen.org/confluence/pages/editpage.action?pageId=9560">edit
page</A>)
</DIV>