I tried to install jBPM in Apache Karaf using the instructions described in Github and am running into some issues.
When I follow the instructions only starting with:
Then I get this error when trying to do feature:install jbpm-human-task:
Error executing command: Could not start bundle mvn:org.jbpm/jbpm-human-task-core/6.1.0.CR1 in feature(s) jbpm-human-task-6.1.0.CR1: Unresolved constraint in bundle org.jbpm.services.task : Unable to resolve 155.0: missing requirement [155.0] osgi.wiring.package; (osgi.wiring.package=javax.security.jacc)
Also tried this for version 6.1.0.CR2 but with the same results.
Couldn't quickly find info on correctly installing the javax.security.jacc bundle, so I thought I'll try with a final version before going with the candidate release.
When following the instructions with version 6.0.1.Final the feature:install jbpm-human-task gives this error:
Error executing command: Error resolving artifact org.kie.commons:kie-nio2-model:jar:6.0.1.Final: Could not find artifact org.kie.commons:kie-nio2-model:jar:6.0.1.Final in ....path to maven repo...)
Am I doing something wrong here, or are there still bugs in the feature.xml for these versions?
Okay, I'll follow up on my question myself. Just discovered in Maven Central that there is a new final version of jBPM, namely version 6.1.0-FINAL, though there is not yet an announcement on the community website.
Tested the Karaf feature and it now works!