I just added a profile in a child and i've been able to see it and invoke
it...
Could you provide a simple project to reproduce the problem, the commands
you run, the output, and what you'd expect ?

Le mar. 26 nov. 2024 à 11:35, <nor...@gies.team> a écrit :

> 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
>
>

-- 
------------------------
Guillaume Nodet

Reply via email to