Hi.
> I have a maven project at:
> http://code.google.com/p/ambrosia/source/browse/#svn/trunk
>
> XSDs are:
> src/main/resources/org/eoti/spec/mimirdb/mimir-1.0.xsd
> src/main/resources/org/eoti/spec/gaea/gaea-common-1.0.xsd
> src/main/resources/org/eoti/spec/gaea/gaea-event-1.0.xsd
> src/main/resources/org/eoti/spec/gaea/gaea-location-1.0.xsd
> src/main/resources/org/eoti/spec/gaea/gaea-nameprefix-1.0.xsd
> src/main/resources/org/eoti/spec/gaea/gaea-namesuffix-1.0.xsd
> src/main/resources/org/eoti/spec/gaea/gaea-nametitle-1.0.xsd
> src/main/resources/org/eoti/spec/gaea/gaea-person-1.0.xsd
> src/main/resources/org/eoti/spec/gaea/gaea-relation-1.0.xsd
>
> My current jaxb bit in the POM is:
> <plugin>
> <groupId>org.jvnet.jaxb2.maven2</groupId>
> <artifactId>maven-jaxb2-plugin</artifactId>
> <version>0.6.0</version>
> <executions>
> <execution>
> <goals>
>
> <goal>generate</goal>
> </goals>
> </execution>
> </executions>
> <configuration>
> <!--
> https://maven-jaxb2-plugin.dev.java.net/nonav/maven-jaxb2-plugin-project/maven-jaxb2-plugin/generate-mojo.html
> -->
> <extension>true</extension>
> <schemaIncludes>
>
> <schemaInclude>**/*.xsd</schemaInclude>
> </schemaIncludes>
> <strict>false</strict>
> </configuration>
> </plugin>
>
> so.... when compiling all the XSDs it autoresolves against all the other
> XSDs anywhere in the tree....
> couldn't we do a similar thing for the catalog?
Ok, I see. Have to check this with the catalog specification. What I
as a user would expect is that I can say something like:
"Location
http://foo.acme.com/myschemas resolves to
classpah:/com/acme/foo/myschemas" instead of mapping each individual
http://foo.acme.com/myschemas/myschema.xsd to
classpah:/com/acme/foo/myschemas/myschema.xsd.
Such approach would solve your problem as well, wouldn't it?
Bye.
/lexi