|
|
|
# Usage — overlayapi
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
The project is built with Maven and targets Java 8. To produce a fat JAR:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
mvn package
|
|
|
|
```
|
|
|
|
|
|
|
|
This generates `target/DecentralizedAbstractions.jar`.
|
|
|
|
|
|
|
|
To use the library as a Maven dependency, add the NOVA LINCS repository and the artifact to your `pom.xml`:
|
|
|
|
|
|
|
|
```xml
|
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>novasys</id>
|
|
|
|
<url>https://asc.di.fct.unl.pt/~jleitao/mvn-repo/</url>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>pt.unl.fct.di.novasys</groupId>
|
|
|
|
<artifactId>decentralized-abstractions</artifactId>
|
|
|
|
<version>0.0.1</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
```
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
All protocol instances are created and managed through the singleton `ProtocolManager`. The manager reads `config.properties` from the working directory (properties can also be overridden via command-line arguments in `key=value` form). |
|
|
|
\ No newline at end of file |