r/java • • Jan 07 '26

Weekly or monthly thread discussing cool projects people are working on

I always love to see what insane stuff others are cooking for fun as an inspiration for my own ideas. I am surprised to see this sub not having one already like golang, csharp, rust etc I request moderators to start this thread either weekly or monthly

50 Upvotes

47 comments sorted by

View all comments

Show parent comment

1

u/maxandersen Jan 08 '26

cool - fyi, seems not all deps are there or somehting wrong in dependency of that pom:

jbang cloud.kitelang:kite-cli:0.3.4

[jbang] Resolving dependencies...

[jbang] cloud.kitelang:kite-cli:0.3.4

[jbang] [ERROR] Could not resolve dependencies: The following artifacts could not be resolved: cloud.kitelang:engine:jar:0.0.1 (absent): Could not find artifact cloud.kitelang:engine:jar:0.0.1 in central (https://repo1.maven.org/maven2/)

[jbang] Run with --verbose for more details. The --verbose must be placed before the jbang command. I.e. jbang --verbose run [...]

..

but this works:

jbang cloud.kitelang:kite-cli:0.3.4:fat@fatjar

:)

1

u/unknowinm Jan 08 '26

aah wow! already works with jbang? thought I had to do some more work! very cool.

makes sense as the engine is not publicly available as it does all the heavy lifting of the project and thought would be better to keep it private for now. But it should be included in the fatjar no?

I had no issues installing it but that's maybe because I already had kite-cli installed. I also don't like the ":fat" any idea if that can be changed? same for "@fatjar" ?

❯ jbang cloud.kitelang:kite-cli:0.3.4:fat@fatjar
[jbang] Resolving dependencies...
[jbang] Dependencies resolved

1

u/maxandersen Jan 08 '26

You can make a jbang-catalog repo and I can submit json file In there which hides those maven concepts/terms + add the needed flags for jvm

1

u/unknowinm Jan 09 '26

Good evening!

I opened this PR: https://github.com/jbangdev/jbang-catalog/pull/78

I'm waiting of it's approval anytime soon.

Weirdly I also get the dependencies unresolved issue now... I'll look into that

1

u/maxandersen Jan 09 '26

Thanks. The idea is though you put that in your own repo Ie. Kitelang/jbang-catalog. Then it becomes jbang kite@kitelang.

1

u/unknowinm Jan 09 '26 edited Jan 09 '26

hm... I have that in https://github.com/kitecorp/jbang-catalog is it enough?

I did some more updates and I think it works as expected:

❯ jbang kite@kitecorp --version
kite 0.3.5

2

u/maxandersen Jan 09 '26

Excellent! :)

1

u/unknowinm Jan 09 '26

thank you! multumesc!

1

u/unknowinm Jan 09 '26

also, I understand now lol.. sorry for the confusion...I was thinking about something else. You now have the public repo, please take a look at it if you have 10 minutes as I have no idea how to set it up