cancel
Showing results for 
Search instead for 
Did you mean: 

Spring sample pom missing

duderk
Champ in-the-making
Champ in-the-making
Hi,

I just downloaded Activiti 5.9 and the activiti-5.9\workspace\activiti-spring-examples directory does not contain a pom file so the Spring example is not using maven, I started on 5.8 and the pom under bpmn-examples had spring dependencies listed in that version

Where can I find the maven pom file for using Activiti 5.9 with Spring? I can look at the lib and all the jars that are used in the spring-examples directory but that seems too onerous as a lot of other developers probably rely on the pom.xml to get a quick start on their project setup for Activiti

Thanks in advance
Ritesh
2 REPLIES 2

trademak
Star Contributor
Star Contributor
Hi,

You can look at the pom.xml of the Activiti Spring module. This should already work I think:

<dependencies>
    <dependency>
      <groupId>org.activiti</groupId>
      <artifactId>activiti-engine</artifactId>
    </dependency>
    <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-test</artifactId>
    </dependency>
    <dependency> 
      <groupId>commons-lang</groupId>
       <artifactId>commons-lang</artifactId>
    </dependency>
</dependencies>

You can even skip the Spring test dependency if you're not using the test features.

Best regards,

Tijs

duderk
Champ in-the-making
Champ in-the-making
Thanks Tijs, one more question

activiti-5.9\setup\files\dependencies\libs.spring.runtime.txt lists myBatis and commons-dbcp jars along with the core spring jars should should those also be defined in the pom?