-
Notifications
You must be signed in to change notification settings - Fork 36
/
BUILD.txt
77 lines (51 loc) · 2.78 KB
/
BUILD.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
SIREn 1.0 Build Instructions
--------------------------------------------------------------------------------
Basic steps:
0) Install JDK 1.6 (or greater), Maven 2.0.9 (or greater)
1) Download SIREn and unpack it
2) Connect to the parent module directory of your SIREn installation
3) Run maven
Step 0) Set up your development environment (JDK 1.6 or greater,
Maven 2.0.9 or greater)
We'll assume that you know how to get and set up the JDK - if you
don't, then we suggest starting at http://java.sun.com and learning
more about Java, before returning to this BUILD document. SIREn runs with
JDK 1.6 and later.
Like many Open Source java projects, SIREn uses Apache Maven for build
control. Specifically, you MUST use Maven version 2.0.9 or greater.
Step 1) Download SIREn
We'll assume you already did this, or you wouldn't be reading this
file. However, you might have received this file by some alternate
route, or you might have an incomplete copy of SIREn, so: SIREn
releases are available for download from:
http://siren.sindice.com/
Download the tarred/gzipped version of the archive, and
uncompress it into a directory of your choice.
Step 2) From the command line, change (cd) into the directory of your SIREn
installation
SIREn's installation directory contains the project pom.xml file. By default,
you do not need to change any of the settings in this file, but you do
need to run maven from this location so it knows where to find pom.xml.
Step 3) Run maven
Assuming you have maven in your PATH, typing "mvn clean package" at the shell
prompt and command prompt should run maven. Maven will by default look for the
"pom.xml" files in the sub-modules (siren-core, siren-qparser and siren-solr),
compile them and run the tests.
The SIREn jar file will be located at "#{sub-module}/target/siren-#{version}.jar".
You can then install SIREn into your local maven repository by typing
"mvn install". This is necessary in order to be able to run the demo.
To generate the javadoc, you should type "mvn javadoc:javadoc" at the shell
prompt. Maven will generate the javadoc API in the directory
"#{sub-module}/target/site/apidocs/".
--------------------------------------------------------------------------------
For information on how to setup the demo, refer to the file
./siren-demo/README.md
--------------------------------------------------------------------------------
For further information on SIREn, go to:
https://github.com/rdelbru/SIREn
Please join the SIREn-User mailing list by visiting this site:
https://groups.google.com/d/forum/siren-user
Please post suggestions, questions, corrections or additions to this
document to the siren-user mailing list.
--------------------------------------------------------------------------------
Copyright 2014, National University of Ireland, Galway