Zakave
Zakave

Reputation: 23

OptaPlanner ECJ dependency. Replace or pre-compile drools for on-prem installation

We have been using OptaPlanner for a potential On-Prem/Cloud solution. We are currently using drools-rules that are compiled at runtime (i think the default behaviour?).

OptaPlanner is pulling in the "Eclipse ECJ" dependency via the Drools compiler.

optaplanner-core -> drools-compiler -> ecj

ECJ uses the EPL 1.0 licence which we have been instructed should not be distributed.

My question(s):

Upvotes: 2

Views: 138

Answers (1)

Geoffrey De Smet
Geoffrey De Smet

Reputation: 27322

ConstraintStreams are probably a way to avoid ECJ, as the Drools implementation won't compile DRL. And the faster Bavet implementation won't use Drools at all. However, ConstraintStreams are still young... (but very actively being worked on).

Upvotes: 1

Related Questions