If you mean, have a multi-module parent pom, and some way to run a module
and have all its dependencies be found and included... as far as I know,
there is simply no good way to do that with the nbm-maven-plugin - it is a
glaring feature gap.

The (painful) workaround is to create an nbm-application project, that
depends on everything you need, and build and run that (which means
rebuilding the entire application structure every time you want to run,
which can take several minutes).  Here's an example of that (see the pom
and the shell scripts in this dir):

https://github.com/timboudreau/ANTLR4-Plugins-for-NetBeans/tree/master/antlr-suite

I've thought about writing a patch for the nbm plugin to do the right thing
- build the application structure in the project's target/ dir, find all
dependencies that can be resolved as projects in the reactor and only
update those that have changed - but I've only got about 2000 other things
I need to get done in front of that :-/

-Tim

Reply via email to