maven-m2-dev mailing list archives

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

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:

<plugins>
  <plugin>
    <id>modello</id>
  </plugin>
</plugins>

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

(note there is also
<configuration>
  <model>maven.mdo</model>
  <version>4.0.0</version>
</configuration>
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".

Cheers,
Brett


Mime
View raw message