Skip to content

Allow Polaris to be built against a locally built Quarkus snapshot#4009

Open
snazy wants to merge 1 commit intoapache:mainfrom
snazy:QUARKUS-from-maven-local
Open

Allow Polaris to be built against a locally built Quarkus snapshot#4009
snazy wants to merge 1 commit intoapache:mainfrom
snazy:QUARKUS-from-maven-local

Conversation

@snazy
Copy link
Member

@snazy snazy commented Mar 17, 2026

This change allows Polaris to use Quarkus artifacts from the local Maven repository, think: ~/.m2/repository, for the build.

The implementation is completely transparent to the "non Quarkus snapshot" build, as all necessary tweaks are applied via a Gradle init script that needs to be manually configured during the Gradle invocation. In other words: no harm to the "normal" build.

As we collaborate with the Quarkus project, it is a win-win to have some support to build Polaris against a custom Quarkus build. This allows both "Polaris people" and "Quarkus people" to test changes and fixes before a release and/or to investigate issues.

On top, there's another Gradle init script to build Polaris against a Quarkus pre-release, for example, 4.0.0.CR1. Those releases to not publish a platform bom, so some special handling is needed.

It seemed convenient to move the existing special handling for Apache Snapshots to a separate init script as well, removing some clutter from the main settings.gradle.kts file.

This change allows Polaris to use Quarkus artifacts from the local Maven repository, think: `~/.m2/repository`, for the build.

The implementation is completely transparent to the "non Quarkus snapshot" build, as all necessary tweaks are applied via a Gradle init script that needs to be manually configured during the Gradle invocation. In other words: no harm to the "normal" build.

As we collaborate with the Quarkus project, it is a win-win to have some support to build Polaris against a custom Quarkus build. This allows both "Polaris people" and "Quarkus people" to test changes and fixes before a release and/or to investigate issues.

On top, there's another Gradle init script to build Polaris against a Quarkus pre-release, for example, 4.0.0.CR1. Those releases to not publish a platform bom, so some special handling is needed.

It seemed convenient to move the existing special handling for Apache Snapshots to a separate init script as well, removing some clutter from the main settings.gradle.kts file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant