The project uses Maven as build tool. After build you will find the jar and a fat jar in the target directory. To build use the follwoing command:
```shell
$> mvn clean package
```
## Installation
For non-Maven based projects you can take the build jar file located in the target directory after executing the build command and put it in the classpath of your application. There is also a fat jar provided containing all dependencies if required.
For Maven based projects you need to install it in a Maven repository which your application can access. E.g. to put it in your local maven repository, you can simply call
`$> mvn install`
Finally, your application pom.xml requires the following dependency:
```xml
<dependency>
<groupId>eu.DECIDEh2020</groupId>
<artifactId>mcsla-core</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
```
## Getting started
A small example how to create a metrics context and evaluate a cloud service objective:
They all return a [EvaluationResult\<T\>](#evaluationresultt) object.
The first one without passing any monitoring results utilizes the memory function of the metrics context. It therefore requires that each monitoring result to be aggregate must be evaluated beforehand.
This makes sense where you have to evaluate first each cloud service metrics and then the aggregated application metric: