maven override profile from parent in child -
i have multi-module maven project.
parent-module-->child-submodule1 \->child-submodule2
children both submodules , children of parent-module.
child-submodule1 has build profile my-profile specific should shared sibling (submodule 2) setup environment both.
i moved "my-profile" parent. when build activating profile executed 3 times, build fails (as profile specific things here).
i needed profile executed once in parent, , being skipped in children. tried removing parent-children relationship , way woud work, have other problems solve (dependencies carried out parent).
how can it? can override profile in children deactivating it?
you cannot deactivate profile in children or prevent run.
you set <inherited>false</inherited>
on executions in my-profile
in parent.
Comments
Post a Comment