-
Notifications
You must be signed in to change notification settings - Fork 333
Optionally build Polaris Server Quarkus uber-jar #797
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
Conversation
We currently build Polaris Quarkus as a `fast-jar`. In order to eventually publish the Polaris Quarkus server in a binary release to Maven Central, it is beneficial to use an uber-jar. This change allows to do that if the project property `uber-jar` is present, for example `./gradlew publishToMavenLocal -Puber-jar` Note that the Quarkus uber-jars are placed directly in the Gradle project's `build/` directory, not in `build/libs/`
Related, but different. The |
| contents { | ||
| from(project.layout.buildDirectory.dir("quarkus-app")) | ||
| if (quarkusFatJar) { | ||
| from(project.layout.buildDirectory) { include("polaris-quarkus-admin-*-runner.jar") } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why doesn't this go in /libs?
|
There are some pros and cons for each approach. Let's think a bit more about this change - putting it to "draft" for now. |
|
This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |

We currently build Polaris Quarkus as a
fast-jar. In order to eventually publish the Polaris Quarkus server in a binary release to Maven Central, it is beneficial to use an uber-jar.This change allows to do that if the project property
uber-jaris present, for example./gradlew publishToMavenLocal -Puber-jarNote that the Quarkus uber-jars are placed directly in the Gradle project's
build/directory, not inbuild/libs/