You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@polaris.apache.org by "ajantha-bhat (via GitHub)" <gi...@apache.org> on 2026/09/15 13:31:42 UTC

[PR] Catalog Migrator: Fix bundled LICENSE and NOTICE metadata [polaris-tools]

ajantha-bhat opened a new pull request, #272:
URL: https://github.com/apache/polaris-tools/pull/272

   ## Summary
   
   - exclude unused `META-INF/taglib.tld` and Groovy UI icons from the shaded CLI JAR
   - correct Protobuf and Jetty license declarations, include licenses for Jackson Core shaded components, and remove the stale Commons BeanUtils entry
   - include relevant upstream NOTICE attributions for bundled Jackson Core, Jetty, Commons Math, Ivy, Ant, Derby, and Tomcat content
   - follow the existing `This artifact bundles ... with the following in its NOTICE:` format
   
   ## Verification
   
   - `./iceberg-catalog-migrator/gradlew -p iceberg-catalog-migrator :iceberg-catalog-migrator-cli:shadowJar --no-parallel`
   - verified the JAR embedded `META-INF/LICENSE` and `META-INF/NOTICE` match the bundle files byte-for-byte
   - verified `META-INF/taglib.tld` and `groovy/ui/icons/**` are absent from the shaded JAR
   - verified each added attribution against the exact resolved dependency version and corresponding files/classes in the shaded JAR
   - `git diff --check`


-- 
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: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Catalog Migrator: Fix bundled LICENSE and NOTICE metadata [polaris-tools]

Posted by "dimas-b (via GitHub)" <gi...@apache.org>.
dimas-b commented on code in PR #272:
URL: https://github.com/apache/polaris-tools/pull/272#discussion_r4020498864


##########
iceberg-catalog-migrator/cli/BUNDLE-LICENSE:
##########
@@ -1121,7 +1215,7 @@ License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.
 This artifact bundles Eclipse Jetty.
 
 Project URL: https://eclipse.org/jetty
-License: Eclipse Public License - Version 1.0 - https://www.eclipse.org/org/documents/epl-v10.php
+License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt

Review Comment:
   Why ALv2? Jetty's GH repo shows Eclipse License 🤔 , which refers to ALv2 only for source distributions... as far as I can tell 🤔 
   
   @jbonofre : WDYT?
   
   https://github.com/jetty/jetty.project



-- 
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: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Catalog Migrator: Fix bundled LICENSE and NOTICE metadata [polaris-tools]

Posted by "ajantha-bhat (via GitHub)" <gi...@apache.org>.
ajantha-bhat merged PR #272:
URL: https://github.com/apache/polaris-tools/pull/272


-- 
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: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Catalog Migrator: Fix bundled LICENSE and NOTICE metadata [polaris-tools]

Posted by "ajantha-bhat (via GitHub)" <gi...@apache.org>.
ajantha-bhat commented on code in PR #272:
URL: https://github.com/apache/polaris-tools/pull/272#discussion_r4016318610


##########
iceberg-catalog-migrator/cli/BUNDLE-LICENSE:
##########
@@ -1032,6 +1051,81 @@ This artifact bundles Jackson JSON Parser.
 Project URL: http://jackson.codehaus.org
 License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt
 
+Jackson Core also contains the following shaded components.

Review Comment:
   added for transitive dependencies. 



-- 
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: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Catalog Migrator: Fix bundled LICENSE and NOTICE metadata [polaris-tools]

Posted by "ajantha-bhat (via GitHub)" <gi...@apache.org>.
ajantha-bhat commented on code in PR #272:
URL: https://github.com/apache/polaris-tools/pull/272#discussion_r4016312414


##########
iceberg-catalog-migrator/cli/BUNDLE-LICENSE:
##########
@@ -339,7 +339,33 @@ License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.
 This artifact bundles Protobuf Java.
 
 Project URL: http://code.google.com/p/protobuf
-License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt
+License: BSD 3-Clause

Review Comment:
   I also ran codex on these files and found some more issues that can be cleaned up. 
   
   It was not apache license. 



-- 
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: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Catalog Migrator: Fix bundled LICENSE and NOTICE metadata [polaris-tools]

Posted by "dimas-b (via GitHub)" <gi...@apache.org>.
dimas-b commented on code in PR #272:
URL: https://github.com/apache/polaris-tools/pull/272#discussion_r4020498864


##########
iceberg-catalog-migrator/cli/BUNDLE-LICENSE:
##########
@@ -1121,7 +1215,7 @@ License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.
 This artifact bundles Eclipse Jetty.
 
 Project URL: https://eclipse.org/jetty
-License: Eclipse Public License - Version 1.0 - https://www.eclipse.org/org/documents/epl-v10.php
+License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt

Review Comment:
   Why ALv2? Jetty's GH repo shows Eclipse License v 2.0 🤔 , which refers to ALv2 only for source distributions... as far as I can tell 🤔 
   
   @jbonofre : WDYT?
   
   https://github.com/jetty/jetty.project



-- 
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: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Catalog Migrator: Fix bundled LICENSE and NOTICE metadata [polaris-tools]

Posted by "ajantha-bhat (via GitHub)" <gi...@apache.org>.
ajantha-bhat commented on PR #272:
URL: https://github.com/apache/polaris-tools/pull/272#issuecomment-5681373632

   @dimas-b: Please take a look. I have addressed your RC1 comment and also fixed some more issues found with new run of codex on notice and licenses.  


-- 
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: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Catalog Migrator: Fix bundled LICENSE and NOTICE metadata [polaris-tools]

Posted by "dimas-b (via GitHub)" <gi...@apache.org>.
dimas-b commented on code in PR #272:
URL: https://github.com/apache/polaris-tools/pull/272#discussion_r4031037116


##########
iceberg-catalog-migrator/cli/BUNDLE-LICENSE:
##########
@@ -1121,7 +1215,7 @@ License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.
 This artifact bundles Eclipse Jetty.
 
 Project URL: https://eclipse.org/jetty
-License: Eclipse Public License - Version 1.0 - https://www.eclipse.org/org/documents/epl-v10.php
+License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt

Review Comment:
   Ah - looks good. I might have missed the header in https://github.com/jetty/jetty.project/blob/jetty-9.4.57.v20241219/LICENSE



-- 
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: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Catalog Migrator: Fix bundled LICENSE and NOTICE metadata [polaris-tools]

Posted by "ajantha-bhat (via GitHub)" <gi...@apache.org>.
ajantha-bhat commented on code in PR #272:
URL: https://github.com/apache/polaris-tools/pull/272#discussion_r4016315152


##########
iceberg-catalog-migrator/cli/BUNDLE-LICENSE:
##########
@@ -436,13 +462,6 @@ License: CDDL 1.1 - http://glassfish.java.net/public/CDDL+GPL_1_1.html
 
 --------------------------------------------------------------------------------
 
-This artifact bundles Apache Commons Beanutils.

Review Comment:
   we don't ship this.



-- 
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: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Catalog Migrator: Fix bundled LICENSE and NOTICE metadata [polaris-tools]

Posted by "dimas-b (via GitHub)" <gi...@apache.org>.
dimas-b commented on code in PR #272:
URL: https://github.com/apache/polaris-tools/pull/272#discussion_r4018212166


##########
iceberg-catalog-migrator/cli/build.gradle.kts:
##########
@@ -192,6 +192,11 @@ val shadowJar =
       // distributing unrelated JavaScript, stylesheets, and image assets.
       "webapps/**",
 
+      // UI resources pulled in transitively by Hive that are not used by this CLI.
+      // Excluding them also avoids distributing their separate CDDL and CC-BY content.
+      "META-INF/taglib.tld",
+      "groovy/ui/icons/**",
+

Review Comment:
   thx 👍 



-- 
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: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Catalog Migrator: Fix bundled LICENSE and NOTICE metadata [polaris-tools]

Posted by "ajantha-bhat (via GitHub)" <gi...@apache.org>.
ajantha-bhat commented on code in PR #272:
URL: https://github.com/apache/polaris-tools/pull/272#discussion_r4016304052


##########
iceberg-catalog-migrator/cli/build.gradle.kts:
##########
@@ -192,6 +192,11 @@ val shadowJar =
       // distributing unrelated JavaScript, stylesheets, and image assets.
       "webapps/**",
 
+      // UI resources pulled in transitively by Hive that are not used by this CLI.
+      // Excluding them also avoids distributing their separate CDDL and CC-BY content.
+      "META-INF/taglib.tld",
+      "groovy/ui/icons/**",
+

Review Comment:
   @dimas-b : This should fix your RC1 comment. Thanks for the finding. 



-- 
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: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Catalog Migrator: Fix bundled LICENSE and NOTICE metadata [polaris-tools]

Posted by "ajantha-bhat (via GitHub)" <gi...@apache.org>.
ajantha-bhat commented on code in PR #272:
URL: https://github.com/apache/polaris-tools/pull/272#discussion_r4016363812


##########
iceberg-catalog-migrator/cli/BUNDLE-NOTICE:
##########
@@ -66,6 +66,27 @@ This artifact bundles Jackson JSON Parser with the following in its NOTICE:
 | A list of contributors may be found from CREDITS(-2.x) file, which is included
 | in some artifacts (usually source distributions); but is always available
 | from the source code management (SCM) system project uses.
+|
+| ## FastDoubleParser

Review Comment:
   Also some more missing notices. 



-- 
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: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Catalog Migrator: Fix bundled LICENSE and NOTICE metadata [polaris-tools]

Posted by "ajantha-bhat (via GitHub)" <gi...@apache.org>.
ajantha-bhat commented on code in PR #272:
URL: https://github.com/apache/polaris-tools/pull/272#discussion_r4021801841


##########
iceberg-catalog-migrator/cli/BUNDLE-LICENSE:
##########
@@ -1121,7 +1215,7 @@ License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.
 This artifact bundles Eclipse Jetty.
 
 Project URL: https://eclipse.org/jetty
-License: Eclipse Public License - Version 1.0 - https://www.eclipse.org/org/documents/epl-v10.php
+License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt

Review Comment:
   its dual license (Apache and EPL 2). So, we can choose the relavent one when it comes to dual licenses. 
   
   https://jetty.org/ says 
   > Eclipse Jetty provides a highly scalable and memory-efficient web server and servlet container, supporting many protocols such as HTTP/3,2,1 and WebSocket. Furthermore, the project offers integrations with many other technologies, such as OSGi, JMX, JNDI, JAAS, etc. These components are open source and are freely available for commercial use and distribution under both the EPL2 and Apache2 licenses.
   
   I checked the exact bundled version, 9.4.57.v20241219, rather than Jetty’s current default branch. Both its LICENSE and NOTICE state that the artifacts are available under either EPL-1.0 or Apache-2.0, without a source-only restriction, so selecting Apache-2.0 is valid.
   
   [Jetty 9.4.57 LICENSE](https://github.com/jetty/jetty.project/blob/jetty-9.4.57.v20241219/LICENSE)
   [Jetty 9.4.57 NOTICE](https://github.com/jetty/jetty.project/blob/jetty-9.4.57.v20241219/NOTICE.txt)
   



-- 
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: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org