properties-maven-plugin icon indicating copy to clipboard operation
properties-maven-plugin copied to clipboard

Properties read in parent module unavailable in children

Open ROARy opened this issue 8 years ago • 7 comments

Perhaps my expectations are incorrect but I would expect that if a property file is read in by the parent then those properties should be available to its children as well.

For my use case, I have a couple giant globs of property files in the parent module containing properties that should be disseminated to its children but getting them there has proved a challenge.

It would be nice if we could hoist these up and make them available for child modules.

ROARy avatar Jul 25 '16 16:07 ROARy

I found the opposite is true too - properties read from in child POMs are not seen in the parent POMs.

jeffjensen avatar Aug 04 '17 13:08 jeffjensen

+1

thejeff77 avatar Jun 09 '18 19:06 thejeff77

+1

cr-kobyisrael avatar Feb 19 '20 08:02 cr-kobyisrael

@hboutemy @slachiewicz Any ideas on why this doesn't work?

cowwoc avatar May 18 '22 02:05 cowwoc

Workaround: https://stackoverflow.com/a/18838909/14731

cowwoc avatar May 18 '22 02:05 cowwoc

I would REALLY like to see a fix for this issue. It would make life SO much more worth living :) Currently I have to use the plugin in whatever submodule I need the properties defined in my properties file, or define the properties in the block in the parent pom - which I would like to avoid since I want to use the same file across several projects.

havardhn avatar May 31 '23 09:05 havardhn

Please look at #115

slawekjaranowski avatar Oct 22 '23 16:10 slawekjaranowski