Clone wiki

org.openmarkov / Using_OpenMarkov_as_an_API

Using OpenMarkov as an API

If you wish to use OpenMarkov as an API, you will need to download OpenMarkov's repositories and import them into your IDE. Then you should create a project in your IDE, declare the dependencies on the necessary OpenMarkov's subprojects (see OpenMarkov's organization), and generate a jar file with Maven.

As an example, we have created the project exampleAPI. You can clone it on your computer using Git and rename it. Then rename the file ExampleAPI.java and adapt it to your needs. Don't forget to update the pom.xml file, which will be used by Maven to compile the jar file.

It may be useful for you to read OpenMarkov's reference documents.

If you need any help, contact us.

Updated