antlr4 lacks automatic module name, which is inconsistent to antlr4-runtime
- Dominant language
- Java
- Stars
- 19k
- Forks
- 3.5k
- PR merge metrics
- No merged PRs in 30d
Description
The newest antlr4 jar file distributed on maven central, i.e. https://repo1.maven.org/maven2/org/antlr/antlr4/4.13.1/antlr4-4.13.1.jar, lacks an automatic module name in its manifest file. That is inconsistent to the behavior of antlr4-runtime, which does explicitly declare the line
```
Automatic-Module-Name: org.antlr.antlr4.runtime
```
in its `MANIFEST.MF` file.
I believe that artifacts of a common roof project should ideally obey a common module name structure. Therefore I recommend that a similar line, i.e.
```
Automatic-Module-Name: org.antlr.antlr4
```
should be declared in the `MANIFEST.MF` file of (future) distribution jar files of the https://repo1.maven.org/maven2/org/antlr/antlr4 maven artifact.
I am aware of #2946, which is related, but rather old and does not address specifically and explicitly the inconsistence pointed out here. I also acknowledge that this is a low priority issue and just a small consistency concern. Please feel free to track it simply as a reminder to adjust this bit for the next release.
Contributor guide
Research direction
Start by inspecting the packaging configuration that produces the org/antlr/antlr4 Maven artifact and compare its generated MANIFEST.MF with antlr4-runtime. Verify the resulting distribution JAR contains the requested Automatic-Module-Name entry, then confirm the artifact metadata remains consistent for a future release.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system, release
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100