Here's the plugins part:
 
  <build>
   <plugins>
    <plugin>
     <groupId>org.codehaus.mojo</groupId>
     <artifactId>xmlbeans-maven-plugin</artifactId>
     <version>2.0</version>
     <executions>
      <execution>
       <goals>
        <goal>xmlbeans</goal>
       </goals>
      </execution>
     </executions>
     <configuration>
    <schemaDirectory>d:/development/cams/xsd</schemaDirectory>
     </configuration>
    </plugin>
    <plugin>
     <groupId>org.codehaus.mojo</groupId>
     <artifactId>xmlbeans-maven-plugin</artifactId>
     <version>2.0</version>
     <executions>
      <execution>
       <goals>
        <goal>xmlbeans</goal>
       </goals>
      </execution>
     </executions>
     <configuration>
    <schemaDirectory>src/main/xsd</schemaDirectory>
     </configuration>
    </plugin>
   </plugins>
  </build>

Thanks,
 
Fabrice

________________________________

De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Date: jeu. 4/09/2008 15:28
À: user@mojo.codehaus.org
Objet : Re: [mojo-user] xmlbeans-maven-plugin



On Thu, 4 Sep 2008, Fabrice Claes wrote:

> Hi,
>
> In my project, I have two different sets of xsd files. Each one for 
> communicating with a different system. I need to compile these two sets of 
> xsd files with xmlbeans. But the xmlbeans-maven-plugin only allows to define 
> one schemaDirectory. I tried to declare two xmlbeans-maven-plugin in my 
> project's pom but it only takes the first one. Can someone help me with this 
> problem?

Please provide the snippet from your pom.

--
David J. M. Karlsen - +47 90 68 22 43
http://www.davidkarlsen.com <http://www.davidkarlsen.com/> 
http://mp3.davidkarlsen.com <http://mp3.davidkarlsen.com/> 

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email




<<winmail.dat>>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to