Upgrading to jakarta caused some issues for me.
I'm using the following maven plugin:
<groupId>org.patrodyne.jvnet</groupId>
<artifactId>hisrc-higherjaxb40-maven-plugin</artifactId>
And I use episodal compilation (have libraries). Suddenly I'm facing the following problem:
Can't have @XmlAnyAttribute when a base class has it already.
this problem is related to the following location:
at @jakarta.xml.bind.annotation.XmlAnyAttribute()
Closer inspection reveals that XJC suddenly generates the following field:
@XmlAnyAttribute
private Map<QName, String> otherAttributes = new HashMap<>();
which it did not generate before. How can I disable this?