SpringSource/spring-data-neo4j — Issue #13: aspectj configuration for eclipse not clear (FIX provided)
Author: rbuckland
Created: 2011-10-24 14:43:21+00:00
State: open

Importing cineast into eclipse, it does not compile because of the AspectJ weaving is not configured. (and has to be setup manually .. OR .... )

There is a nice way: Get the maven eclipse plugin to do it.

Two bits really: add the aspectj nature and add the spring data neo4j aspects and other stuff to the aspectj path.
Thankfully the eclipse plugin and the maven eclipse pluging working together perform this task for us.

Just modify the pom.xml and add in the maven-eclipse-plugin as follows:

org.apache.maven.plugins
maven-eclipse-plugin
2.8

1.5

org.eclipse.ajdt.ui.ajnature
org.eclipse.jdt.core.javanature
org.springframework.ide.eclipse.core.springnature

NOTE: I found how the manual setup is by reading this document - Reading this document - http://docs.neo4j.org/spring/SpringDataNeo4j_DeveloperNotes.pdf