Maven Support for ICEfaces EE

Building the Libraries
----------------------

Binary distribution:  The various libraries have been prebuilt. The Ant build file is designed to install the existing libraries into the local Maven repository identified in the ee-build.properties file.

Source distribution: If this is a source distribution, you will need to build the jars first so they are residing in the
lib directories of their respective folders.  From the top level of the source distribution you can use ant to do this:

icefaces-ee-install-dir> ant clean.build.projects


Installing to Local Maven Repository
------------------------------------

The following utilities are provided for installing the various ICEfaces EE libraries to your local Maven repository:

1) Edit the ee-build.properties file and set the local.repository property to the path of your local Maven repository.

2) From the maven2/ directory (where this readme.txt is located), you can use Ant to install all the relevant libraries into the local repository directory:

icefaces-ee-install-dir/maven2> ant install


The other target required for sample build is “ace.theme.install” to install all the ace theme libraries to a local maven repo.

It's also possible to use the Maven command line directly and install the libraries you require directly.  For example:

icefaces-ee-install-dir/maven2> mvn install:install-file -Dfile=../eps/lib/eps.jar -DpomFile=eps.pom


Each sample has it's own build pom and you can run >mvn clean package to create 2 different profiles.

You could also use the mvn command line (or your IDE) to install for example in command-line from this directory:-
> mvn install:install-file -Dfile=../lib/icefaces-ee.jar -DpomFile=icefaces-ee.pom

...or >mvn clean package -Ptomcat7
(which runs the correct profile for a server which doesn't already contain the jsf jars).



