> Generate-sources is a phase, not a dependency scope.

This is correct, but ideally he would move the <dependencies> so they
are inside the <plugin> declaration since he only needs these
dependencies for the execution of the plugin.

> Get rid of that for a start. I'm surprised maven even allowed that. I
> guess it accepts anything there.

Yes, Maven accepts anything there, a fact which some plugin authors
(FlexMojos) have taken advantage of:
https://docs.sonatype.org/display/FLEXMOJOS/Adding+libraries+to+compilation

I am not a fan of this but it has been discussed in JIRA and Maven3
simply reports a warning but does not fail with an error:
http://jira.codehaus.org/browse/MNG-3991

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to