Jody Garnett a écrit :
> I think I added the jaxb dependency as "provided" - can you confirm?
> That would mean they are not required for runtime correct...
Yes, but the problem is elswhere.
In "dummy-jaxb" every annotations were declared as @Retention(SOURCE).
Consequently they were wiped from the compiled class files.
In the real JAXB every annotations are declared as @Retention(RUNTIME).
Consequently they are present in the compiled class files.
This is independant from the maven scope. Now JAXB dependencies appears in the
compiled class files. Trying to run metadata without JAXB is likely to thrown
NoClassDefError (I have not tested however).
Martin
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel