Si

Simple(R) GitHub Action for Publishing to MavenCentral

Hacker News

Simple(R) GitHub Action for Publishing to MavenCentral

I dislike trusting my signing keys and MavenCentral tokens to logic used for normal builds. I use Gradle, but Maven suffers from the same problem; there is altogether too much code alive during a build that I cannot trust or review myself. So I have written my own action that publishes already-built artifacts. This means signing and publishing secrets are subject to a much smaller set of executing code. Actually, review-able amounts of code (IMO). The Action is implemented in Java, using no external dependencies (well, except for the JDK and gpg). You can find it at https://github.com/jskov/action-maven-publish I have just updated the Action to use the new Publish Portal (v1) API. This meant I had to write a small, simple (and partial) JSON parser to keep avoiding external dependencies. This was fun. But probably also the first thing to break, if the API returns something I did not expect. Should you want to take a look, I have tried to make it easy to review: https://github.com/jskov/action-maven-publish/blob/main/READ... If you spot anything dumb, please comment! I would (perversely) love, if it turns out I have made something worse than what I am trying to avoid :) Using the Action is pretty simple. The readme contains links to two of my other repositories that use it for publishing. Thanks!

Share card

Actual performance

1points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: new, using, code · Missing: mac, agents, macos
85%85% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
58%58% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsMay not resonate with HN audience · Strong signals: io · Missing: https docs, excited, just released
47%47% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
41%41% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
29%29% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
18%18% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

As
Asciidoctor GitHub Action32%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Asciidoctor GitHub Action

Hacker News2
Gi
GitHub Action to find Log4j vulnerabilities38%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

GitHub Action to find Log4j vulnerabilities

Hacker News2
Op
OpenHands' GitHub Action44%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

OpenHands' GitHub Action

Hacker News2
A
A stupidly simple publishing platform41%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A stupidly simple publishing platform

Hacker News5
Vi
Video Puppet GitHub Action28%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Video Puppet GitHub Action

Hacker News11
So
Solarversia – Publishing Experiment36%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Solarversia – Publishing Experiment

Hacker News11
Wr
Writing and Publishing Made Simple41%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Writing and Publishing Made Simple

Hacker News2
Gi
GitHub Action to minify container image by up to 30x30%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

GitHub Action to minify container image by up to 30x

Hacker News1
Si
Simple-GitHub-Buttons46%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Simple-GitHub-Buttons

Hacker News3
Si
Simple-GitHub-Buttons46%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Simple-GitHub-Buttons

Hacker News3