Overlays for different maven Profiles
I want to have different configurations for different build types.
I implemented my build types as maven profiles that mutually exclude each other with development as a default.
My directory structure looks something like:
I tried to set the matching directory as the resource root. But that did not work at all...
I was trying to find an example with the shade plugin, since it will be used anyways to build a fat jar. If you know of an example i would be glad.
Nonetheless would I prefer to overlay the resource directory with the special build type directories. I am dumb in regards to maven, so I don't even know how to google for that. If there is nothing, I would be able to build my own plugin.
3 Replies
⌛
This post has been reserved for your question.
Hey @NeoCortex97! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
This is a simplified version of my
pom.xml
:
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived. If your question was not answered yet, feel free to re-open this post or create a new one.