On 6/12/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:

On [EMAIL PROTECTED], Roland Asmann pointed out that a profile can be
activated if a certain property is *not* present.

We now have the MyFaces profile is active if the 'jsf' property is not
set.  The JSF RI profile is activated with -Djsf=ri on the command
line.

Using -Pmyfaces and -Pjsfri still works.  Profiles can always be
activated by their ids.  Be sure to 'mvn clean' when you switch
implementations, or the webapps will have both myfaces and the RI in
WEB-INF/lib.  (I think Maven 2.1 will better handle the concept of
'This jar provides an implementation of xyz specification' during
dependency resolution.)

With defaultGoal=install in the pom, you can now simply execute 'mvn'
from the top of the branch, and it should work.


Cool idea.  So, I tried "mvn clean" then "mvn -Pjsf=ri" from the top of the
branch.  The sample apps are still packaged with the MyFaces API and IMPL
jars (see my comment on SHALE-179).

--
Wendy


Craig

Reply via email to