Blame view

src/site/markdown/installation.md.vm 1.74 KB
Matthijs Brouwer authored
1
#Getting started
Matthijs Brouwer authored
2
#set($metadata = $xml.read("http://central.maven.org/maven2/org/textexploration/mtas/mtas/maven-metadata.xml"))
Matthijs Brouwer authored
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#set($version = $metadata.versioning.latest)
#set($fullversion = $version.getText())
#set($versionnumbers = $StringUtils.split($fullversion,"."))
#foreach( $item in $loop.watch($versionnumbers) )
#set($itemindex = $loop.getIndex())
#if ($itemindex == 0)
#set($majorversion = $item)
#elseif ($itemindex == 1)
#set($minorversion = $item)
#elseif ($itemindex == 2)
#set($incrementalversion = $item)
#elseif ($itemindex == 3)
#set($mtasversion = $item)
#end
#end  
Matthijs Brouwer authored
19
Prebuilt jar libraries are available from the [download](download.html) page, current version is [${fullversion}](https://github.com/textexploration/mtas/releases/download/v${fullversion}/mtas-${fullversion}.jar) (development)
Matthijs Brouwer authored
20
Matthijs Brouwer authored
21
**Build from Source with Maven**
Matthijs Brouwer authored
22
23
24
25

Download the source code from GitHub

``` console 
Matthijs Brouwer authored
26
git clone git://github.com/textexploration/mtas.git 
Matthijs Brouwer authored
27
28
29
30
31
32
33
34
35
36
```

Build the library from the created project directory `mtas`

``` console 
mvn package 
```

After a successful build, the directory `target` will contain the new jar library.
Matthijs Brouwer authored
37
**Installation**
Matthijs Brouwer authored
38
Matthijs Brouwer authored
39
Mtas can be used as plugin for [Apache Solr](https://lucene.apache.org/solr/) or as library in combination with [Apache Lucene](https://lucene.apache.org/). 
Matthijs Brouwer authored
40
41
42
43

- Getting started with [Mtas and Lucene](installation_lucene.html)
- Getting started with [Mtas and Solr](installation_solr.html)
Matthijs Brouwer authored
44
or see [Mtas and Docker](installation_docker.html) to get a quick demonstration. 
Matthijs Brouwer authored
45
Matthijs Brouwer authored
46
47
Versioning follows the required version of both Solr and Lucene followed by an incremental Mtas versioning number.
The latest available version is ${fullversion}, requiring Solr/Lucene version ${majorversion}.${minorversion}.${incrementalversion}.