How to Publish to Maven Central Easily with Mill
mill-build.org·6h·
🔓Open-source
Preview
Report Post

Li Haoyi, 4 Feb 2026

Traditionally setting up a Java, Scala, or Kotlin project to be published to Maven Central - the de-facto standard JVM package repository - has always been a bit involved. You need to install GPG (or PGP???), create your keys (don’t forget to upload them via send-key!), set up multiple build tool plugins, figure out how to set up secrets to publish from your CI pipeline, and so on. This article explores how the Mill build tool makes it easy to publish to Maven Central, so that anyone can easily package and upload their code to share it with the rest of the JVM community.

Create Sonatype Central A…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help