On 7/14/06, Craig McClanahan <[EMAIL PROTECTED]> wrote:
The best approach is to make the build system so powerful that running your entire test suite against either the MyFaces or RI implementations is a single command line parameter. Wendy's already done that for Shale (so we have no excuses for the framework not supporting both :-), and I'm sure it can be done for the component libraries too.
Not me. :) As I recall, the idea came from here originally, was enhanced by someone on the maven users list, and then was contributed back to MyFaces. "mvn install " vs. "mvn install -Djsf=ri" Maven has some work yet to do as far as supporting integration testing easily. Right now the best approach is to establish a separate module for the integration tests. If you're going to release components that only work with MyFaces, I'd suggest putting them in a separate jar. If there's something really cool that's not possible with the RI, then that's a selling point for MyFaces... but releasing a "Tomahawk" that doesn't work with the RI does not sound like a good idea to me. -- Wendy
