Drools 5.6 and Intellij Idea

  • Download Intellij Idea Community Edition from https://www.jetbrains.com/idea/download/
  • Install Intellji by double clicking the downloaded file and following the instructions
  • Open Intellij
  • Create New Project
  • New Project SDK
  • Navigate to the latest version of Java.  On a Mac that is currently /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk
  • next
  • Group Id: com.skills421.examples.drools
  • ArtifactId: WritingRules
  • Next
  • Project Name: WritingRules

Default Pom looks like this:

[code language=”xml”]
<?xml version=”1.0″ encoding=”UTF-8″?>
<project xmlns=”http://maven.apache.org/POM/4.0.0″
xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”
xsi:schemaLocation=”http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd”>
<modelVersion>4.0.0</modelVersion>

<groupId>com.skills421.examples.drools</groupId>
<artifactId>WritingRules</artifactId>
<version>1.0-SNAPSHOT</version>

</project>
[/code]

Add Drools Dependencies

 

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.