highsource / highsource/jaxb-tools
-XelementWrapper:delete should not delete a WrapperClass annotated with @XmlRootElement + Bug
Open
bug
xjc-plugins
- Dominant language
- Java
- Stars
- 465
- Forks
- 105
- PR merge metrics
- No merged PRs in 30d
Description
I would expect classes annotated with `@XmlRootElement` not to be deleted by the `-XelementWrapper:delete` option, even if they only contain a collection. Is it a bug or an expected behavior ?
If you run my MRE at https://github.com/cheseaux/jaxb-maven-plugin-xew-bug/ you will also get a compilation error. The method `createOrderItem` in `ObjectFactory` refers to the non-existing class 'Order' (which was previously deleted by the ElementWrapper Plugin).
Contributor guide
Assessment
This issue has not been assessed yet.