On Aug 16, 2005, at 4:59 PM, dan tran wrote:

you need to download jta 1.0.1b from sun and place it under your local repo.

Hi,

There are alternatives. Like geronimo-spec-jta.

Here's my list of dependencies for Hibernate:

    <!-- Hibernate -->
    <dependency>
      <groupId>hibernate</groupId>
      <artifactId>hibernate</artifactId>
      <version>3.0.5</version>

      <exclusions>
        <exclusion>
          <groupId>ant</groupId>
          <artifactId>ant</artifactId>
        </exclusion>
        <exclusion>
          <groupId>odmg</groupId>
          <artifactId>odmg</artifactId>
        </exclusion>
        <exclusion>
          <groupId>c3p0</groupId>
          <artifactId>c3p0</artifactId>
        </exclusion>
        <exclusion>
          <groupId>proxool</groupId>
          <artifactId>proxool</artifactId>
        </exclusion>
        <exclusion>
          <groupId>opensymphony</groupId>
          <artifactId>oscache</artifactId>
        </exclusion>
        <exclusion>
          <groupId>swarmcache</groupId>
          <artifactId>swarmcache</artifactId>
        </exclusion>
        <exclusion>
          <groupId>jboss</groupId>
          <artifactId>jboss-cache</artifactId>
        </exclusion>
        <exclusion>
          <groupId>javax.security</groupId>
          <artifactId>jacc</artifactId>
        </exclusion>
        <exclusion>
          <groupId>javax.transaction</groupId>
          <artifactId>jta</artifactId>
        </exclusion>
      </exclusions>

    </dependency>

    <dependency>
      <groupId>geronimo-spec</groupId>
      <artifactId>geronimo-spec-jta</artifactId>
      <version>1.0-M1</version>
    </dependency>

--
Cheers,
Kristian


.m2/repository/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar

-D

On 8/16/05, flyisland <[EMAIL PROTECTED]> wrote:

Hi All,

I'm using Maven 2.0-alpha-3 now, I try to add hibernate 3.0.5 into my
maven2 pom file today, and i got the following error:

========================
Downloading: http://repo1.maven.org/maven2/javax/transaction/jta/ 1.0.1B/jta-1.0.1B.jar [WARNING] Unable to get resource from repository http:// repo1.maven.org/maven2 [INFO] --------------------------------------------------------------------- -------
[INFO] BUILD FAILURE
[INFO] --------------------------------------------------------------------- -------
[INFO] Main Error:
 Unable to download the artifact from any repository
 javax.transaction:jta:1.0.1B:jar

from the specified remote repositories:
 http://repo1.maven.org/maven2
Path to dependency:
       1) com.mycompany.app:my-app:jar:1.0-SNAPSHOT
       2) hibernate:hibernate:jar:3.0.5
       3) javax.transaction:jta:jar:1.0.1B
========================

did anyone use hibernate 3.0.5 successfully with maven2? what can i do now?

thanks
Island Chen

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




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




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

Reply via email to