forked from sakaiproject/sakai
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
320 lines (283 loc) · 11 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
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
<?xml version="1.0"?>
<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.sakaiproject</groupId>
<artifactId>master</artifactId>
<version>2.10-SNAPSHOT</version>
<relativePath>../master/pom.xml</relativePath>
<!-- <version>2.8.1</version> --> <!-- purepom deployed with sakai-2.8.0 -->
</parent>
<name>sakai-lessonbuildertool base pom</name>
<groupId>org.sakaiproject.lessonbuilder</groupId>
<artifactId>lessonbuilder</artifactId>
<version>1.5-SNAPSHOT</version>
<packaging>pom</packaging>
<modules>
<module>api</module>
<module>assembly</module>
<module>components</module>
<module>hbm</module>
<module>help</module>
<module>tool</module>
</modules>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- set default values. will be overriden in profiles -->
<!-- src1 is for opt-src if you use optional tools -->
<src1>dummy</src1>
<!-- src2 is for special version-specific code -->
<src2>dummy</src2>
<!-- src3 is for src28-9, which has CSSUtils for pre-2.10 -->
<src3>dummy</src3>
<!-- the following properties are used only if contrib tools are enabled -->
<!-- they are listed here rather than in the profile so you just have to look here to adjust things -->
<!-- the scopes should be compile if you don't actually have the tool, or provided if you do -->
<sakai.yaft.version>1.3.0-SNAPSHOT</sakai.yaft.version>
<sakai.yaft.scope>provided</sakai.yaft.scope>
<sakai.mneme.version>2.1.2</sakai.mneme.version>
<sakai.mneme.scope>provided</sakai.mneme.scope>
<sakai.assignment2.version>1.0-rc-1</sakai.assignment2.version>
<sakai.assignment2.scope>provided</sakai.assignment2.scope>
</properties>
<!--
Please enable the profile for your version of sakai.
If you want support for Assignment2, Mneme, and YAFT,
set the "contrib" profile in tool/pom.xml, and make sure
that the properties listed above match the versions that you use.
-->
<profiles>
<profile>
<id>2.10</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<!-- new pom.xml files that use materialied_clob, for new hibernate -->
<hbms>newhbm</hbms>
<!-- include new Gradebook API -->
<src2>src29</src2>
<!-- group id changed for 2.9 -->
<sakai.assignment.groupId>org.sakaiproject.assignment</sakai.assignment.groupId>
</properties>
<!-- should be OK to do it here, because these are all provided in shared/lib.
So having them available to all the subprojects won't cause us to include
any unnecessary files
-->
<dependencies>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-orm</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-tx</artifactId>
</dependency>
<dependency>
<groupId>org.sakaiproject.portal</groupId>
<artifactId>sakai-portal-util</artifactId>
<version>${sakai.version}</version>
</dependency>
</dependencies>
</profile>
<profile>
<id>2.9</id>
<properties>
<hbms>oldhbm</hbms>
<src2>src29</src2>
<src3>src28-9</src3>
<sakai.assignment.groupId>org.sakaiproject.assignment</sakai.assignment.groupId>
</properties>
<!-- in 2.10 these are in master/pom.xml, so we need them here for 2.8 and 2.9.
Otherwise we get mission version for 2.8 and 2.9 -->
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.sakaiproject.basiclti</groupId>
<artifactId>basiclti-api</artifactId>
<version>${sakai.basiclti.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.sakaiproject.samigo</groupId>
<artifactId>samigo-hibernate</artifactId>
<version>${sakai.samigo.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.sakaiproject.samigo</groupId>
<artifactId>samigo-qti</artifactId>
<version>${sakai.samigo.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
</profile>
<profile>
<id>2.8</id>
<properties>
<!-- old versions of hbm.xml files, for 2.8 / 2.9 -->
<hbms>oldhbm</hbms>
<src2>src28</src2>
<src3>src28-9</src3>
<sakai.assignment.groupId>org.sakaiproject</sakai.assignment.groupId>
<!-- need additional properties because they are not in master in 2.9 -->
<sakai.assignment.version>2.8.1</sakai.assignment.version>
<rsfutil.version>0.7.5</rsfutil.version>
<sakairsf.version>0.7.7</sakairsf.version>
<sakairsf.components.version>0.7.5</sakairsf.components.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- LB supports version 2 of basiclti. If you have installed that in 2.8, then use the actual version you installed. Otherwise leave this. The build will use the API for 2.0, but realize at runtime that it's not there, and not show the features that depend upon basiclit -->
<sakai.basiclti.version>2.0.0</sakai.basiclti.version>
</properties>
<!-- in 2.10 these are in master/pom.xml, so we need them here for 2.8 and 2.9.
Otherwise we get mission version for 2.8 and 2.9 -->
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.sakaiproject.basiclti</groupId>
<artifactId>basiclti-api</artifactId>
<version>${sakai.basiclti.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.sakaiproject.samigo</groupId>
<artifactId>samigo-hibernate</artifactId>
<version>${sakai.samigo.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.sakaiproject.samigo</groupId>
<artifactId>samigo-qti</artifactId>
<version>${sakai.samigo.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
</profile>
</profiles>
<scm>
<connection>scm:svn:https://source.sakaiproject.org/svn/lessonbuilder/trunk</connection>
<developerConnection>scm:svn:https://source.sakaiproject.org/svn/lessonbuilder/trunk</developerConnection>
<url>https://source.sakaiproject.org/svn/lessonbuilder/trunk</url>
</scm>
<distributionManagement>
<site>
<id>sakai-site</id>
<name>Sakai release Site</name>
<url>scpexe://source.sakaiproject.org/var/www/html/release/lessonbuilder/${project.version}</url>
</site>
</distributionManagement>
<pluginRepositories>
<pluginRepository>
<id>maven2-central-repo</id>
<name>Maven2 Central Repo</name>
<url>http://repo1.maven.org/maven2/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>Sakai Plugin Repo</id>
<url>http://source.sakaiproject.org/maven2</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
<repositories>
<repository>
<id>sakai-maven</id>
<name>Sakai Maven Repo</name>
<layout>default</layout>
<url>http://source.sakaiproject.org/maven2</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>sakai-maven2-snapshots</id>
<name>Sakai Maven Repo</name>
<layout>default</layout>
<url>http://source.sakaiproject.org/maven2-snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>default</id>
<name>Maven Repository Switchboard</name>
<layout>default</layout>
<url>http://repo1.maven.org/maven2</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url> https://oss.sonatype.org/content/repositories/snapshots </url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>lessonbuilder-api</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>lessonbuilder-hbm</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
</dependencyManagement>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.7</version>
<configuration>
<debug>true</debug>
<links>
<link>http://download.oracle.com/javase/1.5.0/docs/api/</link>
<link>http://download.oracle.com/javase/6/docs/api/</link>
</links>
<breakiterator>true</breakiterator>
<verbose>false</verbose>
<aggregate>true</aggregate>
<minmemory>168m</minmemory>
<maxmemory>1024m</maxmemory>
<additionalJOption>-J-Xms168m -J-Xmx1024m -J-XX:PermSize=128m -J-XX:NewSize=64m</additionalJOption>
</configuration>
</plugin>
</plugins>
</reporting>
</project>