This repository was archived by the owner on Oct 24, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathprofiles-example.xml
More file actions
52 lines (48 loc) · 2.19 KB
/
profiles-example.xml
File metadata and controls
52 lines (48 loc) · 2.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?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>
<default.db.name>postgres</default.db.name>
<default.db.driver>org.postgresql.Driver</default.db.driver>
<default.db.url>jdbc:postgresql://localhost:5432/dspace</default.db.url>
<default.db.username>postgres_user</default.db.username>
<default.db.password>postgres_passwd</default.db.password>
</properties>
</profile>
<profile>
<id>oracle</id>
<activation>
<property>
<name>db.name</name>
<value>oracle</value>
</property>
</activation>
<properties>
<default.db.name>oracle</default.db.name>
<default.db.driver>oracle.jdbc.OracleDriver</default.db.driver>
<default.db.url>jdbc:oracle:thin:@//localhost:1521/xe</default.db.url>
<default.db.username>oracle_user</default.db.username>
<default.db.password>oracle_passwd</default.db.password>
</properties>
</profile>
</profiles>
</profilesXml>