Skip to content

Commit cdeded9

Browse files
committed
Fixed some build issues in the pom.xml.
Changed artifact id for Spring Aspects module to Maven central compatible one. Removed EBR JPA API dependency and rather use Hibernate provided JAR.
1 parent c17eacf commit cdeded9

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

pom.xml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,6 @@
7676
<version>1.0.0.RC1</version>
7777
</dependency>
7878

79-
<dependency>
80-
<groupId>javax.persistence</groupId>
81-
<artifactId>com.springsource.javax.persistence</artifactId>
82-
<version>${jpa.version}</version>
83-
</dependency>
84-
8579
<dependency>
8680
<groupId>junit</groupId>
8781
<artifactId>junit</artifactId>
@@ -108,6 +102,11 @@
108102
<scope>test</scope>
109103
</dependency>
110104

105+
<dependency>
106+
<groupId>org.hibernate.javax.persistence</groupId>
107+
<artifactId>hibernate-jpa-2.0-api</artifactId>
108+
<version>1.0.0.Final</version>
109+
</dependency>
111110
<dependency>
112111
<groupId>org.hibernate</groupId>
113112
<artifactId>hibernate-entitymanager</artifactId>

spring-data-jpa-example/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
<dependency>
2020
<groupId>org.springframework</groupId>
21-
<artifactId>org.springframework.aspects</artifactId>
21+
<artifactId>spring-aspects</artifactId>
2222
<version>${spring.version}</version>
2323
</dependency>
2424

0 commit comments

Comments
 (0)