maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Porter <>
Subject generated sources (and other phase binding) now working
Date Sun, 27 Feb 2005 23:07:50 GMT

We can now utilise generated sources, and bind mojos to phases as required.

An example is maven-model (as modello has had this enabled). The
existence of:


in maven-model's pom.xml means that "m2 install" will get the modello
plugin to participate in the build.

(note there is also
as modello requires these properties).

modello:java (and others) declare:

@phase generate-sources

So if other plugins need similar, this can now be done. eg. jpox:enhance
might declare:

@phase process-classes

I'm now working on allowing the type handlers to activate plugins so
that m2 install on a plugin will activate "plugin:descriptor".


View raw message