[Java] Do not publish modules based on filenames
- Dominant language
- Java
- Stars
- 94
- Forks
- 152
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 11
Description
### 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! *
```
- [x] https://github.com/apache/arrow/issues/43396
- [x] https://github.com/apache/arrow/issues/43437
- [x] https://github.com/google/flatbuffers/issues/8348
### Component(s)
Java
Contributor guide
Research direction
Start by inspecting the Java publishing configuration and how flatbuffers, protobuf, and jsr305 enter published artifacts. Reproduce the filename-based automodule warning with the project's build or publication command. Done means the published modules no longer depend on filename-based automatic modules while retaining the required functionality.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100