Add possibility to override fileName and base directory of Keycloak Quarkus distribution ZIP archive (#24284)
Closes #24283 Signed-off-by: Peter Skopek <pskopek@redhat.com>
This commit is contained in:
parent
d7143c59e3
commit
e5eded0eab
5 changed files with 17 additions and 3 deletions
|
@ -234,7 +234,6 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
<artifactId>build-helper-maven-plugin</artifactId>
|
<artifactId>build-helper-maven-plugin</artifactId>
|
||||||
<version>3.2.0</version>
|
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<phase>generate-sources</phase>
|
<phase>generate-sources</phase>
|
||||||
|
|
14
pom.xml
14
pom.xml
|
@ -50,6 +50,14 @@
|
||||||
|
|
||||||
<project.build-time>${timestamp}</project.build-time>
|
<project.build-time>${timestamp}</project.build-time>
|
||||||
|
|
||||||
|
<!-- Following properties are used for downstream build to alter final distribution archive file name and internal base directory of the archive. -->
|
||||||
|
<dist.archive.file.prefix>keycloak</dist.archive.file.prefix>
|
||||||
|
<dist.archive.dir.prefix>${dist.archive.file.prefix}</dist.archive.dir.prefix>
|
||||||
|
<dist.archive.file.version>${project.version}</dist.archive.file.version>
|
||||||
|
<dist.archive.dir.version>${project.version}</dist.archive.dir.version>
|
||||||
|
<dist.archive.file>${dist.archive.file.prefix}-${dist.archive.file.version}</dist.archive.file>
|
||||||
|
<dist.archive.dir>${dist.archive.dir.prefix}-${dist.archive.dir.version}</dist.archive.dir>
|
||||||
|
|
||||||
<!-- core version for app-server-wildfly/eap tests, should match wildfly/eap server -->
|
<!-- core version for app-server-wildfly/eap tests, should match wildfly/eap server -->
|
||||||
<tests.wildfly.core.version>19.0.1.Final</tests.wildfly.core.version>
|
<tests.wildfly.core.version>19.0.1.Final</tests.wildfly.core.version>
|
||||||
|
|
||||||
|
@ -190,6 +198,7 @@
|
||||||
<shade.plugin.version>3.4.1</shade.plugin.version>
|
<shade.plugin.version>3.4.1</shade.plugin.version>
|
||||||
<smallrye.openapi.generator.plugin.version>3.6.2</smallrye.openapi.generator.plugin.version>
|
<smallrye.openapi.generator.plugin.version>3.6.2</smallrye.openapi.generator.plugin.version>
|
||||||
<openapi.generator.plugin.version>6.3.0</openapi.generator.plugin.version>
|
<openapi.generator.plugin.version>6.3.0</openapi.generator.plugin.version>
|
||||||
|
<build-helper-maven-plugin.version>3.2.0</build-helper-maven-plugin.version>
|
||||||
|
|
||||||
<!-- Surefire Settings -->
|
<!-- Surefire Settings -->
|
||||||
<surefire.memory.Xms>512m</surefire.memory.Xms>
|
<surefire.memory.Xms>512m</surefire.memory.Xms>
|
||||||
|
@ -1931,6 +1940,11 @@
|
||||||
<artifactId>asciidoctor-maven-plugin</artifactId>
|
<artifactId>asciidoctor-maven-plugin</artifactId>
|
||||||
<version>${asciidoctor.plugin.version}</version>
|
<version>${asciidoctor.plugin.version}</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>build-helper-maven-plugin</artifactId>
|
||||||
|
<version>${build-helper-maven-plugin.version}</version>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</pluginManagement>
|
</pluginManagement>
|
||||||
</build>
|
</build>
|
||||||
|
|
1
quarkus/dist/assembly.xml
vendored
1
quarkus/dist/assembly.xml
vendored
|
@ -24,6 +24,7 @@
|
||||||
</formats>
|
</formats>
|
||||||
|
|
||||||
<includeBaseDirectory>true</includeBaseDirectory>
|
<includeBaseDirectory>true</includeBaseDirectory>
|
||||||
|
<baseDirectory>${dist.archive.dir}</baseDirectory>
|
||||||
|
|
||||||
<fileSets>
|
<fileSets>
|
||||||
<fileSet>
|
<fileSet>
|
||||||
|
|
2
quarkus/dist/pom.xml
vendored
2
quarkus/dist/pom.xml
vendored
|
@ -60,7 +60,7 @@
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<finalName>keycloak-${project.version}</finalName>
|
<finalName>${dist.archive.file}</finalName>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
<artifactId>integration-arquillian-servers-auth-server-quarkus</artifactId>
|
<artifactId>integration-arquillian-servers-auth-server-quarkus</artifactId>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<auth.server.home>${project.build.directory}/unpacked/keycloak-${project.version}</auth.server.home>
|
<auth.server.home>${project.build.directory}/unpacked/${dist.archive.dir}</auth.server.home>
|
||||||
<common.resources>${basedir}/../common</common.resources>
|
<common.resources>${basedir}/../common</common.resources>
|
||||||
<session.cache.owners>2</session.cache.owners>
|
<session.cache.owners>2</session.cache.owners>
|
||||||
<offline.session.cache.owners>2</offline.session.cache.owners>
|
<offline.session.cache.owners>2</offline.session.cache.owners>
|
||||||
|
|
Loading…
Reference in a new issue