From 91abd0b04320a9c9d932df195aca38c1cacfcc5a Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Wed, 3 Feb 2021 16:08:50 +0100 Subject: Moving TemplateEngine to shared API. --- module/ri-base/classpath.txt | 1 + module/ri-base/pom.xml | 29 +++------------------- .../io/trygvis/rules/engine/TemplateEngine.java | 10 -------- 3 files changed, 4 insertions(+), 36 deletions(-) delete mode 100644 module/ri-base/src/main/java/io/trygvis/rules/engine/TemplateEngine.java (limited to 'module/ri-base') diff --git a/module/ri-base/classpath.txt b/module/ri-base/classpath.txt index 1461d46..d5370b2 100644 --- a/module/ri-base/classpath.txt +++ b/module/ri-base/classpath.txt @@ -6,6 +6,7 @@ com.github.javaparser:javaparser-core:3.13.10:jar com.thoughtworks.xstream:xstream:1.4.14:jar commons-codec:commons-codec:1.14:jar commons-io:commons-io:2.8.0:jar +io.trygvis.rules-sandbox.module:ri-module-api:1.0-SNAPSHOT:jar org.antlr:antlr-runtime:3.5.2:jar org.drools:drools-canonical-model:7.48.0.Final:jar org.drools:drools-compiler:7.48.0.Final:jar diff --git a/module/ri-base/pom.xml b/module/ri-base/pom.xml index aca4f26..119368c 100644 --- a/module/ri-base/pom.xml +++ b/module/ri-base/pom.xml @@ -22,34 +22,11 @@ com.fasterxml.jackson.core jackson-databind - - - org.junit.jupiter - junit-jupiter-api - 5.7.0 - test - - org.junit.jupiter - junit-jupiter-params - 5.7.0 - test - - - org.junit.platform - junit-platform-commons - 1.7.0 - test + ${project.groupId} + ri-module-api + ${project.version} - - - - org.kie - kie-maven-plugin - - - - diff --git a/module/ri-base/src/main/java/io/trygvis/rules/engine/TemplateEngine.java b/module/ri-base/src/main/java/io/trygvis/rules/engine/TemplateEngine.java deleted file mode 100644 index eafa6e4..0000000 --- a/module/ri-base/src/main/java/io/trygvis/rules/engine/TemplateEngine.java +++ /dev/null @@ -1,10 +0,0 @@ -package io.trygvis.rules.engine; - -import java.io.IOException; -import java.util.Map; - -public interface TemplateEngine { - void clean(); - - void template(String name, String output, Map params) throws IOException; -} -- cgit v1.2.3