Sanjay
Sanjay

Reputation: 2503

Spring initializr not showing activiti dependency

I am trying to create spring-boot project for activiti but it is not showing activiti dependency. How can I know that with which springboot version,activiti version is mapped?

Spring Initializr

Upvotes: 0

Views: 644

Answers (2)

Sanjay
Sanjay

Reputation: 2503

Spring boot 2 doesn't have activiti anymore. Manually need to add activiti dependency.

    <dependency>
        <groupId>org.activiti</groupId>
        <artifactId>activiti-spring-boot-starter</artifactId>
        <version>7.0.0.Beta1</version>
    </dependency>

Upvotes: 1

timothyclifford
timothyclifford

Reputation: 6959

If you're refererring to Activiti, this is not included in the Spring Initializr so you will need to include this manually yourself.

  1. Go through the Spring Initializr setup
  2. Generate and download the code to your machine
  3. Add the Activiti dependency to your POM or Gradle file:
<dependency>
    <groupId>org.activiti</groupId>
    <artifactId>activiti-spring-boot-starter-basic</artifactId>
    <version>6.0.0</version>
</dependency>
  1. Add the H2 dependency for database (don't use this in production):
<dependency>
    <groupId>com.h2database</groupId>
    <artifactId>h2</artifactId>
    <version>1.4.183</version>
</dependency>

I haven't used Activiti before but this is based on their Spring Boot documentation.

Upvotes: 2

Related Questions