The core of the PR is the fix for NETBEANS-1171. It is unclear how the tlddoc files were created. So now they are created from the tag libraries themselves. This poses the problem, that the license and notice files from the original libraries do not necessarily apply to the generated files. This is the case for the tlddoc file generated from the mojarra reference implementation. That implementation bundles several apache libraries. For the tlddoc I would argue, that the licensing of the original library applies to the generated docs, but not from transitive dependencies.
To fix this I added the option to handle "generated" files to the license/notice creation and validation process. The new code in d52b9a3 allows to create license and notice files for "generated" files. These generated files are identified by their filename "generated-" prefix and the "Type" "generated" in the license headers. While checking working on this, I noticed, that the license/notice creation process fails to correctly assemble the NOTICE and LICENSE files, when the new cluster layout is applied. This is fixed in 67aea76. [ Full content available at: https://github.com/apache/incubator-netbeans/pull/807 ] This message was relayed via gitbox.apache.org for [email protected]
