Skip to content

Add module name to the package manifest attributes#986

Open
thatcomputerguy0101 wants to merge 2 commits into
msgpack:mainfrom
thatcomputerguy0101:maven-packaging
Open

Add module name to the package manifest attributes#986
thatcomputerguy0101 wants to merge 2 commits into
msgpack:mainfrom
thatcomputerguy0101:maven-packaging

Conversation

@thatcomputerguy0101
Copy link
Copy Markdown

I tried pulling msgpack-core in through Maven, and I noticed that the module name was being parsed from the jar file name as msgpack.core instead of org.msgpack.core. This change adds the module name defined in the sbt config to the package manifest attributes so that Maven autodetects the correct name.

@thatcomputerguy0101
Copy link
Copy Markdown
Author

thatcomputerguy0101 commented May 27, 2026

(PS: I'm not very familiar with sbt, so there may be a better way to do this.)

@thatcomputerguy0101
Copy link
Copy Markdown
Author

thatcomputerguy0101 commented May 27, 2026

Actually, I failed to test my final revision of this properly, so this doesn't work right now. I think it is fixed now.

@thatcomputerguy0101 thatcomputerguy0101 marked this pull request as draft May 27, 2026 02:52
`-` is not a vaild character for module names
@thatcomputerguy0101 thatcomputerguy0101 marked this pull request as ready for review May 27, 2026 03:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant