forked from xwiki-attic/xwiki-enterprise
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
223 lines (220 loc) · 10.3 KB
/
pom.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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
<?xml version="1.0" encoding="UTF-8"?>
<!--
*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*
-->
<project 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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.xwiki.commons</groupId>
<artifactId>xwiki-commons-pom</artifactId>
<version>3.1-SNAPSHOT</version>
<relativePath>../xwiki-commons/xwiki-commons-pom</relativePath>
</parent>
<groupId>org.xwiki.enterprise</groupId>
<artifactId>xwiki-enterprise</artifactId>
<version>3.1-SNAPSHOT</version>
<packaging>pom</packaging>
<name>XWiki Enterprise - Parent POM</name>
<description>XWiki Enterprise - Parent POM</description>
<scm>
<connection>scm:git:git://github.com/xwiki/xwiki-enterprise.git</connection>
<developerConnection>scm:git:[email protected]:xwiki/xwiki-enterprise.git</developerConnection>
<url>http://github.com/xwiki/xwiki-enterprise</url>
</scm>
<issueManagement>
<system>jira</system>
<url>http://jira.xwiki.org/jira/browse/XE</url>
</issueManagement>
<modules>
<module>xwiki-enterprise-wiki</module>
<module>xwiki-enterprise-database</module>
<module>xwiki-enterprise-web</module>
<module>xwiki-enterprise-distribution</module>
</modules>
<properties>
<commons.version>${project.version}</commons.version>
<platform.version>${project.version}</platform.version>
<!-- Don't run CLIRR on XE modules since there's no Java code and for some reason CLIRR executes which makes
the build take longer than needed (since it downloads the previous versions). -->
<xwiki.clirr.skip>true</xwiki.clirr.skip>
</properties>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-remote-resources-plugin</artifactId>
<executions>
<execution>
<id>xwiki-platform-tool-configuration-resources</id>
<configuration>
<properties>
<!-- Default configuration data for hibernate.cfg.xml -->
<xwikiDbConnectionUrl>${xwiki.db.connection.url}</xwikiDbConnectionUrl>
<xwikiDbConnectionUsername>${xwiki.db.connection.username}</xwikiDbConnectionUsername>
<xwikiDbConnectionPassword>${xwiki.db.connection.password}</xwikiDbConnectionPassword>
<xwikiDbConnectionDriverClass>${xwiki.db.connection.driver_class}</xwikiDbConnectionDriverClass>
<xwikiDbDialect>${xwiki.db.dialect}</xwikiDbDialect>
<xwikiDbHbmXwiki>${xwiki.db.hbm.xwiki}</xwikiDbHbmXwiki>
<xwikiDbHbmFeeds>${xwiki.db.hbm.feeds}</xwikiDbHbmFeeds>
<!-- Default configuration data for xwiki.cfg -->
<xwikiCfgPlugins>\
com.xpn.xwiki.monitor.api.MonitorPlugin,\
com.xpn.xwiki.plugin.calendar.CalendarPlugin,\
com.xpn.xwiki.plugin.feed.FeedPlugin,\
com.xpn.xwiki.plugin.ldap.LDAPPlugin,\
com.xpn.xwiki.plugin.google.GooglePlugin,\
com.xpn.xwiki.plugin.mail.MailPlugin,\
com.xpn.xwiki.plugin.packaging.PackagePlugin,\
com.xpn.xwiki.plugin.query.QueryPlugin,\
com.xpn.xwiki.plugin.svg.SVGPlugin,\
com.xpn.xwiki.plugin.charts.ChartingPlugin,\
com.xpn.xwiki.plugin.fileupload.FileUploadPlugin,\
com.xpn.xwiki.plugin.image.ImagePlugin,\
com.xpn.xwiki.plugin.userdirectory.UserDirectoryPlugin,\
com.xpn.xwiki.plugin.usertools.XWikiUserManagementToolsImpl,\
com.xpn.xwiki.plugin.zipexplorer.ZipExplorerPlugin,\
com.xpn.xwiki.plugin.autotag.AutoTagPlugin,\
com.xpn.xwiki.plugin.lucene.LucenePlugin,\
com.xpn.xwiki.plugin.diff.DiffPlugin,\
com.xpn.xwiki.plugin.rightsmanager.RightsManagerPlugin
</xwikiCfgPlugins>
<xwikiCfgVirtual>0</xwikiCfgVirtual>
<xwikiCfgExo>0</xwikiCfgExo>
<xwikiCfgEditCommentMandatory>0</xwikiCfgEditCommentMandatory>
<xwikiCfgDefaultSkin>colibri</xwikiCfgDefaultSkin>
<xwikiCfgDefaultBaseSkin>colibri</xwikiCfgDefaultBaseSkin>
<xwikiCfgEncoding>UTF-8</xwikiCfgEncoding>
<xwikiCfgAdditionalProperties />
</properties>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
<profile>
<id>ci</id>
<activation>
<!-- This property is automatically defined by the Maven release plugin when executing
a release. Thus this profile will be automatically enabled when releasing -->
<property>
<name>performRelease</name>
</property>
</activation>
<modules>
<module>xwiki-enterprise-installers</module>
<module>xwiki-enterprise-test</module>
</modules>
</profile>
<profile>
<id>jetty</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<xe.container>jetty</xe.container>
</properties>
</profile>
<profile>
<id>glassfish</id>
<properties>
<xe.container>glassfish</xe.container>
</properties>
</profile>
<!-- Database Profiles used in several module builds -->
<profile>
<id>hsqldb</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<xwiki.db>hsqldb</xwiki.db>
<xwiki.db.jdbc.groupId>hsqldb</xwiki.db.jdbc.groupId>
<xwiki.db.jdbc.artifactId>hsqldb</xwiki.db.jdbc.artifactId>
<xwiki.db.jdbc.version>1.8.0.7</xwiki.db.jdbc.version>
<xwiki.db.connection.url>jdbc:hsqldb:file:database/xwiki_db;shutdown=true</xwiki.db.connection.url>
<xwiki.db.connection.username>sa</xwiki.db.connection.username>
<xwiki.db.connection.password />
<xwiki.db.connection.driver_class>org.hsqldb.jdbcDriver</xwiki.db.connection.driver_class>
<xwiki.db.dialect>org.hibernate.dialect.HSQLDialect</xwiki.db.dialect>
<xwiki.db.hbm.xwiki>xwiki.hbm.xml</xwiki.db.hbm.xwiki>
<xwiki.db.hbm.feeds>feeds.hbm.xml</xwiki.db.hbm.feeds>
</properties>
</profile>
<profile>
<id>mysql</id>
<properties>
<xwiki.db>mysql</xwiki.db>
<xwiki.db.jdbc.groupId>mysql</xwiki.db.jdbc.groupId>
<xwiki.db.jdbc.artifactId>mysql-connector-java</xwiki.db.jdbc.artifactId>
<xwiki.db.jdbc.version>5.1.6</xwiki.db.jdbc.version>
<!-- We need to set the sql_mode to a less strict value, see XWIKI-1945 -->
<xwiki.db.connection.url>jdbc:mysql://localhost/xwiki?useServerPrepStmts=false&amp;amp;useUnicode=true&amp;amp;characterEncoding=UTF-8&amp;amp;sessionVariables=sql_mode=''</xwiki.db.connection.url>
<xwiki.db.connection.username>xwiki</xwiki.db.connection.username>
<xwiki.db.connection.password>xwiki</xwiki.db.connection.password>
<xwiki.db.connection.driver_class>com.mysql.jdbc.Driver</xwiki.db.connection.driver_class>
<xwiki.db.dialect>org.hibernate.dialect.MySQLDialect</xwiki.db.dialect>
<xwiki.db.hbm.xwiki>xwiki.hbm.xml</xwiki.db.hbm.xwiki>
<xwiki.db.hbm.feeds>feeds.hbm.xml</xwiki.db.hbm.feeds>
</properties>
</profile>
<profile>
<id>pgsql</id>
<properties>
<xwiki.db>pgsql</xwiki.db>
<xwiki.db.jdbc.groupId>postgresql</xwiki.db.jdbc.groupId>
<xwiki.db.jdbc.artifactId>postgresql</xwiki.db.jdbc.artifactId>
<xwiki.db.jdbc.version>8.3-603.jdbc3</xwiki.db.jdbc.version>
<xwiki.db.connection.url>jdbc:postgresql:xwiki</xwiki.db.connection.url>
<xwiki.db.connection.username>xwiki</xwiki.db.connection.username>
<xwiki.db.connection.password>xwiki</xwiki.db.connection.password>
<xwiki.db.connection.driver_class>org.postgresql.Driver</xwiki.db.connection.driver_class>
<xwiki.db.dialect>org.hibernate.dialect.PostgreSQLDialect</xwiki.db.dialect>
<xwiki.db.hbm.xwiki>xwiki.hbm.xml</xwiki.db.hbm.xwiki>
<xwiki.db.hbm.feeds>feeds.hbm.xml</xwiki.db.hbm.feeds>
</properties>
</profile>
<profile>
<id>derby</id>
<properties>
<xwiki.db>derby</xwiki.db>
<xwiki.db.jdbc.groupId>org.apache.derby</xwiki.db.jdbc.groupId>
<xwiki.db.jdbc.artifactId>derby</xwiki.db.jdbc.artifactId>
<xwiki.db.jdbc.version>10.2.2.0</xwiki.db.jdbc.version>
<xwiki.db.connection.url>jdbc:derby:database;create=true</xwiki.db.connection.url>
<xwiki.db.connection.driver_class>org.apache.derby.jdbc.EmbeddedDriver</xwiki.db.connection.driver_class>
<xwiki.db.dialect>org.hibernate.dialect.DerbyDialect</xwiki.db.dialect>
<xwiki.db.hbm.xwiki>xwiki.derby.hbm.xml</xwiki.db.hbm.xwiki>
<xwiki.db.hbm.feeds>feeds.hbm.xml</xwiki.db.hbm.feeds>
</properties>
</profile>
</profiles>
</project>