Loading Drools/KIE Workbench artifacts directly from the repository

I finally managed to get this solved. Below is a working example which loads the Drools artifact from the KIE-repository via HTTP and executes the rules: package kieTest; import java.util.Scanner; import org.drools.compiler.kproject.ReleaseIdImpl; import org.kie.api.KieServices; import org.kie.api.builder.KieScanner; import org.kie.api.runtime.KieContainer; import org.kie.api.runtime.StatelessKieSession; public class MainKieTest { public static void main(String[] args) { // works even without -SNAPSHOT … Read more