On 20.09.2005, at 11:15, <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]> wrote:
Thanks Ralph, I think that is the key here, since it was Hibernate
that generated this dependency as you rightly guessed.
Glad I could help. With Hibernate, the same works for
javax.transaction.jta and geronimo-spec.geronimo-spec-j2ee-jacc.
Cheers,
-Ralph.
-----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]