On 11/19/05, Piotr Bzdyl <[EMAIL PROTECTED]> wrote:

> I would like to know what I should use as my dependency if I want to use
> myfaces. I browsed http://ibiblio.org/maven2/myfaces/ and found:
>
> myfaces-all
> myfaces-api
> myfaces-impl
> myfaces-jsf-api
> myfaces
>
> I would like to use version 1.1.1 but none of the poms declared for any
> version has specified dependencies for jsf, servlet-api and jsp-api.
> What do you use as your myfaces dependency?

For Shale, I'm using:

         <dependencies>
            <dependency>
               <groupId>myfaces</groupId>
               <artifactId>myfaces-api</artifactId>
               <version>1.1.1</version>
               </exclusions>
            </dependency>
            <dependency>
               <groupId>myfaces</groupId>
               <artifactId>myfaces-impl</artifactId>
               <version>1.1.1</version>
               <scope>runtime</scope>
            </dependency>
         </dependencies>

In general you either use myfaces-all *or* myfaces-api + myfaces-impl.
 (And myfaces-all might also have the Tomahawk components in it... I'd
have to look.)

myfaces-jsf-api is an old artifact name, they're not using it anymore.

> I have an impression that myfaces poms are mess and should be organized.

So you've mentioned. :)
   http://jira.codehaus.org/browse/MEV-136
   http://jira.codehaus.org/browse/MEV-171

It's on my list to sort out... I haven't gotten there yet.

--
Wendy

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

Reply via email to