I have many xsd files in many subdirectories.
<schemaDirectory>src/xsd</schemaDirectory> looks for xsd files only in this
directoryand not in subdirectories.  In a documentation i've founded that
in my case i should use fileset. It was in description of sourceSchemas.

http://mojo.codehaus.org/xmlbeans-maven-plugin/xmlbeans-mojo.html

My directories looks like this:

|
|----------src
      |
      |---------xsd
      |     |
      |     |-----------common
      |           |
      |           *.xsd
      |
      |---------jave
      |     |
      |     |-------------some1 with *.xsd
      |     |           |
      |     |           |------------some 1-1 wirh*.xsd
      |     |           |           |
      |     |--------some 2    some1-2*.xsd     |
      |     |     *.xsd |     |     |
.
.
.

and so on.

How should my POM.xml file look like??
What should I do?

Please!!! My boss will kill me.


Pozdrawiam
Sebastian Błoch

Pozdrawiam
Sebastian Błoch


                                                                       
             Sebastian                                                 
             Bloch/abg.com.pl                                          
                                                                        To
             2006-01-04 16:03          "Maven Users List"              
                                       <users@maven.apache.org>        
                                                                        cc
                                       "Maven Users List"              
                                       <users@maven.apache.org>        
                                                                   Subject
                                       RE: Where to specify fileset for
                                       multiple schema files with plugin
                                       xmlbeans for m2??(Document link:
                                       Sebastian Bloch)                
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       



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]                                         
             fysolutions.com>                                           To
                                       "Maven Users List"              
             2006-01-04 15:50          <users@maven.apache.org>        
                                                                        cc
                                                                       
             Please respond to                                     Subject
               "Maven Users            RE: Where to specify fileset for
                   List"               multiple schema files with plugin
             <[EMAIL PROTECTED]         xmlbeans for m2??               
                  he.org>                                              
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       




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]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to