Below is my pom.xml and within it I have spring-orm (3.0.2.RELEASE) as a dependency. I thought that as a result of having spring-orm as a dependency, javax.persistence would automatically be downloaded to my local m2 respository. Anyone know why this DIDN'T happen? And how I can cause maven to automatically download javax.persistence with the other transient dependencies?
Code:<project> <!-- Spring Framework Dependencies --> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-orm</artifactId> <version>${spring.version}</version> </dependency> </dependencies> </project>


Reply With Quote
