Thanks Ralph, I think that is the key here, since it was Hibernate that 
generated this dependency as you rightly guessed.

Cheers,

- Oddmar

-----Opprinnelig melding-----
Fra: Ralph Pöllath [mailto:[EMAIL PROTECTED]
Sendt: 20. september 2005 11:06
Til: Maven Users List
Emne: Re: m2 - cannot find jta in global repository


On 20.09.2005, at 10:54, Allan Ramirez wrote:
> Hi there,
>
> I think jta is a sun jar. you must manually download it and install  
> it to your local repo. You can see the url inside the pom.

Or you could use geronimo-spec.geronimo-spec-jta as a replacement. If  
jta is a transitive dependency, the following should work:

<dependency>
     <groupId>org.hibernate</groupId>
     <artifactId>hibernate</artifactId>
     <version>3.0.5</version>
     <exclusions>
         <exclusion>
             <groupId>javax.transaction</groupId>
             <artifactId>jta</artifactId>
         </exclusion>
     </exclusions>
</dependency>

<dependency>
     <groupId>geronimo-spec</groupId>
     <artifactId>geronimo-spec-jta</artifactId>
     <version>1.0.1B-rc3</version>
</dependency>

Cheers,
-Ralph.

> [EMAIL PROTECTED] wrote:
>> I get the following error in my build.  Any suggestions?  I see  
>> that the pom is there, but the jar is not.
>>
>> Downloading: http://repo1.maven.org/maven2/javax/transaction/jta/ 
>> 1.0.1B/jta-1.0.1B.jar
>> [WARNING] Unable to get resource from repository central (http:// 
>> repo1.maven.org/maven2)
>>
>>
>> Oddmar Sandvik


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


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that DnB NOR cannot
accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


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

Reply via email to