Did you face the problem that your code must work with 2 or more different versions of a different component? I did.
The steps I need to follow for each version are:
- Stop, clean and start Activiti server.
- Deploy some examples to the Activiti server.
- Run all the tests of my Maven project.
So I create a build file for these steps (you can see the full file here). Below I show the call to the maven script from ant:
Notice that the ant script receives a parameter called activiti.version that is passed to maven to select the version of their dependencies in the pom.xml file:
Hope you start to automate your testing across multiple versions soon!