mirror of
https://github.com/jlengrand/baker.git
synced 2026-03-22 23:51:17 +00:00
1.9 KiB
1.9 KiB
Getting Started
Project setup
Baker is released to maven central.
You can add following dependencies to your maven or sbt project to start using it:
dependencies += "com.ing.baker" %% "baker-recipe-dsl" % "3.0.0"
dependencies += "com.ing.baker" %% "baker-compiler" % "3.0.0"
dependencies += "com.ing.baker" %% "baker-runtime" % "3.0.0"
<dependency>
<groupId>com.ing.baker</groupId>
<artifactId>baker-recipe-dsl_2.12</artifactId>
<version>3.0.0</version>
</dependency>
<dependency>
<groupId>com.ing.baker</groupId>
<artifactId>baker-compiler_2.12</artifactId>
<version>3.0.0</version>
</dependency>
<dependency>
<groupId>com.ing.baker</groupId>
<artifactId>baker-runtime_2.12</artifactId>
<version>3.0.0</version>
</dependency>
This includes ALL baker modules to your project. If you only need partial functionality you can pick and choose the modules you need.
Modules
An explanation of the baker modules.
| Module | Description |
|---|---|
| recipe-dsl | DSL to describe your recipes (process blueprints) declaritively |
| runtime | Runtime based on akka to manage and execute your recipes |
| compiler | Compiles your recipe description into a model that the runtime can execute |
| intermediate-language | Recipe and Petri Net model that the runtime can execute |
This is the dependency graph between the modules.
Continuing from here
After adding the dependencies you can continue to:
- Understand the high level concepts.
- If you like learning by doing, go through the development life cycle section.
- If you like learning by description, go through the reference section.