The short answer is no you can't.
The only way to access the profile from DbPorject from within ApplicationProject is if ApplicationProject's pom has DbProject's pom as its parent
pom. ApplicationProject would then inherit all profiles
defined within DbProject.