blob: 65816152b004fff3ddf828eff2c38346833f785b [file]
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Licensed to the Apache Software Foundation (ASF) under one
~ or more contributor license agreements. See the NOTICE file
~ distributed with this work for additional information
~ regarding copyright ownership. The ASF licenses this file
~ 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.
-->
<plexus>
<load-on-start>
<!-- MUST come before agent (inserted by appserver plugin) since that will try and boot the services -->
<component>
<role>org.codehaus.plexus.naming.Naming</role>
<role-hint>dataSources</role-hint>
</component>
</load-on-start>
<components>
<component>
<role>org.codehaus.plexus.naming.Naming</role>
<implementation>org.codehaus.plexus.naming.DefaultNaming</implementation>
<role-hint>dataSources</role-hint>
<configuration>
<resources>
<!--
Mail Session
-->
<resource>
<name>mail/Session</name>
<type>javax.mail.Session</type>
<properties>
<property>
<name>mail.smtp.host</name>
<value>localhost</value>
</property>
<property>
<name>mail.smtp.port</name>
<value>25</value>
</property>
</properties>
</resource>
<!--
Datasources
-->
<resource>
<name>jdbc/users</name>
<type>javax.sql.DataSource</type>
<properties>
<property>
<name>driverClassName</name>
<value>org.apache.derby.jdbc.EmbeddedDriver</value>
</property>
<property>
<name>url</name>
<value>jdbc:derby:${plexus.home}/data/users/database;create=true</value>
</property>
<property>
<name>username</name>
<value>sa</value>
</property>
<property>
<name>password</name>
<value></value>
</property>
</properties>
</resource>
<resource>
<name>jdbc/continuum</name>
<type>javax.sql.DataSource</type>
<properties>
<property>
<name>driverClassName</name>
<value>org.apache.derby.jdbc.EmbeddedDriver</value>
</property>
<property>
<name>url</name>
<value>jdbc:derby:${plexus.home}/data/continuum/database;create=true</value>
</property>
<property>
<name>username</name>
<value>sa</value>
</property>
<property>
<name>password</name>
<value></value>
</property>
</properties>
</resource>
</resources>
</configuration>
</component>
</components>
</plexus>