Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

DMN KJAR as part of spring boot project

32 views
Skip to first unread message

Kunal Kishan

unread,
Apr 19, 2024, 2:21:28 AM4/19/24
to Drools Setup
Hi,

I have KJAR as dependency as part my of Spring boot project. 

But upon starting - it searches for Maven Repo for the JAR and not searches the BOOT-INF/lib of the spring-boot jar.

How can i make this auto-discoverable (  BOOT-INF/lib/sample-kjar.jar  ) ?

The other way can have the DMN as part of the spring-boot project -- like below  - which works fine.  But this would mean to have all the DMNs in one place and no seggragation basis artifact id and groupId.

resources
  - META-INF
      - kmodule.xml
  - Sample.DMN




Environment :  JDK 8
<version.org.drools>7.73.0.Final</version.org.drools>
<version.org.jbpm>7.73.0.Final</version.org.jbpm>

Dependecies ::
<dependency>
<groupId>org.kie</groupId>
<artifactId>kie-dmn-core</artifactId>
<version>7.73.0.Final</version>
<exclusions>
<exclusion>
<artifactId>slf4j-api</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.kie</groupId>
<artifactId>kie-ci</artifactId>
<version>7.73.0.Final</version>
<exclusions>
<exclusion>
<artifactId>slf4j-api</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
<exclusion>
<artifactId>jcl-over-slf4j</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>


Reply all
Reply to author
Forward
0 new messages