-
Notifications
You must be signed in to change notification settings - Fork 7
/
pom.xml
279 lines (267 loc) · 11.9 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
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
<?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.platform</groupId>
<artifactId>xwiki</artifactId>
<version>31</version>
</parent>
<groupId>org.curriki</groupId>
<artifactId>curriki-parent</artifactId>
<packaging>pom</packaging>
<name>XWiki Products - Curriki - Parent POM</name>
<version>1.19-SNAPSHOT</version>
<description>XWiki Products - Curriki - Parent POM</description>
<scm>
<connection>scm:git:https://github.com/xwiki-contrib/currikiorg.git</connection>
<developerConnection>scm:git:https://github.com/xwiki-contrib/currikiorg.git</developerConnection>
<url>https://github.com/xwiki-contrib/currikiorg</url>
</scm>
<issueManagement>
<system>jira</system>
<url>http://jira.xwiki.org/jira/browse/CURRIKI</url>
</issueManagement>
<properties>
<!-- Versions of XWiki dependencies used in Curriki modules -->
<platform.version>3.5.1</platform.version>
<commons.version>3.5.1</commons.version>
<rendering.version>3.5.1</rendering.version>
<smartgwt.version>2.4</smartgwt.version>
<platform.plugins.invitationmanager.version>1.0.1</platform.plugins.invitationmanager.version>
<platform.plugins.spacemanager.version>1.1.1-3.1</platform.plugins.spacemanager.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>
<dependencyManagement>
<dependencies>
<!-- Everybody logs -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.6.1</version>
</dependency>
<!-- SLF4J implementation we use -->
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>0.9.29</version>
</dependency>
<!-- External libraries using Commons Logging will delegate to SLF4J -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>1.6.1</version>
</dependency>
<!-- External libraries using Log4J will delegate to SLF4J -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>log4j-over-slf4j</artifactId>
<version>1.6.1</version>
</dependency>
</dependencies>
</dependencyManagement>
<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, \
org.curriki.xwiki.plugin.framework.FrameworkManagerPlugin,\
org.curriki.xwiki.plugin.licence.LicenceManagerPlugin,\
org.curriki.xwiki.plugin.mimetype.MimeTypePlugin,\
org.curriki.xwiki.plugin.curriki.CurrikiPlugin,\
org.curriki.plugin.spacemanager.impl.CurrikiSpaceManager,\
org.curriki.plugin.activitystream.plugin.CurrikiActivityStreamPlugin,\
org.curriki.plugin.analytics.CurrikiAnalyticsPlugin
</xwikiCfgPlugins>
<xwikiCfgVirtual>0</xwikiCfgVirtual>
<xwikiCfgExo>0</xwikiCfgExo>
<xwikiCfgEditCommentMandatory>0</xwikiCfgEditCommentMandatory>
<xwikiCfgDefaultSkin>curriki20</xwikiCfgDefaultSkin>
<xwikiCfgDefaultBaseSkin>colibri</xwikiCfgDefaultBaseSkin>
<xwikiCfgEncoding>UTF-8</xwikiCfgEncoding>
<xwikiCfgAdditionalProperties>
xwiki.work.dir=work
## Spacemanager settings
# Configure the spacemanager extension
xwiki.spacemanager.extension=org.xwiki.plugin.spacemanager.impl.CurrikiSpaceManagerExtension
# Set the groupname prefix
xwiki.spacemanager.prefix=Group_
# override the macro list
xwiki.render.velocity.macrolist=/templates/macros.vm,/skins/albatross/macros.vm,\
/skins/curriki20/macros.vm,/skins/curriki20/blog/blogmacros.vm,\
/skins/curriki20/assets/assetsmacros.vm,/skins/curriki20/pages/pagesmacros.vm,\
/skins/curriki20/mycurriki/mycurrikimacros.vm,\
/skins/curriki20/groups/groupsmacros.vm,\
/skins/curriki20/groups/groupscontributions.vm,\
/skins/curriki20/groups/groupsdocs.vm,\
/skins/curriki20/groups/groupsmembers.vm,\
/skins/curriki20/groups/groupsmessages.vm,\
/skins/curriki20/groups/groupsroles.vm,\
/skins/curriki20/groups/groupsmycurriki.vm,\
/skins/curriki20/crs/crsmacros.vm,\
/skins/curriki20/bfcs/bfcsmacros.vm
xwiki.invitationmanager.resourcespace=Groups
</xwikiCfgAdditionalProperties>
</properties>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<!-- Lock down plugin version for build reproducibility -->
<version>2.7</version>
<!-- We're deploying using the SCP protocol so we need the SSH Wagon for Maven 3 to work -->
<dependencies>
<dependency>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh</artifactId>
<version>1.0-beta-7</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
<profile>
<id>default</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<modules>
<module>plugins</module>
<module>web</module>
<module>wiki</module>
<!--
<module>database</module>
<module>distribution</module>
-->
</modules>
</profile>
<profile>
<id>curriki-nodb</id>
<modules>
<module>plugins</module>
<module>web</module>
</modules>
</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>
<modules>
<module>plugins</module>
<module>web</module>
<module>wiki</module>
</modules>
</profile>
</profiles>
<!-- All needed third party repositories should be listed here -->
<repositories>
<!-- Needed for Smart GWT -->
<repository>
<id>smartgwt-maven</id>
<url>http://www.smartclient.com/maven2</url>
</repository>
<!-- Needed for the brickred social auth libraries-->
<repository>
<id>sonatype-oss-public</id>
<url>https://oss.sonatype.org/content/groups/public/</url>
<releases>
<enabled>true</enabled>
</releases>
</repository>
<!-- Needed for khan assessments -->
<repository>
<id>khan-exercises-mvn-repo</id>
<url>https://raw.github.com/xclams/khan-exercises/mvn-repo/</url>
<releases>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
</repositories>
</project>