On Wed, May 30, 2007 3:43 pm, Kenney Westerhof wrote:

> If you define 2 (different) plugins in the same phase, they should be
> executed
> sequentially (at least with maven 2.0.6).
> The only reason i can think of that only one of them executes is that you
> declared the
> same plugin twice, where the latter will overwrite the first one. If you
> want to run
> the same plugin twice, define 2 executions for that plugin.

This was with maven v2.0.4, which may have been a problem.

> Maybe it's easier to have 2 projects: one with the java as the main
> artifact,
> and also running javah to generate the headers and make that a secondary
> (attached)
> artifact, with a classifier (is probably done automatically).
> The second project will contain the c code and have a dependency on the
> headers artifact.

This is what we eventually went with.

Regards,
Graham
--



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

Reply via email to