Yes, I noticed that new zip!file URL we can use nowadays. The comment we got during release review was exactly this: we cannot count on a whole 'zip' dependency to be under a single license. We actually have to dig down to the actual individual JARs and see the particular license for each one.
I see we have at least 20 zip files in /external/. We should go through them and see if they have inner JARs under a different license and properly classify those too. --emi ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On 26 May 2018 11:44 PM, Matthias Bläsing <[email protected]> wrote: > Am Mittwoch, den 23.05.2018, 05:05 -0400 schrieb Emilian Bold: > > > Hello, > > > > I don't know this area that well so I figured I mention this idea and > > > > people that recently worked on that perhaps implement it faster than > > > > me. > > > > For example on https://issues.apache.org/jira/browse/NETBEANS-842 we > > > > have stax2-api.jar which has a BSD license in META-INF/LICENSE > > > > Inside websvc.jaxws21/external we only have jaxws-2.2.6-license.txt > > > > which is CDDL-1.1 > > In this case, we have the situation, that the zip contains different > > binaries with different licenses. For this case Jan enhanced the > > mechanism, that creates the top level LICENSE and NOTICE file, so that > > embedded files can be referenced. > > The PR that introduced the support might be a good basis: > > https://github.com/apache/incubator-netbeans/pull/401/files > > maven-embedder is the module that shows it in all its glory (see the > > multiple -license.txt and -notice.txt files for the single artifact). > > The important part is, that the "Files" header can now not only address > > the top-level artifact, but also the embedded files. > > So if if you have a file "artifact.zip", that holds a file > > "lib/sample.jar". You can add specific information with the header: > > Files: artifact.zip!lib/sample.jar > > The syntax might be familar from jar-URLs. > > HTH > > Matthias > > > ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > For further information about the NetBeans mailing lists, visit: > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
