Arun Ramakrishnan wrote:

> I am trying to explicitly override a transitive dependencies version, but
> dosent seem to work.
> 
> I have this in my projects pom
> 
> 
>    1.    <!-- use no-commons-logging -->
>    2.     <dependency>
>    3.         <groupId>commons-logging</groupId>
>    4.         <artifactId>commons-logging</artifactId>
>    5.         <version>99.0-does-not-exist</version>
>    6.     </dependency>
>    7.     <!-- no-commons-logging-api, if you need it -->
>    8.     <dependency>
>    9.         <groupId>commons-logging</groupId>
>    10.         <artifactId>commons-logging-api</artifactId>
>    11.         <version>99.0-does-not-exist</version>
>    12.     </dependency>
> 
> But, the first one dosent seem to override the
> transitive dependencies version. I am not sure why ?

Because this onkly works, if you have declared this versions in a 
dependencyManagement section.

- Jörg


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

Reply via email to