Let’s assume there are 2 applications. The POM hierarchy might look like this:
parent
--> system A
--> system B
Both systems are supposed to be able to connect to the same database.
Each system has 2 profiles: Development (embedded DB) and Production (MySQL).
How can I use Maven to share the database connection information (user, path, driver etc.) for each profile ACROSS BOTH systems (I’m using resource filtering)?
Just store the properties for those information in the appropriate profile.