KIE Server not fetching the latest SNAPSHOT versions from Nexus
Issue
We are facing an issue with the KIE server not fetching new containers in SNAPSHOT versions:
- We have an enterprise Nexus where all of our artifacts are stored. KJARs in SNAPSHOT versions are stored in a specific repository of Nexus.
- When we deploy a KJAR to Nexus for the first time, and then deploy the associated container to the KIE server using the KIE REST API, the KJAR is successfully retrieved from Nexus and deployed to the server.
- However when we deploy a new instance of the KJAR with the same SNAPSHOT version to Nexus, the KIE server does not fetch it from Nexus. The first SNAPSHOT instance is still used.
We already checked that:
- In the settings.xml file, the updatePolicy is set to "always" for the SNAPSHOT repository
- This settings.xml file is successfully loaded by the KIE server JVM using the
kie.maven.settings.custom
property. - Activating the KIE scanner on the container does not help.
What could prevent the KIE server from fetching the latest SNAPSHOTs from Nexus?
Environment
- Red Hat JBoss BRMS
- 6.3.0
- 6.4.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.