Starting with DSpace 5, we began auto-generating the [src]/LICENSES_THIRD_PARTY file via a Maven plugin:
However, currently that LICENSES_THIRD_PARTY file lists the DSpace API licenses, which are not "third-party" and they are duplicative of the actual [src]/LICENSE file. In addition, these DSpace APIs are listed as "SNAPSHOT" versions, since that was the version of the code which was used to generate the LICENSES_THIRD_PARTY file:
Ideally, we should just find a way to "filter out" the DSpace APIs altogether from the LICENSES_THIRD_PARTY file. We don't need them to be listed there, as the purpose of the file is to list non-DSpace licenses.