I've been using the new Maven plugin and the updated M2E extension for
a couple days, and it's been working great. I was able to bring back
Sculptor generation back into my main POMs without any issues.
The only thing I haven't been able to get working is Eclipse workspace
resolution when running the generate-sources Maven goal on my parent
POM within a multi-module project.
My project is fairly typical:
myproject-parent/pom.xml <- When built, builds all other modules
myproject/pom.xml <- service and repository classes, depends on
myproject-domain
myproject-domain/pom.xml <- this project contains Sculptor model files
all others use
myproject-web/pom.xml
If I build myproject-web or myproject within Eclipse individually,
Eclipse workspace resolution works, and the current model files from
myproject-domain are picked up.
If I build myproject-parent, workspace resolution isn't working, and
the classpath that each build uses includes the myproject-domain jar
in the maven repo instead of the myproject-domain project directories.
So I have to either run a full build (maven install) so the myproject-
domain jar gets built and installed, or I have to run Maven generate-
sources on each project individually.
I've turned on Maven resolution in each Eclipse project and all of the
Maven launchers.
Eclipse workspace resolution with a separate codegen pom wasn't
working at all for me before, so this is still a big improvement.
I wanted to see if this should be working for me and if this is
something specific to my set up.
Thanks
Ron
> Install fromhttp://
fornax-platform.org/updatesite/site.xml