I am also interested in using the Maven schemagen plugin, however when I
looked in the Sun Maven repo, I noted that the latest version (1.2) appears
to depend on a much older version of jaxb -- I am currently working with
jaxb 2.1.7.
This is the pom.xml for the schemagen plugin, which references jaxb-impl
2.0.2:
<
http://download.java.net/maven/2/com/sun/tools/jxc/maven2/maven-jaxb-schemagen-plugin/1.2/maven-jaxb-schemagen-plugin-1.2.pom>
Is this still going to work correctly with jaxb 2.1.7? Or does this plugin
need to be updated?
davy123 wrote:
>
> I'm using the maven-jaxb-schemagen-plugin to generate schema from java
> sources.
>
> The schema is generated correctly, except that it does not add one
> 'manual' import. I have a special hand-written XSD that defines some
> simple types, like simple string restrictions, that are the used in java
> code from which the other schema files are generated. And this manual
> schema file import is not added into generated XSDs by plugin.
>
> I have added the <schema> tag for this file and it's namespace in the
> plugin configuration but it does not help. Does anyone know the solution
> for this problem, using this plugin?
>
--
View this message in context: http://www.nabble.com/maven-jaxb-schemagen-plugin-additional-hand-written-schema-import-tp18921720p18953143.html
Sent from the java.net - jaxb users mailing list archive at Nabble.com.