You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ch...@apache.org on 2015/01/19 08:18:29 UTC

svn commit: r1652928 - /sling/site/trunk/content/documentation/bundles/datasource-providers.mdtext

Author: chetanm
Date: Mon Jan 19 07:18:29 2015
New Revision: 1652928

URL: http://svn.apache.org/r1652928
Log:
Add Maven coordinates

Modified:
    sling/site/trunk/content/documentation/bundles/datasource-providers.mdtext

Modified: sling/site/trunk/content/documentation/bundles/datasource-providers.mdtext
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/documentation/bundles/datasource-providers.mdtext?rev=1652928&r1=1652927&r2=1652928&view=diff
==============================================================================
--- sling/site/trunk/content/documentation/bundles/datasource-providers.mdtext (original)
+++ sling/site/trunk/content/documentation/bundles/datasource-providers.mdtext Mon Jan 19 07:18:29 2015
@@ -94,6 +94,7 @@ OSGi config.
 
 Following snippet demonstrates accessing the DataSource named `foo` via DS annotation
 
+    ::java
     import javax.sql.DataSource;
     import org.apache.felix.scr.annotations.Reference;
 
@@ -103,5 +104,17 @@ Following snippet demonstrates accessing
         private DataSource dataSource;
     }
 
+## Installation
+
+Download the bundle from [here][3] or use following Maven dependency
+
+    ::xml
+    <dependency>
+        <groupId>org.apache.sling</groupId>
+        <artifactId>org.apache.sling.datasource</artifactId>
+        <version>1.0.0</version>
+    </dependency>
+
 [1]: http://tomcat.apache.org/tomcat-7.0-doc/jdbc-pool.html
-[2]: http://www.aqute.biz/Bnd/Wrapping
\ No newline at end of file
+[2]: http://www.aqute.biz/Bnd/Wrapping
+[3]: http://sling.apache.org/downloads.cgi
\ No newline at end of file