Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notice for multi-module maven build #1

Open
villuv opened this issue Jun 29, 2015 · 0 comments
Open

Notice for multi-module maven build #1

villuv opened this issue Jun 29, 2015 · 0 comments

Comments

@villuv
Copy link

villuv commented Jun 29, 2015

Thanks, this is a good piece of example.

But this has one Spring Boot-related problem. For example, if business-rule dependent code + rulesets are in a different maven artifact, for example in maven submodule that the application module depends on, it doesn't work. It will find the kmodule.xml from META-INF of the jar, but Drools doesn't find any resources from the jar. As a workaround, one should keep their DRL-s in the same maven module as the application. This is because Drools doesn't look for files from classpath but uses directly application's jar as zip archive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant