camunda-community-hub / micronaut-camunda-platform-7

Integration between Micronaut and Camunda (Workflow Engine). We configure Camunda with sensible defaults, so that you can get started with minimum configuration: simply add a dependency in your Micronaut project to embed the workflow engine!
https://camunda.com/blog/2021/07/automate-any-process-on-micronaut/
Apache License 2.0
74 stars 29 forks source link

Remove spring-beans Dependency #377

Open tobiasschaefer opened 2 years ago

tobiasschaefer commented 2 years ago

It would be nice to remove the spring-beans dependency:

--- a/micronaut-camunda-bpm-feature/build.gradle
+++ b/micronaut-camunda-bpm-feature/build.gradle
@@ -24,6 +24,7 @@ dependencies {
     implementation("io.micronaut:micronaut-runtime")
     api("org.camunda.bpm:camunda-engine:$camundaVersion") {
         exclude group: 'org.camunda.bpm.model', module: 'camunda-cmmn-model'
+        exclude group: 'org.springframework', module: 'spring-beans'
     }

     compileOnly("io.micronaut.servlet:micronaut-servlet-engine")

However, this is currently being used to determine the resources in the classpath.

Is there a better way?

tobiasschaefer commented 2 years ago

Some random links