Downloading dependencies with Maven
This book covers the 1.2.0.RELEASE version of Spring Data JPA, which is the newest available version during the authoring of this book. The other components required by Spring Data JPA are described in the following table:
Component |
Description |
Version |
---|---|---|
Data source |
BoneCP is a fast connection pool library that is used as a data source for our application. |
0.7.1.RELEASE |
JPA provider |
A JPA provider is a library that implements the Java Persistence API. We will use Hibernate as a JPA provider. |
4.1.4.Final |
Spring Framework |
Spring Framework is used to develop modern enterprise applications with Java. |
3.1.2.RELEASE |
Database |
H2 is an embedded in-memory database that supports standard SQL and the JDBC API. |
1.3.166 |
We will use the newest available version of our application's other dependencies.
We can download the required dependencies with Maven by declaring them in the POM
file. In order to do this, we have to add the following dependency declarations...