User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11
Yeah I found that and it does work. The problem is there is no
extension for either the maven-processor-plugin or for running the
compiler during the generate-sources phase. If I run "mvn clean
compile" on the command line and then refresh my eclipse project the
build helper plugin correctly adds the
"target/generated-sources/annotations" directory as a source dir.
The problem is without running the command line build the compiler
is not run to generate that directory and the sources.
-Eric
On 7/9/11 2:25 AM, Jeff MAURY wrote:
I think there is a M2E extension that deals with the
build helper plugin. So given your configuration, I don't think
there is more to do.
Regards
Jeff
So even better would be to work on a m2e extension that
allows the compiler and build-helper plugins to run at the
correct time in eclipse. Again I'm more than happy to do
this work I'm just looking for any tips or other ideas
before getting started.
-Eric
On 7/8/11 9:30 PM, Eric Dalquist wrote:
I have a project that uses the
hibernate-jpamodelgen library to generate code based
on annotations. We had this working for our project
under the old m2eclipse plugin by using the
maven-processor-plugin and build-helper-maven-plugin,
I've included the config below.
I'm interested in helping figure out the best way to
do this and write the m2e plugin to get it working.
I've looked over the source for the m2e jaxb feature
that was created for this issue: https://bugs.eclipse.org/bugs/show_bug.cgi?id=350299
that gives me some ideas but before I started playing
with code I was wondering if anyone here had any words
of wisdom to share.