You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by Apache Wiki <wi...@apache.org> on 2006/01/02 01:00:49 UTC

[Myfaces Wiki] Update of "Building With Maven" by StevePeterson

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by StevePeterson:
http://wiki.apache.org/myfaces/Building_With_Maven

------------------------------------------------------------------------------
- == Building With Maven ==
+ == Building Myfaces ==
  
- ==== Maven version ====
+ Myfaces is built using the Maven software project management tool.  Follow these instructions to build Myfaces from source on your machine.  If you just want a binary distribution, one can be downloaded from http://myfaces.apache.org/binary.cgi.
  
- Maven 2 is being used. At least, Maven 2.0.1 is needed to generate the project site.
+ ==== Prerequisites ====
+ 
+ To build Myfaces, you'll need the software listed below installed on your machine.
+ 
+  * JDK 1.4
+  * Maven 2.0.1, with the bin directory in your path
+  * Subversion client for your build environment
+  * Maven XSLT plugin -- currently only available in source.
+   1.  Use Subversion to get plugin source from svn://svn.codehaus.org/mojo/scm/trunk/mojo/mojo-sandbox/xslt-maven-plugin
+   1.  Run 'mvn install' in the source directory you downloaded.  This causes the plugin to be built and installed in your maven instance.
+ 
+ ==== Running a Myfaces build ====
+ 
+ {{{svn co https://svn.apache.org/repos/asf/myfaces/current myfaces-current
+ cd myfaces-current/build
+ mvn -Dmaven.test.failure.ignore=true install
+ }}}
+ 
+ Note that the -Dmaven.test.failure.ignore=true is needed only during the migration while some unit test failures are resolved.
+ 
  
  == Testing the MyFaces Archetype ==