summaryrefslogtreecommitdiff
path: root/module/ri-engine/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'module/ri-engine/pom.xml')
-rw-r--r--module/ri-engine/pom.xml191
1 files changed, 0 insertions, 191 deletions
diff --git a/module/ri-engine/pom.xml b/module/ri-engine/pom.xml
deleted file mode 100644
index a2307f0..0000000
--- a/module/ri-engine/pom.xml
+++ /dev/null
@@ -1,191 +0,0 @@
-<?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>
- <properties>
- <main-class>io.trygvis.rules.engine.Main</main-class>
- </properties>
-
- <parent>
- <groupId>io.trygvis.rules-sandbox</groupId>
- <artifactId>rules-sandbox</artifactId>
- <version>1.0-SNAPSHOT</version>
- <relativePath>../../pom.xml</relativePath>
- </parent>
-
- <artifactId>ri-engine</artifactId>
-
- <dependencies>
-
- <dependency>
- <groupId>${project.groupId}.module</groupId>
- <artifactId>ri-module-api</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>io.trygvis.rules-sandbox.module</groupId>
- <artifactId>ri-base</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>io.trygvis.rules-sandbox.module</groupId>
- <artifactId>ri-wireguard</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>io.trygvis.rules-sandbox.module</groupId>
- <artifactId>acme</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.drools</groupId>
- <artifactId>drools-core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.drools</groupId>
- <artifactId>drools-compiler</artifactId>
- </dependency>
- <dependency>
- <groupId>org.drools</groupId>
- <artifactId>drools-decisiontables</artifactId>
- </dependency>
- <dependency>
- <groupId>org.drools</groupId>
- <artifactId>drools-templates</artifactId>
- </dependency>
-
- <dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-classic</artifactId>
- </dependency>
-
- <dependency>
- <groupId>com.fasterxml.jackson.dataformat</groupId>
- <artifactId>jackson-dataformat-yaml</artifactId>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-core</artifactId>
- </dependency>
-
- <dependency>
- <groupId>com.hubspot.jinjava</groupId>
- <artifactId>jinjava</artifactId>
- <version>2.5.6</version>
- </dependency>
-
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- </dependency>
- <dependency>
- <groupId>info.picocli</groupId>
- <artifactId>picocli</artifactId>
- <version>${version.picocli}</version>
- </dependency>
-
- <dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter-api</artifactId>
- <version>5.7.0</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter-params</artifactId>
- <version>5.7.0</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <annotationProcessorPaths>
- <path>
- <groupId>info.picocli</groupId>
- <artifactId>picocli-codegen</artifactId>
- <version>${version.picocli}</version>
- </path>
- </annotationProcessorPaths>
- <compilerArgs combine.children="append">
- <arg>-Aproject=${project.groupId}/${project.artifactId}</arg>
- </compilerArgs>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-shade-plugin</artifactId>
- <version>3.2.4</version>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>shade</goal>
- </goals>
- <configuration>
- <transformers>
- <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
- <resource>META-INF/kie.conf</resource>
- </transformer>
- </transformers>
- <outputFile>${project.build.directory}/${project.artifactId}-${project.version}-fat.jar</outputFile>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>3.2.0</version>
- <configuration>
- <archive>
- <manifest>
- <mainClass>${main-class}</mainClass>
- </manifest>
- </archive>
- </configuration>
- </plugin>
-
- <!-- TODO: attach generated script to build -->
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <version>1.6.0</version>
- <executions>
- <execution>
- <id>generate-autocompletion-script</id>
- <phase>package</phase>
- <goals>
- <!-- The java goal doesn't work here as maven itself would have to run with enable-preview -->
- <goal>exec</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <executable>java</executable>
- <arguments>
- <argument>-Dpicocli.autocomplete.systemExitOnError</argument>
- <argument>${java.preview}</argument>
- <argument>-cp</argument>
- <classpath/>
- <argument>picocli.AutoComplete</argument>
- <argument>--force</argument>
- <argument>--completionScript</argument>
- <argument>${project.build.directory}/engine_completion.sh</argument>
- <argument>${main-class}</argument>
- </arguments>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>