From b17c2abc72bdc3072e20ad85fa58eeeb06c44933 Mon Sep 17 00:00:00 2001 From: Oliver Gierke Date: Thu, 4 Sep 2014 09:08:05 +0200 Subject: [PATCH] DATAGRAPH-511 - Tweak AspectJ setup to make sure we can build on Spring 4.1 Added aop.xml to only compile explicitly listed aspects into the code. 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-neo4j-aspects/aop.xml | 7 +++++++ spring-data-neo4j-aspects/pom.xml | 15 ++++++++------- 2 files changed, 15 insertions(+), 7 deletions(-) create mode 100644 spring-data-neo4j-aspects/aop.xml diff --git a/spring-data-neo4j-aspects/aop.xml b/spring-data-neo4j-aspects/aop.xml new file mode 100644 index 000000000..0aa9bd7f9 --- /dev/null +++ b/spring-data-neo4j-aspects/aop.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/spring-data-neo4j-aspects/pom.xml b/spring-data-neo4j-aspects/pom.xml index e157b3b50..d18c3e044 100644 --- a/spring-data-neo4j-aspects/pom.xml +++ b/spring-data-neo4j-aspects/pom.xml @@ -2,7 +2,7 @@ 4.0.0 - + spring-data-neo4j-aspects Spring Data Neo4j - AspectJ Advanced Mapping @@ -20,7 +20,7 @@ - + org.springframework @@ -52,7 +52,7 @@ - + javax.validation @@ -120,7 +120,7 @@ cglib 2.2.2 - + org.neo4j neo4j-spatial @@ -141,7 +141,7 @@ - + @@ -175,7 +175,7 @@ org.codehaus.mojo aspectj-maven-plugin - 1.4 + 1.6 org.aspectj @@ -210,9 +210,10 @@ ${source.level} ${source.level} ${source.level} + aop.xml - org.apache.maven.plugins