[ 
http://jira.codehaus.org/browse/MXMLBEANS-21?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_98756
 ] 

Corridor Software Developer commented on MXMLBEANS-21:
------------------------------------------------------

Here is an example plugin def:
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>xmlbeans-maven-plugin</artifactId>
        <executions>
          <execution>
            <goals>
              <goal>xmlbeans</goal>
            </goals>
          </execution>
        </executions>
        <inherited>true</inherited>
        <configuration>
           <xsdJars>
              <xsdJar 
implementation="java.lang.String">org.codehaus.mojo:xmlbeans-mxmlbeans-25-jar</xsdJar>
           </xsdJars>
           <!-- try to only build a single schema from the jar file.
           -->
           <sourceSchemas>
               <sourceSchema>subdir/datetime.xsd</sourceSchema>
           </sourceSchemas>
        </configuration>
      </plugin>

There is also an IT test included now. If you are building the plugin for the 
first time before I get the snapshot updated (not likely, but possible) you 
will run into bootstrapping issues, so hang on one sec and I'll update the 
snapshot.

> Allow combining sourceSchemas and xsdJars properties
> ----------------------------------------------------
>
>                 Key: MXMLBEANS-21
>                 URL: http://jira.codehaus.org/browse/MXMLBEANS-21
>             Project: Maven 2.x Xmlbeans Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.0, 2.0.1, 2.1.0, 2.1.1
>         Environment: Java 1.5, maven 2.0.4
>            Reporter: Niels Ull Harremoes
>            Assignee: Corridor Software Developer
>             Fix For: 2.0.1
>
>
> We are getting schemas from a jar in the maven repository. However, this .jar 
> contains ~1200 schema files, only a few of which are relevant to us.
> We would therefore like to give a list of schema files to process, just like 
> we can do if the schema files are in the file system.
> Of course, schema files imported from the processed schemas should also be 
> processed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

    http://xircles.codehaus.org/manage_email

Reply via email to