I have two profiles that are nearly identical. Rather than duplicating the configuration in each, I’d like for one profile to “inherit” from the other, but I don’t see an obvious way to do this using maven 3.
Is profile inheritance possible in maven?
No, profiles cannot be inherited.
However, you can have multiple active profiles, which could allow you to accomplish roughly the same thing by factoring out the common elements in the two profiles into a third profile that you activate whenever you activate one of the other two profiles.