zabetak opened a new issue, #701:
URL: https://github.com/apache/incubator-xtable/issues/701

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/incubator-xtable/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### Please describe the bug 🐞
   
   Some jars from those listed contain multiple LICENSE files, which are 
sometimes redundant and also create confusion.
   ```
   xtable-api-0.3.0-incubating.jar
   xtable-aws-0.3.0-incubating-bundled.jar
   xtable-aws-0.3.0-incubating.jar
   xtable-core_2.12-0.3.0-incubating.jar
   xtable-hive-metastore-0.3.0-incubating-bundled.jar
   xtable-hive-metastore-0.3.0-incubating.jar
   xtable-hudi-support-extensions_2.12-0.3.0-incubating-bundled.jar
   xtable-hudi-support-extensions_2.12-0.3.0-incubating.jar
   xtable-hudi-support-utils-0.3.0-incubating.jar 
   ```
   I checked using the following command:
   ```
   for i in `ls *jar`;do  echo $i; jar tf $i | grep LICENSE; done
   ```
   
   One common problem in most jars is that they have the following structure:
   ```
   META-INF/LICENSE
   META-INF/LICENSE-bundled
   META-INF/licenses/
   ```
   The LICENSE-bundled and licenses directory are clearly redundant for 
non-bundled jars and the opposite holds for bundled jars. In all cases there 
should be only one `LICENSE` file directly under META-INF directory.
   
   The most problematic of all is 
`xtable-hive-metastore-0.3.0-incubating-bundled.jar` which contains lots of 
licenses in non-canonical places making it very hard to review. As before there 
should be only one main license file (i.e., META-INF/LICENSE) that lists all 
3rd party code and necessary licenses should be only under (i.e., 
META-INF/licenses/ directory).
   
   ### Are you willing to submit PR?
   
   - [ ] I am willing to submit a PR!
   - [ ] I am willing to submit a PR but need help getting started!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to