Can I ask what you are trying to achieve with that? Assuming your parent is set 
up correctly all the plugins, profiles, dependency management will flow to the 
child. If you want to ensure you’re building all dependent modules of the child 
from the parent, then you can just right-click and hit build with dependencies 
“mvn --also-make —projects myprojectChild".

> On 18 Feb 2021, at 15:54, Steve Hannah <st...@weblite.ca> wrote:
>
> I have a multi-module maven project.  I'm trying to set up nbactions.xml so 
> that when I'm working on a file inside a child module, if I press "Run", it 
> will execute a goal on the parent module.
>
> I've been trying every back-handed way I can to inject something like the "-f 
> ../pom.xml" into the mvn command call, but to no avail.
>
> Any pointers appreciated.
>
> Thanks
>
> Steve



CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.

Reply via email to