Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] generate-sources

Generally, code generation requires explicit support from one of
installed m2e extensions. There is currently support for modello and
antlr/antlr3 available from m2e-extras update site.

To make this work in m2e 0.12.x, you need to configure what we call
"custom lifecycle mapping" and you can find few examples in [1] and [2].

In m2e 0.13.x, code generation is expected to work without any
configuration in pom.xml or at least you should get clear error message
what additional m2e extensions are required.

[1] https://github.com/sonatype/m2eclipse-extras/tree/0.12.0.20101103-1500/org.maven.ide.eclipse.modello.tests/projects/antlr [2] https://github.com/sonatype/m2eclipse-extras/tree/0.12.0.20101103-1500/org.maven.ide.eclipse.modello.tests/projects/modello

--
Regards,
Igor

On 11-01-21 02:04 PM, Benson Margulies wrote:
What all do I have to do so that M2E (a) runs generate-sources, and
(b) pays attention to additional source directories added by plugins
bound to that phase?

Can I add to the POM to record this permanently?
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users


Back to the top