You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by od...@dnbnor.no on 2005/09/20 10:49:39 UTC

m2 - cannot find jta in global repository

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



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

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: m2 - cannot find jta in global repository

Posted by Ralph Pöllath <li...@poellath.org>.
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.

> oddmar.sandvik@dnbnor.no 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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: m2 - cannot find jta in global repository

Posted by Allan Ramirez <ar...@exist.com>.
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.

Regards,
-allan

oddmar.sandvik@dnbnor.no 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
>
>
>
>* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>
>This email with attachments is solely for the use of the individual or
>entity to whom it is addressed. Please also be aware that the DnB NOR Group
>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: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org
>
>
>
>  
>