assembly.xml

62 lines | 2.143 kB Blame History Raw Download
<!--
  ~ 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.
  -->

<assembly>
    <id>keycloak-client-cli-dist</id>

    <formats>
        <format>zip</format>
    </formats>

    <includeBaseDirectory>false</includeBaseDirectory>

    <files>
        <file>
            <source>../client-registration-cli/src/main/bin/kcreg.sh</source>
            <outputDirectory>keycloak-client-tools/bin</outputDirectory>
            <fileMode>0755</fileMode>
            <filtered>true</filtered>
        </file>
        <file>
            <source>../client-registration-cli/src/main/bin/kcreg.bat</source>
            <outputDirectory>keycloak-client-tools/bin</outputDirectory>
            <filtered>true</filtered>
        </file>
        <file>
            <source>../admin-cli/src/main/bin/kcadm.sh</source>
            <outputDirectory>keycloak-client-tools/bin</outputDirectory>
            <fileMode>0755</fileMode>
            <filtered>true</filtered>
        </file>
        <file>
            <source>../admin-cli/src/main/bin/kcadm.bat</source>
            <outputDirectory>keycloak-client-tools/bin</outputDirectory>
            <filtered>true</filtered>
        </file>
    </files>
    <dependencySets>
        <dependencySet>
            <includes>
                <include>org.keycloak:keycloak-client-registration-cli</include>
                <include>org.keycloak:keycloak-admin-cli</include>
            </includes>
            <outputDirectory>keycloak-client-tools/bin/client</outputDirectory>
        </dependencySet>
    </dependencySets>

</assembly>