From 0f8d5e9ee5182f06fa57c4e06dc6e979e4b90afc Mon Sep 17 00:00:00 2001 From: Peter Skopek Date: Tue, 7 Nov 2023 10:31:53 +0100 Subject: [PATCH] Add possibility to override fileName and base directory of Keycloak Quarkus distribution ZIP archive (#24518) Closes #24283 Signed-off-by: Peter Skopek --- operator/pom.xml | 1 - pom.xml | 14 ++++++++++++++ quarkus/dist/assembly.xml | 1 + quarkus/dist/pom.xml | 2 +- .../servers/auth-server/quarkus/pom.xml | 2 +- 5 files changed, 17 insertions(+), 3 deletions(-) diff --git a/operator/pom.xml b/operator/pom.xml index e79291b3ecd..8a15debee86 100644 --- a/operator/pom.xml +++ b/operator/pom.xml @@ -228,7 +228,6 @@ org.codehaus.mojo build-helper-maven-plugin - 3.2.0 generate-sources diff --git a/pom.xml b/pom.xml index 44705873413..24d5fd6015e 100644 --- a/pom.xml +++ b/pom.xml @@ -50,6 +50,14 @@ ${timestamp} + + keycloak + ${dist.archive.file.prefix} + ${project.version} + ${project.version} + ${dist.archive.file.prefix}-${dist.archive.file.version} + ${dist.archive.dir.prefix}-${dist.archive.dir.version} + 19.0.1.Final @@ -190,6 +198,7 @@ 3.4.1 3.1.2 6.3.0 + 3.2.0 512m @@ -1925,6 +1934,11 @@ asciidoctor-maven-plugin ${asciidoctor.plugin.version} + + org.codehaus.mojo + build-helper-maven-plugin + ${build-helper-maven-plugin.version} + diff --git a/quarkus/dist/assembly.xml b/quarkus/dist/assembly.xml index 85e94d5b788..e2e0f4d8173 100755 --- a/quarkus/dist/assembly.xml +++ b/quarkus/dist/assembly.xml @@ -24,6 +24,7 @@ true + ${dist.archive.dir} diff --git a/quarkus/dist/pom.xml b/quarkus/dist/pom.xml index fba99bf1ab9..6c2964b310a 100755 --- a/quarkus/dist/pom.xml +++ b/quarkus/dist/pom.xml @@ -49,7 +49,7 @@ - keycloak-${project.version} + ${dist.archive.file} org.apache.maven.plugins diff --git a/testsuite/integration-arquillian/servers/auth-server/quarkus/pom.xml b/testsuite/integration-arquillian/servers/auth-server/quarkus/pom.xml index 138d19435b1..7012c3d3e5f 100644 --- a/testsuite/integration-arquillian/servers/auth-server/quarkus/pom.xml +++ b/testsuite/integration-arquillian/servers/auth-server/quarkus/pom.xml @@ -13,7 +13,7 @@ integration-arquillian-servers-auth-server-quarkus - ${project.build.directory}/unpacked/keycloak-${project.version} + ${project.build.directory}/unpacked/${dist.archive.dir} ${basedir}/../common 2 2