Spring sample pom missing
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2012 01:36 PM
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
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
Labels:
- Labels:
-
Archive
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2012 01:51 PM
Hi,
You can look at the pom.xml of the Activiti Spring module. This should already work I think:
You can even skip the Spring test dependency if you're not using the test features.
Best regards,
Tijs
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2012 02:04 PM
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?
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?
