While Codehaus Cargo is licensed under Apache Software License and MIT license, it has some DTD files which have many other types of licenses. These DTDs are used for parsing Java EE XML descriptors even when Codehaus Cargo would be used offline.
In order to remain compliant with the licenses:
Isolate the DTDs in a separate JAR
Remove the DTDs from the Uberjar
Document the license restrictions for that specific JAR