Hiber Miks Rozenbergs wrote: > Dave Brondsema wrote: > >> See http://maven.apache.org/reference/standard-sun-jar-names.html for >> general info. Let us know if that doesn't explain enough. > > It doesn't. Because I'm not referencing Sun jar's. I've only added > dependency to Hibernate. That javax.transaction.jta is probably required > by one of the Hibernates transitive dependencies which were pulled from > central repository. So, I assume there is something wrong with some of > the POM's in central repository. Here is a log of what happens when I do > "mvn compile" on the below pom.xml with clean (empty) local repository: >
Hibernate depends on javax.transaction.jta which is a Sun jar. You need to download it an install it into your local repository following the instructions at the bottom of http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html. An alternative to downloading it from Sun is to download Geronimo's implementation of the jar from http://www.ibiblio.org/maven2/geronimo-spec/geronimo-spec-jta/1.0.1B-rc4/geronimo-spec-jta-1.0.1B-rc4.jar and place it propertly into javax.transaction.jta locally -- Dave Brondsema Software Developer Cornerstone University
signature.asc
Description: OpenPGP digital signature
