-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge quarkus/[service|server]
modules in polaris-server
#1030
Comments
No, those cannot (and should not) be merged. |
/cc @adutra |
To be clear, the intent here is to "merge" the beans but still have a default module with just |
This is not what the title says: "merge admin-tool + server (+ service)". Those are two different executables |
quarkus/[service|admin|server]
modules in polaris-server
quarkus/[service|server]
modules in polaris-server
Ah yes, the idea is to merge |
Yes, we can (and probably should) merge I already have the change ready btw, but it's waiting on #987. Also, the change will introduce a tricky issue related to docker images and integration tests. It's manageable, but It would maybe be easier if we waited for quarkusio/quarkus#46232. |
@adutra thanks for your update. I agree. The intent of this GitHub Issue is just to track it. I hope you don't mind: I assigned the issue to you as you already have the change ready. |
What will the unified How can downstream projects reuse service classes without pulling too much extra stuff? |
It would be the fat jar (and the docker images). You raise a very good point. Let me think about this more. It might not be a good idea after all. |
I'd favor a zip/tgz distribution over a fat jar (aka don't tackle #797, #785 has a demo for this.) Quarkus "fast jar" builds faster and leaves the individual dependency jars (although instrumented). IIRC "Quarkus uber-jar" is no longer really recommended. A zip/tgz also allows us to include our own files (LICENSE/NOTICE or some README or whatever) in a "prominent place" next to some |
I agree with @snazy : I also prefer distributions (not far jar). |
I'm sorry, stupid typo 😆 : I meant FAST jar, not fat jar. So to summarize: the
|
Sorry about the confusion, but my concern is about what will be published in Maven, because that is what downstream projects will use in their respective builds (I assume). Would it be possible to pull a Maven dependency with Polaris service classes but without any other jars added by Quarkus during its build (downstream builds will have different sets of dependencies in the server). |
That's indeed the question. I bet it will be the FAST jar, but we need to check. I also think that the distributions would be attached as build artifacts, but with different classifiers (this also needs checking). |
Maven artifacts published to Maven Central MUST have a pom, a jar, a sources jar and a javadoc jar. Other artifacts (e.g. a zip or a tgz) can be published as well - that works fine. |
Publishing the "fast" jar LGTM 👍 |
All quarkus modules can be merged together in a single module. This module should be
polaris-server
directly (no need to keep Quarkus there).The text was updated successfully, but these errors were encountered: