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

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -