You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Shute, James" <ja...@lehman.com> on 2007/03/14 11:05:22 UTC

Maven + XmlBeans + IDE

Hi,

I've got an M1 project which uses xmlbeans, which I'm looking to convert
over to M2.

Now I've done this for the command line build using the standard
XmlBeans plugin and that all works nicely.

The point where I have a problem is then doing development work in an
IDE (preferably Idea, though I have the same problem with Eclipse).  The
issue is that the IDE knows nothing about the src / classes generated by
the xmlbeans plugin, so my build in the IDE fails.

Now I can hack the Idea module file so the target\xmlbeans-source file
is picked up as a source directory, but that still isn't sufficient as
the classes need to find the TypeSystemHolder class (and associated
files) which are generated to target\classes\schemaorg_apache_xmlbeans

With my M1 build I hacked it so that all the generated xmlbeans classes
were bundled into a standalone jar in target, which I then got Idea /
Eclipse to use as a dependency.  However this is very much a hack, so
when moving to M2 I'd really like to do it the "right" way.

Question is, what is the "right" way?  

Any help very much appreciated!

thanks

James

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

This message is intended only for the personal and confidential use of the designated recipient(s) named above.  If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited.  This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers.  Email transmission cannot be guaranteed to be secure or error-free.  Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such.  All information is subject to change without notice.




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org