I had trouble building sandbox things on a new Windows machine, when the
projects used XMLBeans.

Here's what I found, and how I fixed things.

First, the build was ok from the command line.

Second - I'm using Eclipse 3.6.2 (latest).  The builds were failing in Eclipse.

I had installed m2eclipse 0.12.1.20010112-1712

DictionaryAnnotator and RegExpressionAnnotator are 2 examples of the failure.

The problem: the files being generated by XMLBeans were not being added to the
m2eclipse generated Eclipse classpath.

The fix:  I installed the m2extras - the Project configurators for some commonly
used maven plugins was the critical missing piece, I think.

Then: I did some fiddling - running mvn clean from Eclipse on a project, then
running mvn process-resources from Eclipse, and then doing the Eclipse Maven ->
update configuration step.  This seemed to let m2eclipse figure out the right
thing to do to update the classpath correctly.

-Marshall

Reply via email to