OK so it seems my nabble searching is pretty lousy ... there was a similar post recently

The solution I have come up with is to use profiles in the top-level POM to contain the modules declarations

I create a bootstrap profile which contains the minimal modules, then an 'all' profile that contains all modules and has <activeByDefault>true</activeByDefault>

So the fresh top level build does this:

mvn -P bootstrap clean install

That seems to work fine

Cheers,
jmp

J. Matthew Pryor wrote:
I am trying to work through a "boot-strap" issue.

Currently we have a multi-project that includes a maven-plugin module that is then used to build other modules in the multi-project.

As you might expect a clean checkout & build at the top-level fails because mvn says it can't find the plugin in question (it hasn't been built yet).

Is there any way to do this? Or do I have to break the plugin out into its own project & build it separately?

Thanks,
Matthew

p.s. I posted this question once before but did so as a reply and was worried it got lost in that noise, apologies for the duplication

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to