forked from DSpace/DSpace
-
Notifications
You must be signed in to change notification settings - Fork 2
/
profiles-default.xml
96 lines (84 loc) · 3.9 KB
/
profiles-default.xml
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<?xml version="1.0"?>
<profilesXml>
<!-- Copy this profiles-default.xml to profiles.xml and fill in the variable fields for environment specifics.
This only works with MAVEN-2, maven3 has dropped support for profiles.xml
-->
<!-- Ensure that your profile is used by doing: mvn -Denv=dev package
(or -Denv=prod or -Denv=staging) -->
<!-- Configuration Defaults-->
<profiles>
<profile>
<id>default-environment</id>
<activation>
<!-- Make this profile "activeByDefault", using workaround at: http://jira.codehaus.org/browse/MNG-4533 -->
<property>
<name>!dummy</name>
</property>
</activation>
<properties>
<dspace.dir>/dspace</dspace.dir>
<dspace.database.name>postgres</dspace.database.name>
<dspace.database.driver>org.postgresql.Driver</dspace.database.driver>
<dspace.database.url>jdbc:postgresql://localhost:5432/dspace</dspace.database.url>
<dspace.database.username>dspace</dspace.database.username>
<dspace.database.password>dspace</dspace.database.password>
<dspace.mail.server.disabled>false</dspace.mail.server.disabled>
<dspace.mail.from.address>[email protected]</dspace.mail.from.address>
<dspace.webui.browse.render-scientific-formulas>false</dspace.webui.browse.render-scientific-formulas>
<dspace.xmlui.user.assumelogin>false</dspace.xmlui.user.assumelogin>
<dspace.xmlui.theme.allowoverrides>false</dspace.xmlui.theme.allowoverrides>
<dspace.xmlui.google.analytics.key>UA-XXXXXX-X</dspace.xmlui.google.analytics.key>
<dspace.statistics.elasticsearch.clusterName>dspaceelastic</dspace.statistics.elasticsearch.clusterName>
<dspace.statistics.elasticsearch.indexName>unset</dspace.statistics.elasticsearch.indexName>
<dspace.statistics.elasticsearch.indexType>stats</dspace.statistics.elasticsearch.indexType>
<disseminate-citation.enable-globally>false</disseminate-citation.enable-globally>
<disseminate-citation.enabled_collections></disseminate-citation.enabled_collections>
<disseminate-citation.enabled_communities></disseminate-citation.enabled_communities>
<disseminate-citation.citation_as_first_page>true</disseminate-citation.citation_as_first_page>
<gallery.item_pager.enabled>false</gallery.item_pager.enabled>
</properties>
</profile>
<!-- Production -->
<profile>
<id>env-prod</id>
<activation>
<property>
<name>env</name>
<value>prod</value>
</property>
</activation>
<properties>
<dspace.hostname>production.example.edu</dspace.hostname>
<!-- ... -->
</properties>
</profile>
<!-- Staging -->
<profile>
<id>env-staging</id>
<activation>
<property>
<name>env</name>
<value>staging</value>
</property>
</activation>
<properties>
<dspace.hostname>staging.example.edu</dspace.hostname>
<!-- ... -->
</properties>
</profile>
<!-- Development -->
<profile>
<id>env-dev</id>
<activation>
<property>
<name>env</name>
<value>dev</value>
</property>
</activation>
<properties>
<dspace.hostname>localhost</dspace.hostname>
<!-- ... -->
</properties>
</profile>
</profiles>
</profilesXml>