Inheriting Maven profiles

Gili picture Gili · Sep 12, 2010 · Viewed 19.8k times · Source

Is it possible for a child POM to inherit profiles defined in the parent POM? If so, how?

Answer

Pascal Thivent picture Pascal Thivent · Sep 12, 2010

Profiles defined in a parent POM are inherited in a child POM extending the parent, there is nothing to do. And just in case, the Maven Help Plugin has very useful goals allowing to deal with profiles: