assumes that the artefacts are packaged the same way as they are in maven central (they are not at my work). I recommend adding the selector part to the definition of the xjcLibs and xjcPlugins directly.
BTW, I rewrote the jar calculation as so in my local copy to help me debug things:
https://github.com/sbt/sbt-xjc/blob/master/src/main/scala/com/github/retronym/sbtxjc/SbtXjcPlugin.scala#L44
assumes that the artefacts are packaged the same way as they are in maven central (they are not at my work). I recommend adding the selector part to the definition of the xjcLibs and xjcPlugins directly.
BTW, I rewrote the jar calculation as so in my local copy to help me debug things: