From a31e72ff06e5c4be4dce492ab1989594e0e833ba Mon Sep 17 00:00:00 2001 From: Oliver Gierke Date: Thu, 4 Sep 2014 08:51:31 +0200 Subject: [PATCH] DATAMONGO-1045 - Tweak AspectJ setup in cross-store module to be able to build against Spring 4.1. Added an aop.xml to only compile explicitly listed aspects in the cross-store module. This is needed as Spring 4.1 includes a new aspect for JavaEE 7 JCache support that has optional dependencies which we don't have in the classpath. Trying to compile all aspects contained in spring-aspects will result in ClassNotFoundExceptions for the aspects with missing dependencies. --- spring-data-mongodb-cross-store/aop.xml | 7 +++++++ spring-data-mongodb-cross-store/pom.xml | 11 ++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) create mode 100644 spring-data-mongodb-cross-store/aop.xml diff --git a/spring-data-mongodb-cross-store/aop.xml b/spring-data-mongodb-cross-store/aop.xml new file mode 100644 index 000000000..d11b1549e --- /dev/null +++ b/spring-data-mongodb-cross-store/aop.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/spring-data-mongodb-cross-store/pom.xml b/spring-data-mongodb-cross-store/pom.xml index df9b2107a..df3b3ae98 100644 --- a/spring-data-mongodb-cross-store/pom.xml +++ b/spring-data-mongodb-cross-store/pom.xml @@ -2,22 +2,22 @@ 4.0.0 - + org.springframework.data spring-data-mongodb-parent 1.6.0.BUILD-SNAPSHOT ../pom.xml - + spring-data-mongodb-cross-store Spring Data MongoDB - Cross-Store Support - + 1.0.0.Final 3.6.10.Final - + @@ -126,10 +126,11 @@ org.springframework spring-aspects - + ${source.level} ${source.level} ${source.level} + aop.xml