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

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

python - Django-easy-pdf: xhtml2pdf reporting reportlab 2.2+ is required, but 3.0 installed -

collision detection - C++ library for mesh to mesh intersection: what is available? -