You could try <exclusions> in your hiberrnate dependency so as not to
download the 1.0.1B jta jar it dependes on, and leave the dependency that
uses the jta 1.1 version as is. :)

You can check out this link http://maven.apache.org/pom.html for more info.

Thanks,
Deng

> Hi all,
>
> How can I override version number of a dependent library defined in my
> pom.xml file? I use org.hibernate:hibernate:jar:3.2.2.ga which depends
> on javax.transaction:jta:jar:1.0.1B while I'd like to use jta-1.1.jar
> (because it's needed elsewhere). How can I force a dependency to stop
> complaining about lack of older jta version and use a new one?
>
> Any help will be greatly appreciated, thanks in advance,
> Wojtek
>
> ----------------------------------------------------------------------
> Nawet 50MB w jednym mailu >>> http://link.interia.pl/f19e7
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> !DSPAM:602,461b66bd276271894314596!
>


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

Reply via email to