ismorodin / ehcache-spring-annotations

Automatically exported from code.google.com/p/ehcache-spring-annotations
0 stars 0 forks source link

Missing Dependency javax.transaction:transaction-api:jar:1.0.1B #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi Eric,
I started with the ehcache-spring-annotations from code.google. After I added 
the maven 
dependency
com.googlecode.ehcache-spring-annotations
ehcache-spring-annotations
1.0.1
I got this error
[ERROR] BUILD ERROR
[INFO] ————————————————————————
[INFO] Failed to resolve artifact.
Missing:
———-
1) javax.transaction:transaction-api:jar:1.0.1B
Any ideas?

Original issue reported on code.google.com by vivek.ka...@gmail.com on 8 Apr 2010 at 11:23

GoogleCodeExporter commented 9 years ago
Please see http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html

Original comment by eric.dalquist on 9 Apr 2010 at 7:38

GoogleCodeExporter commented 9 years ago
How about adding this repository to your ehcache-spring-annotations pom.xml?

<repositories>
  <repository>
    <id>maven2-repository.dev.java.net</id>
    <name>Java.net Repository for Maven</name>
    <url>http://download.java.net/maven/2/</url>
    <layout>default</layout>
  </repository>
</repositories>

Original comment by vivek.ka...@gmail.com on 9 Apr 2010 at 7:08

GoogleCodeExporter commented 9 years ago
We can't if we want our artifact to be in the central maven repository. Their 
rules
state that an artifact cannot list any external repositories in its pom. The 
folks
that run the central maven repository are in the process of getting license 
approval
for including JTA in the central maven repository.

Original comment by eric.dalquist on 10 Apr 2010 at 3:26