You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Brian Bonner <bk...@gmail.com> on 2005/11/14 18:48:11 UTC

Excluding class files generated by xmlbeans plugin from resulting jar

I have several schemas that are used by test cases.  I'd like them to
NOT appear in the jar file that results from mvn:install.

The schemas are generating java source using the xmlbeans plugin, and
they're classes are being generated at target/classes

I tried overriding the location using 
					<classGenerationDirectory>target/xfire-xmlbeans-test</classGenerationDirectory>

However, this gives me:

[ERROR] BUILD ERROR
[INFO] -------------------------------------------------------------------------
---
[INFO] Error configuring: org.codehaus.mojo:xmlbeans-maven-plugin. Reason: ERROR
: Cannot override read-only parameter: classGenerationDirectory in goal: xmlbean
s:xmlbeans
[INFO] -------------------------------------------------------------------------

Does anyone have pointers on this?

Thanks.

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