For technical reasons (classloader issues), I need to rename the packages of the compiled version of an Apache library when I build my application, (which includes my code and the Apache code, a so-called fat jar). There are Maven and Gradle plugins to achieve this, (Maven shade plugin or Gradle shadow plugin).
This means, that the bytecode is modified so that the qualified name of a class is not org.apache.commons.lang3
any more, but something like shadow.org.apache.commons.lang3
.
Now the license requires:
You must cause any modified files to carry prominent notices stating that You changed the files;
This is my problem, I only change the bytecode so there is no (sensible) way to put a notice in there, at least not in a readable form.
What can I do?