installation.md.vm
1.73 KB
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
#Getting started
#set($metadata = $xml.read("http://repo1.maven.org/maven2/nl/knaw/meertens/mtas/mtas/maven-metadata.xml"))
#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
Prebuilt jar libraries are available from the [download](download.html) page, current version is [${fullversion}](https://github.com/meertensinstituut/mtas/releases/download/v${fullversion}/mtas-${fullversion}.jar) (development)
**Build from Source with Maven**
Download the source code from GitHub
``` console
git clone git://github.com/meertensinstituut/mtas.git
```
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.
**Installation**
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/).
- Getting started with [Mtas and Lucene](installation_lucene.html)
- Getting started with [Mtas and Solr](installation_solr.html)
or see [Mtas and Docker](installation_docker.html) to get a quick demonstration.
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}.