You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2006/11/21 16:01:21 UTC

svn commit: r477692 - /incubator/activemq/site/building.html

Author: chirino
Date: Tue Nov 21 07:01:20 2006
New Revision: 477692

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

Modified:
    incubator/activemq/site/building.html

Modified: incubator/activemq/site/building.html
URL: http://svn.apache.org/viewvc/incubator/activemq/site/building.html?view=diff&rev=477692&r1=477691&r2=477692
==============================================================================
--- incubator/activemq/site/building.html (original)
+++ incubator/activemq/site/building.html Tue Nov 21 07:01:20 2006
@@ -254,46 +254,78 @@
 -->
             <DIV class="wiki-content"><P>ActiveMQ uses <SPAN class="nobr"><A href="http://maven.apache.org/" title="Visit page outside Confluence" rel="nofollow">Maven<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> as its build tool. If you don&apos;t fancy using Maven you can use your IDE directly or <A href="download.html" title="Download">Download</A> a distribution or JAR.</P>
 
-<P>We have tested the build with Maven 1.0 and it works fine. The Maven 2 build is also working - in Maven 2.0.4 or later for building the jars and running the unit tests. If you hit any issues with Maven please <A href="support.html" title="Support">let us know</A> and we&apos;ll try help.</P>
 
 <H2><A name="Building-Gettingstarted"></A>Getting started</H2>
 
 <UL>
 	<LI>Download and <SPAN class="nobr"><A href="http://maven.apache.org/start/install.html" title="Visit page outside Confluence" rel="nofollow">install Maven<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>.</LI>
 	<LI>Get the latest <A href="source.html" title="Source">Source</A></LI>
-	<LI>Build the code with the following command on Maven 2</LI>
+	<LI>Build the code with Maven</LI>
 </UL>
 
 
+<H2><A name="Building-UsingMaven2%28ActiveMQ4.1.xandUp%29"></A>Using Maven 2 (ActiveMQ 4.1.x and Up)</H2>
+
+<P>ActiveMQ 4.1.x and up use Maven 2 to Build.  We recommend you download and install <SPAN class="nobr"><A href="http://maven.apache.org/download.html" title="Visit page outside Confluence" rel="nofollow">Maven 2.0.4<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>
+
+<TABLE cellpadding="5" width="85%" cellspacing="8px" class="noteMacro" border="0" align="center"><COLGROUP><COL width="24"><COL></COLGROUP><TR><TD valign="top"><IMG src="http://goopen.org/confluence/images/icons/emoticons/warning.gif" width="16" height="16" align="absmiddle" alt="" border="0"></TD><TD>
+<P>You should set the MAVEN_OPTS environment variable to -Xmx800m.  There are portions of the ActiveMQ build that are very memory intensive.  Increase the maven memory limit so that the build does not fail for you.  </P></TD></TR></TABLE>
+
+<H3><A name="Building-DoingaQuickBuild"></A>Doing a Quick Build</H3>
 <DIV class="code"><DIV class="codeContent">
 <PRE class="code-java">mvn -Dmaven.test.skip=<SPAN class="code-keyword">true</SPAN> install</PRE>
 </DIV></DIV>
 
-<P>or using Maven 1.x</P>
+<H3><A name="Building-UsinganIDE"></A>Using an IDE</H3>
+
+<P>If you prefer to use an IDE then you can auto-generate the IDE&apos;s project files using maven plugins. e.g.</P>
 
 <DIV class="code"><DIV class="codeContent">
-<PRE class="code-java">maven</PRE>
+<PRE class="code-java">mvn eclipse:eclipse</PRE>
+</DIV></DIV>
+
+<P>or</P>
+
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-java">mvn idea:idea</PRE>
 </DIV></DIV>
 
-<P>For more details try the <A href="examples.html" title="Examples">Examples</A> or <A href="benchmark-tests.html" title="Benchmark Tests">Benchmark Tests</A></P>
+<P>etc.</P>
+
+<H3><A name="Building-OtherMaven2Goals"></A>Other Maven 2 Goals</H3>
+<P>For more details try the <A href="examples.html" title="Examples">Examples</A> or <A href="benchmark-tests.html" title="Benchmark Tests">Benchmark Tests</A><BR>
+Please refer to the <SPAN class="nobr"><A href="http://maven.apache.org/plugins/index.html" title="Visit page outside Confluence" rel="nofollow">plugin reference<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> for more details on using them.</P>
+
+<H2><A name="Building-UsingMaven1%28ActiveMQ4.0.xandDown%29"></A>Using Maven 1 (ActiveMQ 4.0.x and Down)</H2>
 
-<H2><A name="Building-UsinganIDE"></A>Using an IDE</H2>
+<P>ActiveMQ 4.0.x and down use Maven 1 to Build.  We recommend you download and install <SPAN class="nobr"><A href="http://maven.apache.org/maven-1.x/start/download.html" title="Visit page outside Confluence" rel="nofollow">Maven 1.0.2<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>
+
+
+<H3><A name="Building-DoingaQuickBuild"></A>Doing a Quick Build</H3>
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-java">maven -Dmaven.test.skip=<SPAN class="code-keyword">true</SPAN></PRE>
+</DIV></DIV>
+
+<H3><A name="Building-UsinganIDE"></A>Using an IDE</H3>
 
 <P>If you prefer to use an IDE then you can autogenerate the IDE&apos;s project files using maven plugins. e.g.</P>
 
 <DIV class="code"><DIV class="codeContent">
-<PRE class="code-java">mvn eclipse:eclipse</PRE>
+<PRE class="code-java">maven eclipse</PRE>
 </DIV></DIV>
 
 <P>or</P>
 
 <DIV class="code"><DIV class="codeContent">
-<PRE class="code-java">mvn idea:idea</PRE>
+<PRE class="code-java">maven idea</PRE>
 </DIV></DIV>
 
 <P>etc.</P>
 
-<P>Please refer to the <SPAN class="nobr"><A href="http://maven.apache.org/plugins/index.html" title="Visit page outside Confluence" rel="nofollow">plugin reference<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> for more details on using them.</P></DIV>
+<H3><A name="Building-OtherMaven1Goals"></A>Other Maven 1 Goals</H3>
+
+<P>For more details try the <A href="examples.html" title="Examples">Examples</A> or <A href="benchmark-tests.html" title="Benchmark Tests">Benchmark Tests</A><BR>
+Please refer to the <SPAN class="nobr"><A href="http://maven.apache.org/maven-1.x/plugins/bundled/" title="Visit page outside Confluence" rel="nofollow">plugin reference<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> for more details on using them.</P></DIV>
           
                   </DIV>
         </TD>
@@ -303,8 +335,8 @@
     </DIV>
     <DIV id="site-footer">
           Added by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James Strachan</A>,
-    last edited by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=chirino">Hiram Chirino</A> on Nov 18, 2006
-                  &nbsp;(<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=277&originalId=15094">view change</A>)
+    last edited by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=chirino">Hiram Chirino</A> on Nov 21, 2006
+                  &nbsp;(<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=277&originalId=15150">view change</A>)
               
       (<A href="http://goopen.org/confluence/pages/editpage.action?pageId=277">edit page</A>)
     </DIV>