I am working on multi-module maven project (newbe to multi-module maven projects).
I have Module A with the directory structure /ModuleA/ConfigFiles/config.properties.
And Module B which uses the Module A using maven dependency.
Now Module A source file retrieves the config file as
String configFile = System.getProperty("user.dir")+"\\ConfigFiles\\config.properties";
So when I call the Module A function from Module B , it is using Module B local project directory instead of Module A's project directory.
Is there any solution/workaround to this in multi-module project ?