KEYCLOAK-5700 Add option to build jarless Wildfly distro
Use via the following maven command: mvn clean install -Pdistribution -Dkeycloak.provisioning.xml=server-provisioning-devel.xml
This commit is contained in:
parent
3103e0fd0a
commit
d01be82b35
5 changed files with 31 additions and 3 deletions
|
@ -31,6 +31,10 @@
|
||||||
<artifactId>keycloak-distribution-parent</artifactId>
|
<artifactId>keycloak-distribution-parent</artifactId>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<keycloak.provisioning.xml>server-provisioning.xml</keycloak.provisioning.xml>
|
||||||
|
</properties>
|
||||||
|
|
||||||
<modules>
|
<modules>
|
||||||
<module>adapters</module>
|
<module>adapters</module>
|
||||||
<module>saml-adapters</module>
|
<module>saml-adapters</module>
|
||||||
|
|
|
@ -68,7 +68,7 @@
|
||||||
</goals>
|
</goals>
|
||||||
<phase>compile</phase>
|
<phase>compile</phase>
|
||||||
<configuration>
|
<configuration>
|
||||||
<config-file>../server-provisioning.xml</config-file>
|
<config-file>../${keycloak.provisioning.xml}</config-file>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
|
|
|
@ -82,7 +82,7 @@
|
||||||
</goals>
|
</goals>
|
||||||
<phase>compile</phase>
|
<phase>compile</phase>
|
||||||
<configuration>
|
<configuration>
|
||||||
<config-file>../server-provisioning.xml</config-file>
|
<config-file>../${keycloak.provisioning.xml}</config-file>
|
||||||
<overlay>true</overlay>
|
<overlay>true</overlay>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
|
|
24
distribution/server-provisioning-devel.xml
Normal file
24
distribution/server-provisioning-devel.xml
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
<!--
|
||||||
|
~ Copyright 2016 Red Hat, Inc. and/or its affiliates
|
||||||
|
~ and other contributors as indicated by the @author tags.
|
||||||
|
~
|
||||||
|
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
~ you may not use this file except in compliance with the License.
|
||||||
|
~ You may obtain a copy of the License at
|
||||||
|
~
|
||||||
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
~
|
||||||
|
~ Unless required by applicable law or agreed to in writing, software
|
||||||
|
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
~ See the License for the specific language governing permissions and
|
||||||
|
~ limitations under the License.
|
||||||
|
-->
|
||||||
|
<server-provisioning xmlns="urn:wildfly:server-provisioning:1.2" extract-schemas="true">
|
||||||
|
<copy-artifacts>
|
||||||
|
<copy-artifact artifact="org.keycloak:keycloak-client-cli-dist:zip" to-location="" from-location="keycloak-client-tools"/>
|
||||||
|
</copy-artifacts>
|
||||||
|
<feature-packs>
|
||||||
|
<feature-pack groupId="org.keycloak" artifactId="keycloak-server-feature-pack" version="${project.version}"/>
|
||||||
|
</feature-packs>
|
||||||
|
</server-provisioning>
|
Loading…
Reference in a new issue