forked from xwiki-contrib/xwiki-clams-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
207 lines (197 loc) · 9.58 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
<?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>
<groupId>org.xwiki.clams</groupId>
<artifactId>xwiki-clams-core</artifactId>
<version>2.2-SNAPSHOT</version>
<packaging>pom</packaging>
<name>XWiki CLAMS - Core - Parent POM</name>
<description>XWiki CLAMS - Core - Parent POM</description>
<scm>
<connection>scm:git:git://github.com/xwiki-contrib/xwiki-clams-core.git</connection>
<developerConnection>scm:git:git@github.com:xwiki-contrib/xwiki-clams-core.git</developerConnection>
<url>https://github.com/xwiki-contrib/xwiki-clams-core/tree/master/</url>
</scm>
<properties>
<commons.version>3.1.1</commons.version>
<!-- Useful for XWiki CLAMS extensions -->
<enterprise.version>3.1.1</enterprise.version>
<!-- Versions of XWiki dependencies used in XWiki CLAMS modules -->
<rendering.version>3.1.1</rendering.version>
<platform.version>3.1.1</platform.version>
<platform.plugins.invitationmanager.version>1.0.1</platform.plugins.invitationmanager.version>
<platform.plugins.spacemanager.version>1.1.1</platform.plugins.spacemanager.version>
<smartgwt.version>2.4</smartgwt.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, \
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
</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>
</profile>
</profiles>
</project>