I am deploying my processes in a CDI application like this
CdiJtaProcessEngineConfiguration processEngineConfiguration = new CdiJtaProcessEngineConfiguration();
processEngineConfiguration.setProcessEngineName("default");
processEngineConfiguration.setDataSourceJndiName("java:jboss/datasources/activitiDS");
…
processEngine = processEngineConfiguration.buildProcessEngine();
RepositoryService repositoryService = processEngine.getRepositoryService();
repositoryService.createDeployment()
.addClasspathResource("Process.bpmn").enableDuplicateFiltering()
.deploy();
Everytime I deploy my war, a new process version is deployed. The documentation talks about a deploymentMode for the spring process engine configuration. How do I set a deployment mode for the CdiJta process engine configuration?