Reputation: 15953
I'm using the command-line xjc from the jaxb-ri 2.3.3
maven artifact
(https://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-ri/2.3.3/jaxb-ri-2.3.3.zip).
It seems that the episode plugin cannot be loaded (more precisely it isn't found at all by the ServiceLoader
which is used behind the scenes within xjc's plugin architecture):
unrecognized parameter -episode
Tested on openjdk-11.0.2 on both linux and windows.
What needs to be done to fix this? Thanks!
Upvotes: 5
Views: 1243
Reputation: 75934
It is yet to be back ported to 2.3 release. Looks like 3.x was just out, though I can't find the binary distribution.
So I tried with latest 3.0.0-M5 https://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-ri/3.0.0-M5/jaxb-ri-3.0.0-M5.zip and it worked fine for me.
Usage now shows the extensions as well.
Upvotes: 3