From: "Jay H. Hartley" <[EMAIL PROTECTED]>

2) Create two different "parent" project files, and have the "extends"
parameter depend on a property:

<project>
<extends>${jsf.project.file}</extends>

Jay, this turned out to work *perfectly*!

project.properties:
 maven.shale.jsf.impl.default=myfaces

-project.xml
<extend>${maven.shale.jsf.impl.default}-project.xml</extend>

project.xml:
  <extend>${maven.shale.jsf.impl}-project.xml</extend>

And jsfri-project.xml or myfaces-project.xml declares dependencies on one JSF implementation or the other.

So you can either set
  maven.shale.jsf.impl = [myfaces | jsfri ]
or leave it out and let it default.

--
Wendy Smoak

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to