<?xml version="1.0" encoding="utf-8"?>
<!--
 ~ Copyright (c) 2005-2024, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
 ~
 ~ WSO2 Inc. licenses this file to you 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>WSO2 Identity Server - Bin</id>
    <formats>
        <format>zip</format>
    </formats>
    <includeBaseDirectory>false</includeBaseDirectory>
    <fileSets>
        <fileSet>
            <directory>target/wso2carbon-core-${carbon.kernel.version}</directory>
            <outputDirectory>wso2is-${pom.version}</outputDirectory>
            <excludes>
                <exclude>**/*.sh</exclude>
                <exclude>**/wso2server.bat</exclude>
                <exclude>**/axis2services/sample01.aar</exclude>
                <exclude>**/axis2services/Echo.aar</exclude>
                <exclude>**/axis2services/Version.aar</exclude>
                <exclude>**/pom.xml</exclude>
                <exclude>**/version.txt</exclude>
                <exclude>**/README*</exclude>
                <exclude>**/carbon.xml</exclude>
                <exclude>**/axis2/*</exclude>
                <exclude>**/LICENSE.txt</exclude>
                <exclude>**/release-notes.html</exclude>
                <exclude>**/claim-config.xml</exclude>
                <exclude>**/attributes/userstore/**.xml</exclude>
                <exclude>**/tomcat/catalina-server.xml</exclude>
                <exclude>**/registry.xml</exclude>
                <exclude>**/email/email-admin-config.xml</exclude>
                <exclude>**/dbscripts/**</exclude>
                <exclude>**/security/authenticators.xml</exclude>
                <exclude>**/java2wsdl.sh</exclude>
                <exclude>**/java2wsdl.bat</exclude>
                <exclude>**/wsdl2java.bat</exclude>
                <exclude>**/wsdl2java.sh</exclude>
                <exclude>**/tcpmon-1.0.jar</exclude>
                <exclude>**/tcpmon.sh</exclude>
                <exclude>**/tcpmon.bat</exclude>
                <exclude>**/datasources/master-datasources.xml</exclude>
                <exclude>**/repository/resources/conf/**</exclude>
                <exclude>**/deployment.toml</exclude>
                <exclude>**/log4j2.properties</exclude>
                <exclude>**/catalina.properties</exclude>
                <exclude>**/carbon.properties</exclude>
                <exclude>**/wso2carbon.p12</exclude>
                <exclude>**/client-truststore.p12</exclude>
            </excludes>
        </fileSet>

        <fileSet>
            <directory>target/wso2carbon-core-${carbon.kernel.version}</directory>
            <outputDirectory>wso2is-${pom.version}</outputDirectory>
            <excludes>
                <exclude>**/wso2server.bat</exclude>
                <exclude>**/wsdl2java.sh</exclude>
                <exclude>**/java2wsdl.sh</exclude>
                <exclude>**/tcpmon.sh</exclude>
            </excludes>
            <includes>
                <include>**/*.sh</include>
            </includes>
            <fileMode>755</fileMode>
        </fileSet>

        <fileSet>
            <directory>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/modules</directory>
            <outputDirectory>${pom.artifactId}-${pom.version}/modules</outputDirectory>
            <includes>
                <include>**/**</include>
            </includes>
        </fileSet>

        <fileSet>
            <directory>target/wso2carbon-core-${carbon.kernel.version}/dbscripts</directory>
            <outputDirectory>${pom.artifactId}-${pom.version}/dbscripts</outputDirectory>
            <excludes>
                <exclude>informix.sql</exclude>
            </excludes>
        </fileSet>

        <fileSet>
            <directory>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/
            </directory>
            <outputDirectory>wso2is-${pom.version}/repository/conf/identity</outputDirectory>
            <includes>
                <include>**/krb5.conf</include>
                <include>**/jaas.conf</include>
            </includes>
        </fileSet>


        <fileSet>
            <directory>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/identity/identity-providers
            </directory>
            <outputDirectory>wso2is-${pom.version}/repository/conf/identity/identity-providers</outputDirectory>
            <includes>
                <include>**/**</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/identity/service-providers
            </directory>
            <outputDirectory>wso2is-${pom.version}/repository/conf/identity/service-providers</outputDirectory>
            <includes>
                <include>**/**</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/resources/conf
            </directory>
            <outputDirectory>wso2is-${pom.version}/repository/resources/conf</outputDirectory>
            <includes>
                <include>**/**</include>
            </includes>
            <excludes>
                <exclude>**/catalina-server.xml.j2</exclude>
                <exclude>*.default.json</exclude>
                <exclude>*.infer.json</exclude>
                <exclude>*.validator.json</exclude>
                <exclude>*.key-mappings.json</exclude>
                <exclude>*.unit-resolve.json</exclude>
            </excludes>
        </fileSet>

        <!--<fileSet>
            <directory>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/identity
            </directory>
            <outputDirectory>wso2is-${pom.version}/repository/conf/identity</outputDirectory>
            <includes>
                <include>**/*.xml</include>
            </includes>
        </fileSet>-->

        <fileSet>
            <directory>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/resources/identity/authntemplates
            </directory>
            <outputDirectory>wso2is-${pom.version}/repository/resources/identity/authntemplates</outputDirectory>
            <includes>
                <include>**/*.json</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/resources/identity/templates
            </directory>
            <outputDirectory>wso2is-${pom.version}/repository/resources/identity/templates</outputDirectory>
            <includes>
                <include>**/*.json</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/resources/identity/extensions
            </directory>
            <outputDirectory>wso2is-${pom.version}/repository/resources/identity/extensions</outputDirectory>
            <includes>
                <include>**/*.json</include>
                <include>**/</include>
            </includes>
        </fileSet>
        <!--copy rule meta data files of rule metadata feature-->
        <fileSet>
            <directory>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/resources/identity/rulemeta
            </directory>
            <outputDirectory>wso2is-${pom.version}/repository/resources/identity/rulemeta</outputDirectory>
            <includes>
                <include>**/*.json</include>
            </includes>
        </fileSet>

        <!--copy event profile files of webhook metadata feature-->
        <fileSet>
            <directory>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/resources/identity/eventprofiles
            </directory>
            <outputDirectory>wso2is-${pom.version}/repository/resources/identity/eventprofiles</outputDirectory>
            <includes>
                <include>**/*.json</include>
            </includes>
        </fileSet>

        <fileSet>
            <directory>src/repository/resources/conf/templates</directory>
            <outputDirectory>wso2is-${pom.version}/repository/resources/conf/templates</outputDirectory>
            <includes>
                <include>**/*.j2</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>src/repository/resources/conf</directory>
            <outputDirectory>wso2is-${pom.version}/repository/conf</outputDirectory>
            <includes>
                <include>**/*.toml</include>
            </includes>
        </fileSet>

        <!--copy jaxrs web app for SCIM feature-->
        <fileSet>
            <directory>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/webapps
            </directory>
            <outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/webapps</outputDirectory>
            <includes>
                <include>wso2.war</include>
            </includes>
        </fileSet>

        <!--copy jaxrs web app for SCIM2 feature-->
        <fileSet>
            <directory>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/webapps
            </directory>
            <outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/webapps</outputDirectory>
            <includes>
                <include>scim2.war</include>
            </includes>
        </fileSet>

        <!--copy jaxrs web app for OAuth feature-->
        <fileSet>
            <directory>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/webapps
            </directory>
            <outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/webapps</outputDirectory>
            <includes>
                <include>oauth2.war</include>
            </includes>
        </fileSet>

        <!--copy jaxrs web app for Mex feature-->
        <fileSet>
            <directory>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/webapps
            </directory>
            <outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/webapps</outputDirectory>
            <includes>
                <include>mexut.war</include>
            </includes>
        </fileSet>

        <!--copy web app for application authentication feature -->
        <fileSet>
            <directory>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/webapps
            </directory>
            <outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/webapps</outputDirectory>
            <includes>
                <include>authenticationendpoint.war</include>
            </includes>
        </fileSet>

        <!--copy web app for application accounts feature -->
        <fileSet>
            <directory>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/webapps
            </directory>
            <outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/webapps</outputDirectory>
            <includes>
                <include>accounts.war</include>
            </includes>
        </fileSet>

        <fileSet>
            <directory>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/webapps
            </directory>
            <outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/webapps</outputDirectory>
            <includes>
                <include>api#health-check#v1.0.war</include>
            </includes>
        </fileSet>

        <!--copy myaccount web app-->
        <fileSet>
            <directory>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/webapps
            </directory>
            <outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/webapps</outputDirectory>
            <includes>
                <include>myaccount/</include>
            </includes>
        </fileSet>

        <!--copy console web app-->
        <fileSet>
            <directory>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/webapps
            </directory>
            <outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/webapps</outputDirectory>
            <includes>
                <include>console/</include>
            </includes>
        </fileSet>

        <!--copy the oauth2 grant type extensions -->
        <fileSet>
            <directory>../oauth2-grant-types/target/oauth2GrantCopied/jar</directory>
            <outputDirectory>${pom.artifactId}-${pom.version}/repository/components/dropins</outputDirectory>
        </fileSet>

        <!--copy the social authenticator jars Facebook,Google,Windows-Live,Yahoo.-->
        <fileSet>
            <directory>../social-authenticators/target/socialauthenticatorCopied/jar</directory>
            <outputDirectory>${pom.artifactId}-${pom.version}/repository/components/dropins</outputDirectory>
        </fileSet>

        <!--Copy the outbound authenticator jars OIDC, Passive-STS.-->
        <fileSet>
            <directory>../authenticators/target/authenticatoroutboundCopied/jar</directory>
            <outputDirectory>${pom.artifactId}-${pom.version}/repository/components/dropins</outputDirectory>
        </fileSet>

        <!--copy provisioning-connector jars Google,Salesforce,SCIM .-->
        <fileSet>
            <directory>../provisioning-connectors/target/provisioningconnectorCopied/jar</directory>
            <outputDirectory>${pom.artifactId}-${pom.version}/repository/components/dropins</outputDirectory>
        </fileSet>

        <!--copy local-authenticator jars BaiscAuth,IWA,FIDO .-->
        <fileSet>
            <directory>../local-authenticators/target/localauthenticatorCopied/jar</directory>
            <outputDirectory>${pom.artifactId}-${pom.version}/repository/components/dropins</outputDirectory>
        </fileSet>

        <!--copy the authentication jars for x509, smsotp, office365 and twitter authenticators-->
        <fileSet>
            <directory>../connectors/target/authenticatorCopied/jar</directory>
            <outputDirectory>${pom.artifactId}-${pom.version}/repository/components/dropins</outputDirectory>
        </fileSet>

        <!--Copy web apps for for x509 certificate authenticators-->
        <fileSet>
            <directory>../connectors/target/authenticatorCopied/war</directory>
            <outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/webapps</outputDirectory>
            <includes>
                <include>x509certificateauthenticationendpoint.war</include>
            </includes>
        </fileSet>

        <!--Copy web app for account recovery endpoint -->
        <fileSet>
            <directory>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/webapps
            </directory>
            <outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/webapps</outputDirectory>
            <includes>
                <include>accountrecoveryendpoint.war</include>
            </includes>
        </fileSet>

        <!--copy shindig war  -->
        <fileSet>
            <directory>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/webapps
            </directory>
            <outputDirectory>wso2is-${pom.version}/repository/deployment/server/webapps
            </outputDirectory>
            <includes>
                <include>shindig.war</include>
            </includes>
        </fileSet>

        <!--Multitenancy related file -->
        <fileSet>
            <directory>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/multitenancy/
            </directory>
            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/multitenancy</outputDirectory>
            <includes>
                <include>**/stratos.xml</include>
                <include>**/multitenancy-packages.xml</include>
                <include>**/usage-throttling-agent-config.xml</include>
                <include>**/cloud-services-desc.xml</include>
            </includes>
        </fileSet>

        <fileSet>
            <directory>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/multitenancy/
            </directory>
            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf</outputDirectory>
            <includes>
                <include>**/tenant-mgt.xml</include>
            </includes>
        </fileSet>

        <fileSet>
            <directory>../styles/service/src/main/resources/web/styles/css</directory>
            <outputDirectory>${pom.artifactId}-${pom.version}/resources/allthemes/Default/admin</outputDirectory>
            <includes>
                <include>**/**.css</include>
            </includes>
        </fileSet>

        <fileSet>
            <directory>../styles/service/src/main/resources/web/styles/images</directory>
            <outputDirectory>${pom.artifactId}-${pom.version}/resources/allthemes/Default/images</outputDirectory>
            <includes>
                <include>**/**.gif</include>
                <include>**/**.png</include>
            </includes>
        </fileSet>


        <!-- copying runtimes -->
        <fileSet>
            <directory>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/lib/runtimes</directory>
            <outputDirectory>${pom.artifactId}-${pom.version}/lib/runtimes/</outputDirectory>
            <excludes>
                <exclude>*/httpclient*</exclude>
                <exclude>*/httpcore*</exclude>
                <exclude>*/commons-logging*</exclude>
            </excludes>
        </fileSet>
        <fileSet>
            <directory>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/lib/runtimes</directory>
            <outputDirectory>${pom.artifactId}-${pom.version}/lib/runtimes/</outputDirectory>
            <includes>
                <include>*/httpcore-nio*</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/lib/</directory>
            <outputDirectory>${pom.artifactId}-${pom.version}/lib/</outputDirectory>
        </fileSet>
        <fileSet>
            <directory>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/lib/</directory>
            <outputDirectory>${pom.artifactId}-${pom.version}/lib/</outputDirectory>
        </fileSet>

        <fileSet>
            <directory>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/data-bridge
            </directory>
            <outputDirectory>wso2is-${pom.version}/repository/conf/data-bridge</outputDirectory>
            <includes>
                <include>**/**</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/eventpublishers
            </directory>
            <outputDirectory>wso2is-${pom.version}/repository/deployment/server/eventpublishers</outputDirectory>
            <includes>
                <include>**/**.xml</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/eventstreams
            </directory>
            <outputDirectory>wso2is-${pom.version}/repository/deployment/server/eventstreams</outputDirectory>
            <includes>
                <include>**/**.json</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/siddhiapps
            </directory>
            <outputDirectory>wso2is-${pom.version}/repository/deployment/server/siddhiapps</outputDirectory>
            <includes>
                <include>**/*.siddhi</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/consent/
            </directory>
            <outputDirectory>wso2is-${pom.version}/dbscripts/consent</outputDirectory>
            <includes>
                <include>**/*.sql</include>
            </includes>
            <fileMode>644</fileMode>
            <directoryMode>775</directoryMode>
        </fileSet>

        <!--Copy scope validator to dropins dropins.-->
        <fileSet>
            <directory>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/resources/components/dropins/
            </directory>
            <outputDirectory>${pom.artifactId}-${pom.version}/repository/components/dropins</outputDirectory>
            <fileMode>644</fileMode>
        </fileSet>

        <!-- copy exploded *.war-->
        <fileSet>
            <directory>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/webapps
            </directory>
            <outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/webapps</outputDirectory>
            <includes>
                <include>api/</include>
                <include>accounts/</include>
                <include>authenticationendpoint/</include>
                <include>mex/</include>
                <include>mexut/</include>
                <include>oauth2/</include>
                <include>scim2/</include>
                <include>wso2/</include>
                <include>api#health-check#v1.0/</include>
                <include>lsp/</include>
                <include>accountrecoveryendpoint/</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>../connectors/target/authenticatorCopied/war</directory>
            <outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/webapps</outputDirectory>
            <includes>
                <include>x509certificateauthenticationendpoint/</include>
            </includes>
        </fileSet>

        <!--Copy integration UI templates.-->
        <fileSet>
            <directory>../integration-ui-templates/target/templates</directory>
            <outputDirectory>${pom.artifactId}-${pom.version}/repository/resources/identity/extensions</outputDirectory>
            <includes>
                <include>**/*</include>
            </includes>
        </fileSet>
    </fileSets>

    <files>
        <file>
            <source>../../README.txt</source>
            <outputDirectory>wso2is-${pom.version}</outputDirectory>
            <filtered>true</filtered>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>../../LICENSE.txt</source>
            <outputDirectory>wso2is-${pom.version}</outputDirectory>
            <filtered>true</filtered>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>../../release-notes.html</source>
            <outputDirectory>wso2is-${pom.version}</outputDirectory>
            <filtered>true</filtered>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>target/wso2carbon-core-${carbon.kernel.version}/bin/README.txt</source>
            <outputDirectory>wso2is-${pom.version}/bin/</outputDirectory>
            <filtered>true</filtered>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>target/wso2carbon-core-${carbon.kernel.version}/bin/version.txt</source>
            <outputDirectory>wso2is-${pom.version}/bin/</outputDirectory>
            <filtered>true</filtered>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>target/wso2carbon-core-${carbon.kernel.version}/repository/conf/carbon.xml</source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/</outputDirectory>
            <filtered>true</filtered>
        </file>
        <file>
            <source>
                target/wso2carbon-core-${carbon.kernel.version}/repository/conf/datasources/master-datasources.xml
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/datasources/</outputDirectory>
            <filtered>true</filtered>
        </file>
        <file>
            <source>src/repository/resources/conf/log4j2.properties</source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/</outputDirectory>
            <destName>log4j2.properties</destName>
            <filtered>true</filtered>
        </file>
        <file>
            <source>src/repository/resources/conf/catalina.properties</source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/tomcat</outputDirectory>
            <destName>catalina.properties</destName>
            <filtered>true</filtered>
        </file>
        <file>
            <source>target/wso2carbon-core-${carbon.kernel.version}/repository/conf/axis2/axis2.xml
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/axis2/</outputDirectory>
            <filtered>true</filtered>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>target/wso2carbon-core-${carbon.kernel.version}/repository/conf/axis2/axis2_client.xml
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/axis2/</outputDirectory>
            <filtered>true</filtered>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>target/wso2carbon-core-${carbon.kernel.version}/repository/conf/axis2/tenant-axis2.xml
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/axis2/</outputDirectory>
            <filtered>true</filtered>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/tomcat/webapp-classloading.xml
            </source>
            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/tomcat</outputDirectory>
            <filtered>true</filtered>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/tomcat/webapp-classloading-environments.xml
            </source>
            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/tomcat</outputDirectory>
            <filtered>true</filtered>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/tomcat/context.xml
            </source>
            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/tomcat</outputDirectory>
            <filtered>true</filtered>
            <fileMode>644</fileMode>
        </file>
        <!--file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/tomcat/catalina-server.xml
            </source>
            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/tomcat</outputDirectory>
            <filtered>true</filtered>
            <fileMode>644</fileMode>
        </file-->
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/security/authenticators.xml
            </source>
            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/security</outputDirectory>
            <filtered>true</filtered>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>target/wso2carbon-core-${carbon.kernel.version}/repository/conf/README</source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/</outputDirectory>
            <filtered>true</filtered>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>target/wso2carbon-core-${carbon.kernel.version}/bin/wso2server.bat</source>
            <outputDirectory>wso2is-${pom.version}/bin/</outputDirectory>
            <filtered>true</filtered>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>conf/card.jpg</source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/</outputDirectory>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/identity/saml1-assertion-config.xml
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/identity</outputDirectory>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/registry.xml
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf</outputDirectory>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/claim-config.xml
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf</outputDirectory>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/attributes/userstore/unique-id-active-directory.xml
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/attributes/userstore</outputDirectory>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/attributes/userstore/unique-id-jdbc.xml
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/attributes/userstore</outputDirectory>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/attributes/userstore/unique-id-read-only-ldap.xml
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/attributes/userstore</outputDirectory>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/attributes/userstore/unique-id-read-write-ldap.xml
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/attributes/userstore</outputDirectory>
        </file>

        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/identity/identity.xml
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/identity</outputDirectory>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/resources/conf/templates/repository/conf/identity/identity.xml.j2
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/resources/conf/templates/repository/conf/identity</outputDirectory>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/identity/captcha-config.properties
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/identity</outputDirectory>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/sms/sms-templates-admin-config.xml
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/sms</outputDirectory>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/sms/sms-providers-api-body-templates.xml
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/sms</outputDirectory>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/security/identity_log_tokens.properties
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/security</outputDirectory>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/email/email-admin-config.xml
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/email</outputDirectory>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/identity/identity-event.properties
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/identity</outputDirectory>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/identity/identity-mgt.properties
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/identity</outputDirectory>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/resources/identity/pages/samlsso_response.html
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/resources/identity/pages</outputDirectory>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/resources/identity/pages/oauth_response.html</source>
            <outputDirectory>wso2is-${pom.version}/repository/resources/identity/pages</outputDirectory>
            <destName>oauth_response.html</destName>
            <filtered>true</filtered>
        </file>
        <file>
            <source>src/repository/resources/pages/samlsso_federate.html</source>
            <outputDirectory>wso2is-${pom.version}/repository/resources/identity/pages</outputDirectory>
            <destName>samlsso_federate.html</destName>
            <filtered>true</filtered>
        </file>
        <file>
            <source>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/resources/identity/pages/invalid_tenant_domain_response.html</source>
            <outputDirectory>wso2is-${pom.version}/repository/resources/identity/pages</outputDirectory>
            <destName>invalid_tenant_domain_response.html</destName>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/resources/identity/pages/sts_response.html
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/resources/identity/pages</outputDirectory>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/bin/ciphertool.bat
            </source>
            <outputDirectory>wso2is-${pom.version}/bin</outputDirectory>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/bin/ciphertool.sh
            </source>
            <outputDirectory>wso2is-${pom.version}/bin</outputDirectory>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/security/cipher-text.properties
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/security</outputDirectory>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/security/cipher-tool.properties
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/security</outputDirectory>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/lib/org.wso2.ciphertool-${cipher-tool.version}.jar
            </source>
            <outputDirectory>wso2is-${pom.version}/lib</outputDirectory>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>src/repository/resources/conf/secret-conf.properties</source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/security</outputDirectory>
            <destName>secret-conf.properties</destName>
            <filtered>true</filtered>
        </file>
        <file>
            <source>src/repository/resources/conf/catalina-server.xml</source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/tomcat</outputDirectory>
            <destName>catalina-server.xml</destName>
            <filtered>true</filtered>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/event-processor.xml
            </source>
            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/
            </outputDirectory>
            <filtered>true</filtered>
        </file>
        <!--copy scim-consumer-config.xml-->
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/identity/provisioning-config.xml
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/identity</outputDirectory>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/identity/scim-schema-extension.config
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf</outputDirectory>
        </file>
        <!--copy scim2-consumer-config.xml-->
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/identity/charon-config.xml
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/identity</outputDirectory>
        </file>

        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/resources/conf/templates/repository/conf/identity/charon-config.xml.j2
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/resources/conf/templates/repository/conf/identity</outputDirectory>
            <fileMode>644</fileMode>
        </file>

        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/identity/scim2-schema-extension.config
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf</outputDirectory>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/identity/thrift-authentication.xml
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/identity</outputDirectory>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/event-broker.xml
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf</outputDirectory>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/identity/msg-mgt.properties
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/identity</outputDirectory>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/identity/application-authentication.xml
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/identity</outputDirectory>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/identity/EndpointConfig.properties
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/identity</outputDirectory>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/identity/RecoveryEndpointConfig.properties
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/identity</outputDirectory>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/identity/sso-idp-config.xml
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/identity</outputDirectory>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/output-event-adapters.xml
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/</outputDirectory>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/identity/oidc-scope-config.xml
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/identity</outputDirectory>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/identity/oauth-scope-bindings.xml
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/identity</outputDirectory>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/consent-mgt-config.xml
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/</outputDirectory>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/security/certificate-validation.xml
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/security</outputDirectory>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/health-check-config.xml
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/</outputDirectory>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/organization-mgt.xml
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf</outputDirectory>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/resources/conf/templates/repository/conf/organization-mgt.xml.j2
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/resources/conf/templates/repository/conf</outputDirectory>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/system-api-resource.xml
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf</outputDirectory>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/resources/conf/templates/repository/conf/system-api-resource.xml.j2
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/resources/conf/templates/repository/conf</outputDirectory>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/identity/resource-access-control-v2.xml
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/identity</outputDirectory>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/resources/conf/templates/repository/conf/identity/resource-access-control-v2.xml.j2
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/resources/conf/templates/repository/conf/identity</outputDirectory>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>src/repository/resources/security/wso2carbon.p12
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/resources/security</outputDirectory>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>src/repository/resources/security/client-truststore.p12
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/resources/security</outputDirectory>
            <fileMode>644</fileMode>
        </file>


        <!--In-Place Updates-->
        <file>
            <source>updates/product.txt</source>
            <outputDirectory>wso2is-${pom.version}/updates/</outputDirectory>
            <filtered>true</filtered>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>src/bin/adaptive.sh</source>
            <outputDirectory>wso2is-${pom.version}/bin/</outputDirectory>
            <filtered>true</filtered>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>src/bin/adaptive.bat</source>
            <outputDirectory>wso2is-${pom.version}/bin/</outputDirectory>
            <filtered>true</filtered>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>src/bin/fips.sh</source>
            <outputDirectory>wso2is-${pom.version}/bin/</outputDirectory>
            <filtered>true</filtered>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>src/bin/fips.bat</source>
            <outputDirectory>wso2is-${pom.version}/bin/</outputDirectory>
            <filtered>true</filtered>
            <fileMode>644</fileMode>
        </file>
        <file>
            <source>src/bin/openssl-tls.sh</source>
            <outputDirectory>wso2is-${pom.version}/bin/</outputDirectory>
            <filtered>true</filtered>
            <fileMode>644</fileMode>
        </file>

        <!-- add carbon.properties with symmetric key cipher -->
        <file>
            <source>src/repository/resources/conf/carbon.properties</source>
            <outputDirectory>wso2is-${pom.version}/repository/conf/</outputDirectory>
            <destName>carbon.properties</destName>
            <filtered>true</filtered>
        </file>
        <file>
            <source>src/repository/resources/identity/apple/attestation/apple_attestation_root_ca.pem</source>
            <outputDirectory>wso2is-${pom.version}/repository/resources/identity/apple/attestation/</outputDirectory>
            <filtered>true</filtered>
            <fileMode>644</fileMode>
        </file>

        <file>
            <source>
                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/resources/conf/templates/repository/conf/identity/agent/AGENT.xml.j2
            </source>
            <outputDirectory>wso2is-${pom.version}/repository/resources/conf/templates/repository/conf/identity/agent</outputDirectory>
            <fileMode>644</fileMode>
        </file>

    </files>

    <dependencySets>
        <dependencySet>
            <outputDirectory>${pom.artifactId}-${pom.version}/lib/</outputDirectory>
            <includes>
                <include>org.slf4j:slf4j-simple</include>
            </includes>
        </dependencySet>
    </dependencySets>
</assembly>
