Introduction
This part of the documentation provides an overview of all the SPARTA libraries to enable building additional extensions on top of the SPARTA meta-models or elicitation engine.
Note
If you are developing extensions on top of SPARTA, please use the following citation:
Laurens Sion, Dimitri Van Landuyt, Koen Yskout, Wouter Joosen, SPARTA: Security & Privacy Architecture through Risk-driven Threat Assessment, 2018 International Conference on Software Architecture Companion (ICSA-C), Seattle, United States, May 3, 2018.
Prerequisites
Hint
Before continuing make sure that you are familiar with the basic concepts used in SPARTA. These are explained in the user guide.
Eclipse Prerequisites
Development using Eclipse generally required an eclipse environment with the following dependencies installed:
Eclipse EMF
Sirius (6.4+)
Viatra (2.5.0+)
Tycho Project Configurations (0.8.1)
(Optional) Ecore Diagram Editor (SDK) to enable the graphical meta-model editor
From the Orbit repository (https://download.eclipse.org/tools/orbit/downloads/drops/R20201130205003/repository/):
Apache Commons Math3
Apacho POI
Apache POI OOXML
Jackson-annotations
Jackson-core
Jackson-databind
SnakeYAML
Furthermore, at least JDK 11 is required.
Standalone Prerequisites
All the above standalone libraries are available via the maven repository: https://maven.sparta.distrinet-research.be.
<repositories>
<repository>
<id>sparta-repository</id>
<url>https://maven.sparta.distrinet-research.be</url>
</repository>
</repositories>
Include the eclipse tycho plugin to make sure maven can process the eclipse-plugin dependencies.
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>2.7.0</version>
<extensions>true</extensions>
</plugin>
</plugins>
</build>