Switched H2 to server-mode and made the console available in the app
[examples/facebook-app] / pom.xml
diff --git a/pom.xml b/pom.xml
index 5c70ea4..510a4ff 100644 (file)
--- a/pom.xml
+++ b/pom.xml
     <httpclient.timeout.connection>60000</httpclient.timeout.connection>
     <httpclient.timeout.read>60000</httpclient.timeout.read>
     <httpclient.logging.level>ERROR</httpclient.logging.level>
+    <!-- database settings for tests -->
+    <jdbc.groupId>com.h2database</jdbc.groupId>
+    <jdbc.artifactId>h2</jdbc.artifactId>
+    <jdbc.url><![CDATA[jdbc:h2:~/test;DB_CLOSE_ON_EXIT=FALSE]]></jdbc.url>
+    <jdbc.username>sa</jdbc.username>
+    <jdbc.password></jdbc.password>
   </properties>
 
   <dependencies>
       <groupId>org.apache.httpcomponents</groupId>
       <artifactId>httpclient</artifactId>
     </dependency>
+    <!-- Persistence -->
+    <dependency>
+      <groupId>org.springframework.boot</groupId>
+      <artifactId>spring-boot-starter-data-jpa</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>${jdbc.groupId}</groupId>
+      <artifactId>${jdbc.artifactId}</artifactId>
+      <scope>runtime</scope>
+    </dependency>
   </dependencies>
 
   <build>