You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Dudu <ed...@yahoo.com.br> on 2006/09/11 16:38:02 UTC

Conflict with dependencies

I'm using the RI implementation of JSF, and using shale-test too.
But Shale-test uses another JSF implementation, the MyFaces. And the two
implementation obviously has classes with identical names.

How can I manage conflicts like this? Is it correct to change the pom.xml of
shale to don't get the myfaces? I think no, because all developers of my
team would to do this...and the goal of maven is the distributed
development.

In case of jars conflicts, how to solve this in a automatic way to all
developers don't need to change their originally local repositories?

Thanks.

Re: Conflict with dependencies

Posted by Wendy Smoak <ws...@gmail.com>.
On 9/11/06, Dudu <ed...@yahoo.com.br> wrote:
> I'm using the RI implementation of JSF, and using shale-test too.
> But Shale-test uses another JSF implementation, the MyFaces. And the two
> implementation obviously has classes with identical names.
>
> How can I manage conflicts like this? Is it correct to change the pom.xml of
> shale to don't get the myfaces? I think no, because all developers of my
> team would to do this...and the goal of maven is the distributed
> development.
>
> In case of jars conflicts, how to solve this in a automatic way to all
> developers don't need to change their originally local repositories?

As Jörg mentioned, you'll need to use <exclusions> with the shale-test
dependency to keep MyFaces from being brought into your project.
(This also affects shale-core 1.0.3.)

This issue was reported as SHALE-258, and we'll be marking the JSF
implementation dependencies as 'provided' to keep this from happening
in future releases:

http://issues.apache.org/struts/browse/SHALE-258

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org