Date: 2004-10-23T12:00:35
   Editor: RalfBarkow <[EMAIL PROTECTED]>
   Wiki: Apache Geronimo Wiki
   Page: Building
   URL: http://wiki.apache.org/geronimo/Building

   Updated section 1. and 4. to reflect the new m: goals

Change Log:

------------------------------------------------------------------------------
@@ -14,7 +14,7 @@
 
 ... who wants to work on a fresh checkout of all major geronimo-related 
projects in one maven build environment.
 
-Assuming you have Maven 1.0 installed:  
+Assuming you have Maven 1.0 installed, build the first time with:  
     {{{
 $ svn checkout http://svn.apache.org/repos/asf/geronimo/trunk geronimo
 $ cd geronimo
@@ -22,19 +22,18 @@
   [ BECAREFUL: Deletes checkout of ActiveMQ, HOWL, OpenEJB, and TranQL 
                and checks them out again
   ]
-
 $ maven m:rebuild-all
   [ Same as m:clean m:clean-repo m:default 
     and it includes geronimo-spec modules
   ]
 
---- old build instructions before the new m: goals were introduced ---
+}}}
 
-$ maven multiproject:install -Dmaven.test.skip=true -Dmaven.itest.skip=true  
-[if the build fails then try the following steps:
-        $   maven -Dmodules=maven-itest-plugin
-        $   maven multiproject:install -Dmaven.test.skip=true 
-Dmaven.itest.skip=true
-]
+Build next time with: 
+    {{{
+$ maven m:update
+$ maven -p dependencies.xml 
+$ maven m:rebuild -o
 
 }}}
 
@@ -77,19 +76,19 @@
 
 [http://issues.apache.org/jira/browse/GERONIMO-297 (see also GERONIMO-297)]
 
-To build geronimo and related projects at once in a unified environment,  
follow this procedure:
+To build geronimo and related projects at once in a unified environment, 
follow this procedure:
 
 Edit project.properties and set the cvs info appropriately for any project you 
may be a committer on.
 
-run `maven getotherprojects` to get activemq, howl, openejb, tranql, and 
tranql-connector from cvs.
+run `maven m:checkout` to get ActiveMQ, HOWL, OpenEJB, and TranQL from cvs.
 
-run `maven multiproject:install` to build everything.  There may be test 
failures in other projects, so you may need `-Dmaven.test.failure.ignore=true`. 
 You might need to run twice to make sure all plugins are installed before they 
are used.
+run `maven m:build` to build everything.  There may be test failures in other 
projects, so you may need `-Dmaven.test.failure.ignore=true`.  You might need 
to run twice to make sure all plugins are installed before they are used.
 
-After you have all external dependencies downloaded, you can make sure the 
versions are consistent between all these projects by:
+After you have all external dependencies downloaded with a `maven -p 
dependencies.xml` , you can make sure the versions are consistent between all 
these projects by:
 
-`maven complete-rebuild -o`
+`maven m:rebuild-all -o`
 
-This will remove the local maven repositories for all these projects, do 
`multiproject:clean` and `multiproject:install`.
+To remove the local maven repository artifacts of ActiveMQ, Geronimo, HOWL, 
OpenEJB, and TranQL, do `maven m:clean-repo` -- and build again.  
 
 
 = Building Offline =

Reply via email to