Drools is an open source rules engine that allows you to externalize the business rules. This tutorial assumes that you have gone through “Setting up Java, Maven, and Eclipse.” Once you have gone through the following steps, you should have a project structure as shown below. Maven artifact version org.drools:drools-examples:6.4.0.CR1 / Drools examples / Run DroolsExamplesApp to try the Drools rule engine examples. / Get. In this chapter, we will create a Drools project for the following problem statement − Depending upon the city and the kind of product Combination of City and Product, find out the local tax related to that city. We will have two DRL files for our Drools project. The two DRL files will signify.
Using drools we have to define the discounts offered on various jewellery products depending on the type. For example if the product is jewellery item offer a discount of 25% and so on. We will create Eclipse Maven project as follows- The POM defined is as follows- Only a single dependency og Drools-compiler is required. DroolsMaven Version 2 Created by Andrew Rampulla on Aug 4, 2010 2:29 PM. Last modified by Andrew Rampulla on Aug 4, 2010 3:47 PM. Originally this started as a post asking for help, but since I just figure out how to do this, I thought I would post it. Here is how to create a basic Drools project in maven. Create a standard maven pom.xml with the following dependencies. 09.08.2012 · I'm trying to run very simple application using Drools and for a couple of hours now can't set up pom.xml with all dependencies. Here is how it looks now: