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

Properties read in parent module unavailable in children #32

Open
ROARy opened this issue Jul 25, 2016 · 7 comments
Open

Properties read in parent module unavailable in children #32

ROARy opened this issue Jul 25, 2016 · 7 comments

Comments

@ROARy
Copy link

ROARy commented Jul 25, 2016

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.

@jeffjensen
Copy link

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

@thejeff77
Copy link

+1

1 similar comment
@cr-kobyisrael
Copy link

+1

@cowwoc
Copy link

cowwoc commented May 18, 2022

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

@cowwoc
Copy link

cowwoc commented May 18, 2022

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

@havardhn
Copy link

havardhn commented May 31, 2023

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.

@slawekjaranowski
Copy link
Member

Please look at #115

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

7 participants