RE: Override dependency own dependency

2006-08-24 Thread Sébastien Boutté
Hi Yann,

I try and it's working now.

Thank you

Sébastien

-Message d'origine-
De : Yann Le Du [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 23 août 2006 20:44
À : Maven Users List
Objet : Re: Override dependency own dependency

Hi Sébastien,

If you add directly dependency2 into your project POM, it should override
the transitive one.

Does it help ?

- Yann

2006/8/23, Sébastien Boutté [EMAIL PROTECTED]:

 Hi,



 I would like to know how i can override a specific dependency of one of my
 dependency :



 My project has a dependency on dependency1 which has a dependency on
 dependency2.

 I have made some improvements/bug fixes on dependy2'jar, how can I
 configure
 Maven 2 to use

 My own dependency2'jar in place of the one in the default repository ?



 For the two cases :

 1.  Generation of war file
 2.  Creation of Eclipse Workspace Libraries dependency



 Thanks for your help,



 Sébastien Boutté





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



Re: Override dependency own dependency

2006-08-23 Thread Yann Le Du

Hi Sébastien,

If you add directly dependency2 into your project POM, it should override
the transitive one.

Does it help ?

- Yann

2006/8/23, Sébastien Boutté [EMAIL PROTECTED]:


Hi,



I would like to know how i can override a specific dependency of one of my
dependency :



My project has a dependency on dependency1 which has a dependency on
dependency2.

I have made some improvements/bug fixes on dependy2'jar, how can I
configure
Maven 2 to use

My own dependency2'jar in place of the one in the default repository ?



For the two cases :

1.  Generation of war file
2.  Creation of Eclipse Workspace Libraries dependency



Thanks for your help,



Sébastien Boutté