in my pom.xml:

<plugin>
<groupId>com.sun.tools.jxc.maven2</groupId>
<artifactId>maven-jaxb-schemagen-plugin</artifactId>
<version>1.2</version>
<executions>
<execution>
<!-- execute generate during generate sources phase, need to play with
this... -->
<phase>generate-sources</phase>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
<configuration>
<schemas>
<schema>
<namespace>www.mycompany.com</namespace>
<file>test.xsd</file>
</schema>
</schemas>
<verbose>true</verbose>
</configuration>
</plugin>

the xsd file keeps getting written as 'schema1.xsd' (default value...)

If I change <file> to <notfile> or something it blows up, as it should, or I
add two schemas with the same namespace to the pom, it errors out, so the
pluging is loading this date. It's working ok for me in ant, and I believe
the plugin just wraps the same code. 

Any ideas what I'm doing wrong?

Thanks,
Mike
-- 
View this message in context: 
http://www.nabble.com/Jaxb-schemagen-plugin-ignoring-schema-settings-tp15172120s177p15172120.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to