Using Drools 6 Maven architecture completely offline

前端 未结 2 1072
旧时难觅i
旧时难觅i 2021-01-25 22:21

I am using Drools 6.0.1 and making use of the new Maven-based architecture to deploy my rules.

The POM of the project looks like shown at the end of this post.

I

2条回答
  •  难免孤独
    2021-01-25 22:42

    I found the underlying problem: Bug No. 1065984 in RedHat's Bugzilla. It is about the embedded maven not respecting the settings configured in that explicit settings.xml. The bugfix was released in Drools 6.1.0.Beta1 which got published in the Maven repositories on friday - that is why I didn't find it until shortly.

    With the new version, the offline aspect is working much better, at least it won't connect to a remote server just like this.

    Still, there is the problem, that the effective Maven configuration/pom does take into account the POM which is used for the project Drools is running inside. That is bad, because I don't want to put all those dependencies into the Drools-Maven-Repository. But that is for another question.

提交回复
热议问题