Spring Framework Integration

Этот раздел перенесён из документации Camunda 7 и в дальнейшем будет доработан с учётом особенностей OpenBPM Engine

The camunda-engine Spring Framework integration is located inside a maven module and can be added to apache maven-based projects through the following dependency:

{{< note title="" class="info" >}} Please import the Camunda BOM /get-started/apache-maven/ to ensure correct versions for every Camunda project.

  • camunda-engine-spring maven module for Spring Framework 5

<dependency>
  <groupId>io.openbpm.bpm</groupId>
  <artifactId>camunda-engine-spring</artifactId>
</dependency>
  • camunda-engine-spring-6 maven module for Spring Framework 6.

<dependency>
  <groupId>io.openbpm.bpm</groupId>
  <artifactId>camunda-engine-spring-6</artifactId>
</dependency>

The process engine Spring artifact should be added as a library to the process application. The following minimal set of Spring dependencies must be added in the desired version:

<properties>
  <spring.version>X.Y.Z.RELEASE</spring.version>
</properties>

<dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-framework-bom</artifactId>
      <version>${spring.version}</version>
      <type>pom</type>
      <scope>import</scope>
    </dependency>
  </dependencies>
</dependencyManagement>

<dependencies>
  <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-context</artifactId>
  </dependency>
  <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-jdbc</artifactId>
  </dependency>
  <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-tx</artifactId>
  </dependency>
  <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-orm</artifactId>
  </dependency>
</dependencies>

Лицензия и атрибуция

Эта документация была создана на базе материала "Camunda 7 Docs" от Camunda, находится под лицензией Creative Commons Attribution-ShareAlike 3.0 Unported License .

Оригинал документации: https://docs.camunda.org