Hello, actually, in addition to this, with this pom and version 2.3.3 of the plugin, none of the schemaorg_apache_xmlbeans are included in the final jar... with version 2.3.2 it works fine, so downgrading to 2.3.2 seems like another workaround
Perhaps I am missing something from the new version? On Wed, Jan 6, 2010 at 12:20 PM, David Ojeda <[email protected]> wrote: > Hello all, > > I think I found a bug on the xmlbeans maven2 plugin. > I have an artifact that generates the classes of a schema, which works > fine. However, I added a Junit test case that attempts to create an instance > of the xml document, and it fails complaining that it does not find either > the TypeSystemHolder or the document class. > I have printed the classpath of the test and it seems that > generated-classes/xmlbeans is not included. Therefore, as a workaround, I > added this directory to the surefire-plugin and it works. > I believe this to be a bug of the maven xmlbeans plugin. What do you think? > I wanted to check your opinions first instead of posting to jira. > > I attach a sample artifact that demonstrates the problem. > > > Best regards, > David
