How to override deployment in business central console in BPM Suite/BRMS 6 ?
Issue
- How to override deployment in business centeral console in BPMS/BRMS 6 ?
The maven-version of my kjar project is always set to 1.0-SNAPSHOT. I use mvn clean install deploy
from command-line to deploy my kjar to the server maven repository at http://localhost:8080/business-central/maven2/
watch the server log while I do the deploy. I can see business-central receiving the updated kjar, and then I see that KieScanner
detects the update, like this...
INFO [org.kie.api.builder.KieScanner] (Timer-1) The following artifacts have been updated: {com.sample:DemoApp:1.0-SNAPSHOT=com.sample:DemoApp:jar:1.0-SNAPSHOT}
After this I test my app, but it changes are not reflected. My workaround is to actually increase the version number of my kjar in the pom.xml each time I want to deploy a change, and then manually upgrade the Rule Deployment
accordingly. But that solution is unacceptable during development. I know that I can set the version of my 'Rule Deployment' to LATEST
, but I don't want to do that either. I don't want to have to update my kjar version during development.
Environment
- Red Hat JBoss BPM Suite
- 6.1.x
- Red Hat JBoss BRMS
- 6.1.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.