javaapiforkml icon indicating copy to clipboard operation
javaapiforkml copied to clipboard

Usage of outdated jaxb

Open hestad opened this issue 9 years ago • 4 comments

jaxb was included in jdk6+, very annoying dependency!

<groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-impl</artifactId>

hestad avatar Dec 18 '15 15:12 hestad

Have you tried excluding that dependency in your POM?

ZiglioUK avatar Dec 18 '15 19:12 ZiglioUK

Yes, but the jdk package name is a bit different. Another solution is to make a minified wrapper.

hestad avatar Dec 18 '15 20:12 hestad

I see two problems with this upgrade: 1)NotNull is used (now com.sun.istack.internal.NotNull). It can be replaced with javax.annotation or some other. See http://stackoverflow.com/questions/4963300/which-notnull-java-annotation-should-i-use 2)NamespacePrefixMapper is used (now com.sun.xml.internal.bind.marshaller.NamespacePrefixMapper). See: https://issues.apache.org/jira/browse/SIS-74

In the meantime, accepting the jaxb 2.2.4... PR should be better than what is now.

hestad avatar Dec 19 '15 12:12 hestad

Sorry, this project is not actively maintained :pensive:

See #18 for further information.

mischah avatar Feb 21 '16 13:02 mischah

Fixed now in v3.x.x

urbancamo avatar Nov 21 '23 18:11 urbancamo