Hi,

I am new to this mailing list, so excuse me if this question is old... (I
did search the mailing list though)

We have just started using maven and m2eclipse, but one issue that is
annoying is with generated-sources not being refreshed properly
automatically, not when checking out or when changing the files generating
the sources (right now mostly XSD files compiled by JAXB compiler).

I have tried to configure this in eclipse with builders and refresh setting,
but not managed to get it working nicely (you have to manually refresh and
"fiddle" etc before it builds without errors)
Anyone else had more success with this?

Also, irritatingly, when I check out , many times Eclipse simply modifies
the classpath file and removes the reference to generated sources!! (maybe
because the folder does not exist before running the build?) In this case, I
always have to sync and then select "Override and update"...

I have not always used "Create maven project", maybe this is part of the
issue? many of the projects were simply converted to maven by adding a pom
file and doing "maven->Enable dependency management", is there a better
recommendation regarding migrating projects?

//Kent

Reply via email to