highsource / highsource/jaxb-tools

-XelementWrapper:delete should not delete a WrapperClass annotated with @XmlRootElement + Bug

Open
#506 3 comments 1 reaction 1 assignee Claimed by @laurentschoelens View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.