ARIES-1869 - Update examples to current versions
diff --git a/examples/README.md b/examples/README.md
index 0766e4b..6d1a580 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -1,29 +1,29 @@
# Installation instructions for jpa-examples
-Install at least Karaf 4.0.0
+Install at least Karaf 4.2.1
-## Copy DataSource config
+## Copy DataSource config
```
-cat https://svn.apache.org/repos/asf/aries/trunk/jpa/examples/org.ops4j.datasource-tasklist.cfg | tac -f etc/org.ops4j.datasource-tasklist.cfg
+cat https://raw.githubusercontent.com/apache/aries-jpa/master/examples/org.ops4j.datasource-tasklist.cfg | tac etc/org.ops4j.datasource-tasklist.cfg
```
## Install features
```
-feature:repo-add mvn:org.ops4j.pax.jdbc/pax-jdbc-features/0.8.0/xml/features
-feature:install scr transaction pax-jdbc-config pax-jdbc-h2 pax-jdbc-pool-dbcp2 http-whiteboard jpa hibernate/4.3.6.Final
+feature:repo-add mvn:org.ops4j.pax.jdbc/pax-jdbc-features/1.3.1/xml/features
+feature:install scr transaction pax-jdbc-config pax-jdbc-h2 pax-jdbc-pool-dbcp2 http-whiteboard jpa hibernate
```
# Closure based example. (Make sure to start karaf with JDK 8)
```
-install -s mvn:org.apache.aries.jpa.example/org.apache.aries.jpa.example.tasklist.model/2.3.0
-install -s mvn:org.apache.aries.jpa.example/org.apache.aries.jpa.example.tasklist.ds/2.3.0
+install -s mvn:org.apache.aries.jpa.example/org.apache.aries.jpa.example.tasklist.model/2.7.0
+install -s mvn:org.apache.aries.jpa.example/org.apache.aries.jpa.example.tasklist.ds/2.7.0
```
# Blueprint based example
```
-install -s mvn:org.apache.aries.jpa/org.apache.aries.jpa.blueprint/2.3.0
-install -s mvn:org.apache.aries.jpa.example/org.apache.aries.jpa.example.tasklist.model/2.3.0
-install -s mvn:org.apache.aries.jpa.example/org.apache.aries.jpa.example.tasklist.blueprint/2.3.0
+feature:install aries-blueprint
+install -s mvn:org.apache.aries.jpa.example/org.apache.aries.jpa.example.tasklist.model/2.7.0
+install -s mvn:org.apache.aries.jpa.example/org.apache.aries.jpa.example.tasklist.blueprint/2.7.0
```
After installing the examples you can check for the services.
@@ -44,4 +44,3 @@
and check it is added to the list
http://localhost:8181/tasklist
-
diff --git a/examples/org.ops4j.datasource-tasklist.cfg b/examples/org.ops4j.datasource-tasklist.cfg
index 19c848d..66a72e0 100644
--- a/examples/org.ops4j.datasource-tasklist.cfg
+++ b/examples/org.ops4j.datasource-tasklist.cfg
@@ -5,16 +5,17 @@
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
-#
+#
# http://www.apache.org/licenses/LICENSE-2.0
-#
+#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
-
-osgi.jdbc.driver.name = H2-pool-xa
+osgi.jdbc.driver.name=H2
+pool=dbcp2
+xa=true
databaseName = tasklist;create=true
dataSourceName = tasklist