Database Reference
In-Depth Information
<dependencies>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-neo4j</artifactId>
<version>3.1.1.RELEASE<version>
</dependency>
...
</dependencies>
You can find the appropriate binary files as well as OS-specific installation instructions at
http://maven.apache.org/download.cgi . Please ensure you use Maven 3.0.5 or greater. The
setup process described on the Maven site will help you to set up your Maven home (the
M2_HOME directory), and it should be a relatively simple process.
If, however, you're running in a restricted environment (behind a firewall or on a machine
with restricted rights), you may need to do a bit more configuration. The “Building a
Project with Maven” page of the Maven site provides a more detailed set of instructions
for setting up Maven to build a project, including its use in restricted situations: ht-
tp://maven.apache.org/run-maven/index.html .
B.2. Running the demos and samples
This section provides specific instructions for running the samples and demo code that ac-
companythisbook.Thisassumesyouhavealreadyfollowedthesetupinstructionsdetailed
in section B.1 .
General instructions
The instructions here are forrunning the samples from a command line, but youcan just as
easily run them from an IDE such as Eclipse or IntelliJ, provided the appropriate (Maven)
plugins are available and basic setup has been performed:
1 . If you haven't already, follow the instructions in section B.1 to install Java and
Maven.
2 . Open a command prompt (Windows) or terminal (Unix) window.
3 . Change to the base N4JIA_SAMPLE_HOME directory.
Search WWH ::




Custom Search