mojohaus / jaxb2-maven-plugin

JAXB2 Maven Plugin
https://www.mojohaus.org/jaxb2-maven-plugin/
Apache License 2.0
107 stars 77 forks source link

Providing multiple binding files doesn't work #34

Closed McNeil82 closed 8 years ago

McNeil82 commented 9 years ago

You can not provide more than one binding file. If you configure the following:

<xjbSources>
    <xjbSource>${basedir}/src/main/resources/binding/binding1.xjb</xjbSource>
    <xjbSource>${basedir}/src/main/resources/binding/binding2.xjb</xjbSource>
</xjbSources>

The plugin ends up passing only the last configured binding file as an argument.

| [8]: -b
| [9]: C:\IdeaProjects\efi-omc-schufa-api\src\main\resources\binding\binding2.xjb
| [10]: /C:/IdeaProjects/api/src/main/resources/schema/first.xsd
| [11]: /C:/IdeaProjects/api/src/main/resources/schema/second.xsd
| [12]: /C:/IdeaProjects/api/src/main/resources/schema/third.xsd
|
+=================== [End 13 XJC Arguments]

This is a major issue. Since this plugin blocks us from upgrading to Java 8.

dop251 commented 8 years ago

Bug fixed in Apr and still no release? Is there any way of benefiting from this fix without building the plugin myself?

lennartj commented 8 years ago

Release is upcoming in a week or two.