You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "danepitkin (via GitHub)" <gi...@apache.org> on 2024/07/11 18:23:55 UTC

[I] [Java] Do not publish modules based on filenames [arrow]

danepitkin opened a new issue, #43227:
URL: https://github.com/apache/arrow/issues/43227

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   Arrow Java should not publish modules based on filenames. Flatbuffers/Protobuf can probably be shaded to avoid this. We can potentially remove usage of jsr305 in favor of another library.
   
   ```
   [WARNING] * Required filename-based automodules detected: [flatbuffers-java-24.3.25.jar, jsr305-3.0.2.jar, protobuf-java-3.25.1.jar, protobuf-java-util-3.25.1.jar]. Please don't publish this project to a public artifact repository! *
   ```
   
   ### Component(s)
   
   Java


-- 
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@arrow.apache.org.apache.org

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


Re: [I] [Java] Do not publish modules based on filenames [arrow]

Posted by "danepitkin (via GitHub)" <gi...@apache.org>.
danepitkin commented on issue #43227:
URL: https://github.com/apache/arrow/issues/43227#issuecomment-2229133312

   Thank you for looking into this! I'll push on the flatbuffers PR to see if we can get it landed since that seems to be the only good solution we have.


-- 
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: github-unsubscribe@arrow.apache.org

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


Re: [I] [Java] Do not publish modules based on filenames [arrow]

Posted by "laurentgo (via GitHub)" <gi...@apache.org>.
laurentgo commented on issue #43227:
URL: https://github.com/apache/arrow/issues/43227#issuecomment-2223964295

   Shading is not playing nice with JPMS either.
   
   For flatbuffers, there's a [request](https://github.com/google/flatbuffers/issues/8348) to add an automatic-module name to the library
   For protobuf, it seems like it was [done](https://github.com/protocolbuffers/protobuf/pull/6568) long time ago but the manifest doesn't have the actual entry, so I suspect that the jars have been generated with bazel at some points and are now missing those bits since.
   As for jsr305, maybe it should be replaced with [jspecify](https://jspecify.dev/)


-- 
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: github-unsubscribe@arrow.apache.org

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