forked from sakaicontrib/evaluation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
60 lines (42 loc) · 2.55 KB
/
README.txt
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
BUILDING EVALUATION
[![Build Status](https://travis-ci.org/sakaiproject/evaluation.svg?branch=master)](https://travis-ci.org/sakaiproject/evaluation)
The evaluation project can be built and deployed with Sakai 2.5.x, 2.6.x, 2.7.x, or 2.8.x.
This is enabled by use of maven profiles, which are described in maven documentation:
http://maven.apache.org/guides/introduction/introduction-to-profiles.html
To do a full build of evaluation for sakai 2.5.x, it is not necessary to specify a profile.
The "full" profile provides default dependencies that are compatible with 2.5.x. The "full"
profile is activated by default.
To do a full build for sakai 2.6.x, you can specify the "sakai2.6" profile on the command
line.
To do a full build for sakai 2.7.x or 2.8.x, you can specify the "sakai2.7" profile on the
command line.
To do an "api" or "tool" build, it is necessary to specify the "api" or "tool" profile *AND*
a sakai-version profile ("sakai2.5", "sakai2.6" or "sakai2.7") on the command line. The "api"
and "tool" builds would be missing dependencies if you do not specify a sakai-version profile.
To do a "ddl" build, you simply specify the "ddl" profile on the command line (since this does
not depend on the sakai version).
For example, to do a full build of evaluation with Sakai 2.7, you might enter the following
maven command on the command line:
mvn clean install -D sakai2.7
You can specify multiple profiles. These are used by various contrib projects in sakai to avoid
having to have patches or attempt to maintain multiple branches of the same code if the only
thing that it needs to take care of are projects that change groupId/artifactId. Occasionally
API's change and a patch may be required for different versions as well, but that is not the
case for evaluation yet.
In addition to specifying the profile when building/deploying, you will need to change the
hard-coded version of sakai in the parent element of evalsys's root pom. By default, it looks
like this:
<parent>
<groupId>org.sakaiproject</groupId>
<artifactId>master</artifactId>
<version>2.7.1</version>
</parent>
If you want to build with sakai 2.6.3 instead of sakai 2.7.1, you would change that as follows
before building/deploying:
<parent>
<groupId>org.sakaiproject</groupId>
<artifactId>master</artifactId>
<version>2.6.3</version>
</parent>
Dependencies: https://source.sakaiproject.org/contrib/caret/hierarchy/
- This of evaluations requires https://source.sakaiproject.org/contrib/caret/hierarchy/tags/hierarchy-1.2.6/