This repository moved here: https://github.com/camunda/camunda-bpm-platform/tree/master/spring-boot-starter
[cols="a,a,a"] ,==== // license image::https://img.shields.io/badge/License-Apache%202.0-blue.svg[link="./LICENSE"] // mvn central image::https://maven-badges.herokuapp.com/maven-central/org.camunda.bpm.springboot/camunda-bpm-spring-boot-starter/badge.svg[link="https://maven-badges.herokuapp.com/maven-central/org.camunda.bpm.springboot/camunda-bpm-spring-boot-starter"] // openhub image::https://www.openhub.net/p/camunda-bpm-spring-boot-starter/widgets/project_thin_badge.gif[link="https://www.openhub.net/p/camunda-bpm-spring-boot-starter"] ,====
This project provides Spring Boot starters that allow you to integrate the Camunda BPM Platform into your Spring Boot applications.
Please check out the https://docs.camunda.org/manual/develop/user-guide/spring-boot-integration/[Documentation], the https://docs.camunda.org/get-started/spring-boot/[Getting Started Guide] and the https://github.com/camunda/camunda-bpm-examples/tree/master/spring-boot-starter[Examples].
Beginning with version 3.1-alpha2, Camunda Spring Boot Starter can be used in conjunction with JDK 9 / 10. As Hibernate is part of Camunda Spring Boot Starter it requires JAXB. However, JAXB is deactivated by default (and marked as deprecated) in JDK 9 / 10 and removed entirely in JDK 11. Therefore, it is sensible to re-add JAXB to your Camunda Spring Boot Starter project.
There exist various implementations of JAXB. The following Maven coordinates represent the implementation which is included in the JDKs up to version 10:
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
</dependency>
Before version 2.2.0, the project existed as a community extension. Therefore the resources were located in different paths. You can find all the links below.
[IMPORTANT]
We have decided to refactor the configuration mechanism. Especially, we removed the org.camunda.bpm.spring.boot.starter.configuration.CamundaConfiguration
interface. For now, each configuration is a org.camunda.bpm.engine.impl.cfg.ProcessEnginePlugin
. With this it is possible to hook into preInit
, postInit
and postProcessEngineBuild
, which supports more complex situations.
If you have implemented a CamundaConfiguration
, you have to switch to ProcessEnginePlugin
(and its preInit
method). You can also extend your configuration from org.camunda.bpm.spring.boot.starter.configuration.impl.AbstractCamundaConfiguration
to avoid a cast to SpringProcessEngineConfiguration
.
The Camunda Spring Boot Starter project used to be the community extension, created and supported by
Starting from version 2.3.0 it was adopted as part of the Camunda BPM Platform.