Files
DSpace/dspace/profiles-example.xml
Mark Diggory 82c6717dfa sql.dir no longer a used property.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2228 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-02 20:59:22 +00:00

53 lines
2.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<profilesXml xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/profiles-1.0.0.xsd">
<!--
To use these profiles, you will need to copy this file to "profiles.xml" and customize
it appropriately.
The following profiles show how to customize the build process for either
postgres or oracle to include extra details such as db.url, db.username and db.password
which will be populated in the resulting dspace.cfg that is filtered into
this projects target directory.
Note: for oracle you may more than likely find you need to retrieve the jar from
the Oracle website and install it locally into your repository.
-->
<profiles>
<profile>
<id>postgres</id>
<activation>
<property>
<name>!db.name</name>
</property>
</activation>
<properties>
<db.name>postgres</db.name>
<db.driver>org.postgresql.Driver</db.driver>
<db.url>jdbc:postgresql://localhost:5432/dspace</db.url>
<db.username>postgres_user</db.username>
<db.password>postgres_passwd</db.password>
</properties>
</profile>
<profile>
<id>oracle</id>
<activation>
<property>
<name>db.name</name>
<value>oracle</value>
</property>
</activation>
<properties>
<db.name>oracle</db.name>
<db.driver>oracle.jdbc.OracleDriver</db.driver>
<db.url>jdbc:oracle:thin:@//localhost:1521/xe</db.url>
<db.username>oracle_user</db.username>
<db.password>oracle_passwd</db.password>
</properties>
</profile>
</profiles>
</profilesXml>