]> source.dussan.org Git - archiva.git/commitdiff
[MRM-497] Add resource reference entries.
authorEmmanuel Venisse <evenisse@apache.org>
Fri, 14 Sep 2007 14:39:51 +0000 (14:39 +0000)
committerEmmanuel Venisse <evenisse@apache.org>
Fri, 14 Sep 2007 14:39:51 +0000 (14:39 +0000)
Submitted by: Aleksandr Tarutin

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@575702 13f79535-47bb-0310-9956-ffa450edef68

archiva-web/archiva-webapp/src/main/webapp/WEB-INF/web.xml

index c0e7f81ebdff5356401b43ee058e4d6e7e68999d..79a7bec72bec420a435895389258636b813ec124 100644 (file)
     <url-pattern>/repository/*</url-pattern>
   </servlet-mapping>
 
+  <resource-ref>
+     <res-ref-name>jdbc/users</res-ref-name>
+     <res-type>javax.sql.DataSource</res-type>
+     <res-auth>Container</res-auth>
+     <res-sharing-scope>Shareable</res-sharing-scope>
+  </resource-ref>
+  <resource-ref>
+     <res-ref-name>jdbc/archiva</res-ref-name>
+     <res-type>javax.sql.DataSource</res-type>
+     <res-auth>Container</res-auth>
+     <res-sharing-scope>Shareable</res-sharing-scope>
+  </resource-ref>
+  <resource-ref>
+     <res-ref-name>mail/Session</res-ref-name>
+     <res-type>javax.mail.Session</res-type>
+     <res-auth>Container</res-auth>
+     <res-sharing-scope>Shareable</res-sharing-scope>
+  </resource-ref>
+
 </web-app>