Database Reference
In-Depth Information
<executions>
<execution>
<goals>
<goal>compile</goal>
<goal>test-compile</goal>
</goals>
</execution>
</executions>
<configuration>
<outxml>true</outxml>
<aspectLibraries>
<aspectLibrary>
<groupId>org.springframework</groupId>
<artifactId>spring-aspects</artifactId>
</aspectLibrary>
<aspectLibrary>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-neo4j-aspects</artifactId>
</aspectLibrary>
</aspectLibraries>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
</build>
C.2. Spring configuration
This section looks at what's required to set up and configure Spring within your applica-
tion. The setup is relatively minimal, so even if you don't know Spring, it shouldn't prove
too painful.
The Spring configuration itself can be done either via an XML file or Spring's Java bean
configuration (using @Configuration annotations). As most of the SDN documenta-
tion at the time of writing provides examples using XML, we'll do likewise here, but you
can look up how to make use of the Java bean approach in chapter 21 of Michael Hun-
ger's Good Relationships : http://docs.spring.io/spring-data/data-neo4j/docs/current/refer-
ence/html/#setup .
Search WWH ::




Custom Search