Hi Christian, I was heading in a similar direction, but I figured that having a jar packaging type of pom would still convince the Eclipse plugin to add a project reference, right? Or did you change your pom to a pom packaging pom?
BTW Is your Maven Plugin available as open source? Thanks, Wilfred On Fri, 2006-05-05 at 09:04 +0200, Domsch, Christian wrote: > > Yes I had the same problem and I think I have a working solution. The > key is, that I wrote an additional plugin, that would generate a jar > containing the generated sources and classes from xmlbeans. My normal > project now includes this project. > > The process is like this: > > The normal XMLBeans Plugin generates ist sources and classes and puts > them to a defined location. My plugin picks up thoses resources at the > same location and builds the jar and installes it into the local > repository. For this, my plugin runs in the process-resources phase. > > Now the project insode eclipse can resolve anything it needs, with one > downside that you have to run the lifecycle one time outside eclipse > for the initial generation of this jar. > Wilfred Springer | Software Architect | TomTom | [EMAIL PROTECTED] | +31 646 720 990
