The JAXB jars are up java.net's repository.
Maybe if we poke them a bit more, they add activation, javamail etc too :)

http://weblogs.java.net/blog/kohsuke/archive/2006/01/jaxb_jars_are_a.html
http://blogs.sun.com/roller/page/theaquarium?entry=maven_repository_at_java_net

Bengt-Erik Fröberg wrote:
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:[EMAIL PROTECTED] 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


--
With kind regards,
Geoffrey De Smet


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

Reply via email to