It doesn't work becouse I have many xsd files in many subdirectories. <schemaDirectory>src/xsd</schemaDirectory> looks for xsd files only in this directory and not in subdirectories. In a documentation i've founded that in my case i should use fileset. In fact it was in description of schemaDirectory.
http://mojo.codehaus.org/xmlbeans-maven-plugin/xmlbeans-mojo.html Pozdrawiam Sebastian Błoch "Mike Perham" <[EMAIL PROTECTED]> 2006-01-04 15:50 Please respond to "Maven Users List" <users@maven.apache.org> To "Maven Users List" <users@maven.apache.org> cc Subject RE: Where to specify fileset for multiple schema files with plugin xmlbeans for m2?? I think you want schemaDirectory. <configuration> <schemaDirectory>src/schema</schemaDirectory> <xmlConfigs> <xmlConfig implementation="java.io.File">src/schema/config.xsdconfig</xmlConfig> </xmlConfigs> </configuration> -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 04, 2006 7:16 AM To: Maven Users List Subject: Where to specify fileset for multiple schema files with plugin xmlbeans for m2?? Where to specify fileset for multiple schema files with plugin xmlbeans for m2?? Right now im using something like this, but i doesen't work. Please help. <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>xmlbeans-maven-plugin</artifactId> <executions> <execution> <phase>generate-sources</phase> <goals> <goal>xmlbeans</goal> </goals> </execution> </executions> <inherited>true</inherited> <configuration> <memoryInitialSize>8m</memoryInitialSize> <memoryMaximumSize>256m</memoryMaximumSize> <debug>true</debug> <verbose>true</verbose> <failonerror>true</failonerror> <fileset dir="src/xsd" includes="**/*.xsd"/> <fileset dir="src/java" includes="**/*.*"/> </configuration> </plugin> </plugins> Thanks! Sebastian Błoch --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]