I have a few avro schemas that I am generating the code from using the avro maven plugin. I have dependencies in the schemas which I was able to resolve by putting the schemas in separate folders and/or renaming the schema file names with 01-, 02-, ...etc so that the dependencies get compiled first. However, this only works on mac but not on RHEL (probably because of the different ways the directories are read on them?). Anybody knows the best way to handle schema dependencies? If I specify individual schema names in the POM in the imports section, the schemas get compiled but I have listed the folders and I would like to avoid listing individual files if possible.
Here's a related issue: https://issues.apache.org/jira/browse/AVRO-1367 Thanks in advance.
