Good day,

I am trying to use maven profiles separated into modules (<modules> in a parent 
pom).

After successfully installing the parent pom (and the modules), I tried to use 
the profiles.

Profiles located in the parent POM still work as before, but new profiles 
located in a module do not.

I tried to activate the profiles with the command parameter -P, e.g., 
Pmy-profile-name-in-parent-pom, or, e.g., Pmy-profile-name-in-module-a.

The command mvn help:all-profiles also lists only the profiles directly in the 
parent pom.

I wanted to figure out whether this should or should not work. It would be 
great if you could give me a hint.

Best
Norman

Reply via email to