maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bengt-Erik Fröberg <Bengt-Erik.Frob...@ki.se>
Subject SV: Dependency on hibernate
Date Fri, 20 Jan 2006 08:26:45 GMT
Hi

You're facing the SUN jarmaggeddon.
http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html

1) go to http://java.sun.com/products/jta/ and download class files
2) check out
http://maven.apache.org/guides/mini/guide-installing-3rd-party-jars.html
3) Replace <path-to-file> with the path to your download
4) <group-id> with javax.transaction
5) <artifact-id> with jta
6) <version> with 1.0.1B
7) <packaging> with jar
8) watch your desired transaction package get installed.... hopefully...

Yes, I know, there should be a tool for this, feels like the 80's entering
shitloads of command line arguments..

HTH

/B-E


-----Ursprungligt meddelande-----
Från: Guenther Schroettner [mailto:maven@guenz.at] 
Skickat: den 19 januari 2006 21:30
Till: Maven Users List
Ämne: Dependency on hibernate

Hello!

I added a dependency on hibernate in my pom.xml:


    <dependency>
      <groupId>hibernate</groupId>
      <artifactId>hibernate</artifactId>
      <version>3.1rc2</version>
      <scope>compile</scope>
    </dependency>

If I try to compile I get an error:

[INFO] 
----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] 
----------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

required artifacts missing:
  javax.transaction:jta:jar:1.0.1B


Hiberante needs JTA. I was at http://www.ibiblio.org/maven2/ and search for 
the jar-file. There is no JAR on this server. How can I resolve this 
dependency?

Thanks in advance!

- Guenther

-- 
  Guenther Schroettner
  maven@guenz.at

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message