You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add hello-world and todo-mvc Quarkus examples #3549
We should add similar hello-world/todo-mvc examples for the Quarkus web framework, which according to the IntelliJ dev survey is relatively popular (between Spring-Boot and Micronaut https://www.jetbrains.com/lp/devecosystem-2023/java/)
quarkus, in its maven and gradle plugins, does some code generation which seems to be necessary to create the main method to run applications. I'm going to create a contrib module to mimic what we need from the Maven plugin.
Another missing thing which would be nice to have, is support for pom artifacts to centralize the version management for a framework.
In quarkus you add:
And then you can add dependencies without setting the version, which will be automatically derived from the pom in quarkus-bom. I think this could be a nice addition to mill (maybe we could have dependencies like ivy"groupid:artifactid" without version, and derive the version from the pom artifacts.
But I'm not going to work on this in the scope of quarkus.
changed the title [-]Add hello-world and todo-mvc Quarkus examples (500USD bounty)[/-][+]Add hello-world and todo-mvc Quarkus examples (1000USD bounty)[/+]on Dec 11, 2024
changed the title [-]Add hello-world and todo-mvc Quarkus examples (1000USD bounty)[/-][+]Add hello-world and todo-mvc Quarkus examples[/+]on Dec 28, 2025
The main challenge for Quarkus is its integration points for generating the application models . Quarkus seems to only offer out of the box support for gradle and maven (they publish the plugins themselves) and we can see in the model serializer class things like
It's always the same pattern, frameworks come with some selected tool integrations, while they should just provide some standalone tooling that can be easily integrated in tools afterwards, either as CLI app or as a plugin. I'm so sick of seeing it again and again.
It's always the same pattern, frameworks come with some selected tool integrations, while they should just provide some standalone tooling that can be easily integrated in tools afterwards, either as CLI app or as a plugin. I'm so sick of seeing it again and again.
yeah, I thought on my first glance that it was an annotation processor somewhere we could reuse, or at least a utility program like spring boot or micronaut, I haven't found one though and following the gradle / maven plugins I ended up in this (I'm sure there will be more things that are blind spots down the line, because these plugins look massive, but hopefully we can give a basic web server / native support + testing to start with)
I think with the latest PR everything is in order. Once it's merged @souvlakias let's give it a go for the todo-mvc example , with the difference (compared to others) of having the quarkus native tests as well
Activity
lolgab commentedon Sep 16, 2024
I'm giving a shot to this.
lolgab commentedon Sep 17, 2024
quarkus, in its maven and gradle plugins, does some code generation which seems to be necessary to create the
mainmethod to run applications. I'm going to create acontribmodule to mimic what we need from the Maven plugin.Another missing thing which would be nice to have, is support for
pomartifacts to centralize the version management for a framework.In quarkus you add:
And then you can add dependencies without setting the version, which will be automatically derived from the pom in
quarkus-bom. I think this could be a nice addition to mill (maybe we could have dependencies likeivy"groupid:artifactid"without version, and derive the version from the pom artifacts.But I'm not going to work on this in the scope of quarkus.
lefou commentedon Sep 17, 2024
The
import-scope Maven dependencies are called BOM - Bill of Material. There are open requests for it in Mill and coursier:I think @alexarchambault will work on it in the next months (#3496).
llvee commentedon Sep 23, 2024
@lolgab Did you complete this? If not maybe I will give this a shot in 24 hours from now.
lolgab commentedon Sep 23, 2024
I haven't completed it yet.
llvee commentedon Sep 23, 2024
@lolgab Would you like some help with it? Have you made a lot of progress?
llvee commentedon Oct 14, 2024
@lolgab Have you made any new progress on this?
lolgab commentedon Oct 14, 2024
No, I haven't. Feel free to work on it 👍
[-]Add hello-world and todo-mvc Quarkus examples (500USD bounty)[/-][+]Add hello-world and todo-mvc Quarkus examples (1000USD bounty)[/+]lihaoyi commentedon Dec 11, 2024
Bumping this up from 500 to 1000USD
himanshumahajan138 commentedon Jan 15, 2025
@lihaoyi Working on this (Have Read Docs and Seems it can be done)
himanshumahajan138 commentedon Feb 5, 2025
@lolgab could u please provide me some documentation or some link which will guide me for this
Actually i got some understanding but not properly able to understand what's going on internally
please give some brief if possible
lolgab commentedon Feb 5, 2025
I haven't investigated a lot, but you need to reimplement for mill the maven plugin for quarkus
himanshumahajan138 commentedon Feb 6, 2025
@lolgab means we have to create proper plugin first of all then use that plugin as dependency in our examples
what u think we can use the already available codes in the link you gave
looks hard than it looks 😶
4 remaining items
Lynndabel commentedon Nov 14, 2025
@lihaoyi can i work on this?
[-]Add hello-world and todo-mvc Quarkus examples (1000USD bounty)[/-][+]Add hello-world and todo-mvc Quarkus examples[/+]lihaoyi commentedon Dec 28, 2025
Removing the bounty since after over a year we haven't managed to merge it
vaslabs commentedon Feb 3, 2026
The main challenge for Quarkus is its integration points for generating the application models . Quarkus seems to only offer out of the box support for gradle and maven (they publish the plugins themselves) and we can see in the model serializer class things like
My main idea, very abstractly is that we need to create a mill worker integration that creates the ApplicationModel and serializes it with
I have not found any other integration points, the CLI itself uses either gradle or maven so it's not something we can reuse.
Then, after we make Quarkus generate the serialized application model files, we can use all the utilities (such as running the integration tests)
lefou commentedon Feb 3, 2026
It's always the same pattern, frameworks come with some selected tool integrations, while they should just provide some standalone tooling that can be easily integrated in tools afterwards, either as CLI app or as a plugin. I'm so sick of seeing it again and again.
vaslabs commentedon Feb 3, 2026
yeah, I thought on my first glance that it was an annotation processor somewhere we could reuse, or at least a utility program like spring boot or micronaut, I haven't found one though and following the gradle / maven plugins I ended up in this (I'm sure there will be more things that are blind spots down the line, because these plugins look massive, but hopefully we can give a basic web server / native support + testing to start with)
vaslabs commentedon Feb 3, 2026
starting the work here
Quarkus test support (#6820)
vaslabs commentedon Feb 18, 2026
I think with the latest PR everything is in order. Once it's merged @souvlakias let's give it a go for the todo-mvc example , with the difference (compared to others) of having the quarkus native tests as well
can use the guide here
Quarkus native tests (#6840)
Quarkus: Add todo example (#6858)
vaslabs commentedon Feb 27, 2026
I think this can be closed now