I have a basic.xsd
and two other A.xsd
and B.xsd
. A.xsd
and B.xsd
get converted into two different java packages, therefore I need two Maven executions of the same plugin.
Both XSDs refer to basic.xsd
for some shared classes. If basic.xsd
would come from a different project I could solve this problem really nicely through using episodes
to prevent duplicate classes.
But how can I refer to the current project?
My first execution of the plugin is to generate only classes from basic.xsd
into its own java namespace. After that the executios of A.xsd
and B.xsd
should know about the stuff generated from basic.xsd
.
Can I somehow point to the generated episode of basic.xsd
?
Somehting like
<episodes><episodeFile>basicXSD.episode</episodeFile</episodes>
would be nice, but as far as I can see, I can only add dependencies... :-(