Hi,
> 1. Tried the example, and got a successful build. However, still get the, apparently , message "Cannot find CatalogManager.properties"
Just ignore it.
> 2. I've found that my problem is not having the xsd in place src/main/resources. However, the result of not having the xsd in place is the original error which seems to result in a bad Java command line. Perhaps the plugin should report that it couldn't find any xsd to compile?
You're right, please file an issue:
https://maven-jaxb2-plugin.dev.java.net/servlets/ProjectIssues
> So now that I have the plugin working, I have another question. Is there a use case for generating java objects from an XSD that is external from the current project? Perhaps via a dependency, included within a jar file?
Check the episode sample:
http://download.java.net/maven/2/org/jvnet/jaxb2/maven2/maven-jaxb2-plugin-sample-episode/0.7.1/
In two words, you schema must be available in the XJC classpath, (for
instance via configuration/plugins/plugin). Then you use catalog.cat
to map you logical schema location onto
classpath:my/path/in/jar/schema.xsd and use
org.jvnet.jaxb2.maven2.resolver.tools.ClasspathCatalogResolver as
catalog resolver.
Example is fully functional, this is what works right now.
Would be nice to have a better configuration for that, though.
Bye.
/lexi