I'm trying to configure the Swarm AS based on Thorntail 2.5.0.Final
with a project-defaults.yml
within a multi-module Gradle project. Unfortunately the configuration file doesn't get picked up.
Where do I have to put the project-defaults.yml
file so it's registered by Thorntail?
Currently the situation looks like this:
I think the sub module resources folder is not correct, because this configuration file should configure the whole AS, right?
The file belongs to
src/main/resources
. It seems you already have one there -- are the two different?If you have a multi-module project, generally there should be one module that builds the uberjar, and that module should have
src/main/resources/project-defaults.yml
.