Re: Build parent module in nbactions.xml

2021-02-19 Thread Luff,Chris
Hmm, sounds like you need to implement a maven solution and then just append that to the nbactions - something like; mvn clean compile test exec:java --projects javase --also-make You’ll need to configure the exec plugin in the parent and the executable module. > On 18 Feb 2021, at 16:15, St

Re: Build parent module in nbactions.xml

2021-02-18 Thread Steve Hannah
Thanks for taking the time to reply. My Project structure is: root - common - javase - ios - android - ... some others. Running the project on desktop should always run the javase project, which has "common" as a dependency. Most of the code is developed in the "common" module.

Re: Build parent module in nbactions.xml

2021-02-18 Thread Luff,Chris
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 bu

Build parent module in nbactions.xml

2021-02-18 Thread Steve Hannah
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 c