Maven dependency cancel parallel branch

https://github.com/camunda-consulting/code/tree/master/snippets/cancel-parallel-branch-by-message
I start update the project in eclipse and maven install, but error
I already cleaned the local repository .m2\repository\org\camunda\bpm
I want to receive .war

[ERROR] Failed to execute goal on project cancel-parallel-branch-by-message: Could not resolve dependencies for project org.camunda.bpm.demo:cancel-parallel-branch-by-message:war:0.0.1-SNAPSHOT: The following artifacts could not be resolved: org.camunda.bpm:camunda-engine:jar:7.1.4-ee, org.camunda.bpm.javaee:camunda-ejb-client:jar:7.1.4-ee, org.camunda.bpm:camunda-engine-cdi:jar:7.1.4-ee: Failure to find org.camunda.bpm:camunda-engine:jar:7.1.4-ee in https://app.camunda.com/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of camunda-bpm-nexus has elapsed or updates are forced → [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] DependencyResolutionException - Apache Maven - Apache Software Foundation

@Evgeny have you tried running command mvn clean install from cmd prompt?

yes, I tried

@Evgeny i also tried, getting same issue. not sure whether we need to buy license for accessing the jars with “ee” suffix.

are there any solutions?

Either get a (trial) license and put your credentials in ~/.m2/settings.xml or switch to a community edition version, e.g. 7.11.0.

The example itself is a little outdated as well. Today, I would recommend using a signal event with a dynamic signal name (can be an expression using e.g. the business key) to synchronize parallel branches within the same process instance. This is also what the BPMN spec suggests to solve this problem.

1 Like

thank you.