Deployment

Hello,

isDeployChangedOnly: If true, only resources that have changed become part of the deployment.

We want not to increase a process definition’s version, if nothing has changed.
We use following code for deployments due to above info page.
But when we deploy spring application, its included process definiton’s versions increase.
What can we solve this problem?

@Configuration
public class CamundaConfiguration extends AbstractCamundaConfiguration {

@Override
public void preInit(SpringProcessEngineConfiguration springProcessEngineConfiguration) {
    springProcessEngineConfiguration.setDeployChangedOnly(true);
    springProcessEngineConfiguration.setSkipHistoryOptimisticLockingExceptions(true);
    springProcessEngineConfiguration.setDbMetricsReporterActivate(false);
    springProcessEngineConfiguration.setMetricsEnabled(false);
}

}

Regards.

@stikic this post might help you.