In package B, I want to access config files in package A, the package A is not at my local, and I do not want to add A as my dependency, how can I do this in Java? and how do I pass in this package A? Is that even possible to do so?
My use case is: I want to access folder X in package A at run time, and this X must exist in all A. This A is not at my local, and I do not know who will this A be ahead of time.