[MAT-474] Force licensing to be added to jar.

This forces the licenses to be added into an organised directory
structure. They are then added to the jar. The dependency system
is quite hard going, we may need to do something drastic to
UseJava.cmake in the future (rewrite!).