Mojo is an analysis tool for business processes. If you are developing, analyzing, or checking processes, Mojo offers you failures with detailed diagnostic information that can support the correction of the processes.
Mojo Core is build with gradle, https://gradle.org/downloads. To build it, you have to clone this repository and to execute
./gradlew build
It is also possible to build an eclipse project:
./gradle eclipse
To include Mojo in your project with gradle, you can use JitPack, https://jitpack.io. Therefore, you have to add the following lines to your build.gradle
script:
repositories {
...
maven { url 'https://jitpack.io' }
}
...
dependencies {
compile 'com.github.guybrushPrince:mojo.core:master'
}
To include Mojo in your project with Maven, you can also use JitPack, https://jitpack.io. Therefore, you have to add the following lines to your pom.xml
script:
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
...
<dependency>
<groupId>com.github.guybrushPrince</groupId>
<artifactId>mojo.core</artifactId>
<version>master</version>
</dependency>
Mojo allows you to add plug-ins and to write your own plug-ins.
There are several Mojo plug-ins which are ready to use:
- https://github.com/guybrushPrince/mojo.reader.pnml
- https://github.com/guybrushPrince/mojo.reader.bpmn
- https://github.com/guybrushPrince/mojo.plan.sese
To use them, you simply had to add them to the Mojo classpath.
There are two possibilities to create a plug-in:
- an analysis plug-in or
- a source plug-in
To write your own analysis plug-in, you have to write your own class extending the class de.jena.uni.mojo.plugin.PlanPlugin
. Furthermore, you have to add a file with name de.jena.uni.mojo.plugin.PlanPlugin
to the folder src/main/resources/META-INF/services
.
To write your own source plug-in, you have to write your own class extending the class de.jena.uni.mojo.plugin.SourcePlugin;
. Furthermore, you have to add a file with name de.jena.uni.mojo.plugin.SourcePlugin
to the folder src/main/resources/META-INF/services
.
If you have any questions, please do not hesitate to contact me: thomas.prinz@uni-jena.de