<assembly>
    <id>${project.version}</id>
    <formats>
        <format>tar.gz</format>
    </formats>
    <includeBaseDirectory>true</includeBaseDirectory>
    <fileSets>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-doc/bin</directory>
            <outputDirectory>./</outputDirectory>
            <lineEnding>unix</lineEnding>
            <fileMode>0755</fileMode>
            <includes>
                <include>auto.sh</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-admin/target/classes</directory>
            <outputDirectory>config</outputDirectory>
            <includes>
                <include>*.properties</include>
                <include>*.yml</include>
                <include>*.yaml</include>
                <include>*.xml</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-admin/target/dlink-admin-${project.version}/lib</directory>
            <outputDirectory>lib</outputDirectory>
            <includes>
                <include>*.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-doc/sql</directory>
            <outputDirectory>sql</outputDirectory>
            <includes>
                <include>*.sql</include>
            </includes>
        </fileSet>
        <!--<fileSet>
            <directory>${project.parent.basedir}/dlink-admin/target
            </directory>
            <outputDirectory>./</outputDirectory>
            <includes>
                <include>dlink-admin-${project.version}.jar</include>
            </includes>
        </fileSet>-->
        <fileSet>
            <directory>${project.parent.basedir}/dlink-client/dlink-client-1.14/target</directory>
            <outputDirectory>lib</outputDirectory>
            <includes>
                <include>dlink-client-1.14-${project.version}.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-client/dlink-client-1.11/target</directory>
            <outputDirectory>extends</outputDirectory>
            <includes>
                <include>dlink-client-1.11-${project.version}.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-client/dlink-client-1.12/target</directory>
            <outputDirectory>extends</outputDirectory>
            <includes>
                <include>dlink-client-1.12-${project.version}.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-client/dlink-client-1.13/target</directory>
            <outputDirectory>extends</outputDirectory>
            <includes>
                <include>dlink-client-1.13-${project.version}.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-client/dlink-client-1.14/target</directory>
            <outputDirectory>extends</outputDirectory>
            <includes>
                <include>dlink-client-1.14-${project.version}.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-client/dlink-client-1.15/target</directory>
            <outputDirectory>extends</outputDirectory>
            <includes>
                <include>dlink-client-1.15-${project.version}.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-connectors/dlink-connector-jdbc-1.14/target</directory>
            <outputDirectory>lib</outputDirectory>
            <includes>
                <include>dlink-connector-jdbc-1.14-${project.version}.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-connectors/dlink-connector-doris-1.13/target</directory>
            <outputDirectory>extends</outputDirectory>
            <includes>
                <include>dlink-connector-doris-1.13-${project.version}.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-connectors/dlink-connector-jdbc-1.11/target</directory>
            <outputDirectory>extends</outputDirectory>
            <includes>
                <include>dlink-connector-jdbc-1.11-${project.version}.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-connectors/dlink-connector-jdbc-1.12/target</directory>
            <outputDirectory>extends</outputDirectory>
            <includes>
                <include>dlink-connector-jdbc-1.12-${project.version}.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-connectors/dlink-connector-jdbc-1.13/target</directory>
            <outputDirectory>extends</outputDirectory>
            <includes>
                <include>dlink-connector-jdbc-1.13-${project.version}.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-connectors/dlink-connector-jdbc-1.14/target</directory>
            <outputDirectory>extends</outputDirectory>
            <includes>
                <include>dlink-connector-jdbc-1.14-${project.version}.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-connectors/dlink-connector-phoenix-1.13/target</directory>
            <outputDirectory>extends</outputDirectory>
            <includes>
                <include>dlink-connector-phoenix-1.13-${project.version}.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-connectors/dlink-connector-phoenix-1.14/target</directory>
            <outputDirectory>extends</outputDirectory>
            <includes>
                <include>dlink-connector-phoenix-1.14-${project.version}.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-function/target
            </directory>
            <outputDirectory>lib</outputDirectory>
            <includes>
                <include>dlink-function-${project.version}.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-metadata/dlink-metadata-clickhouse/target
            </directory>
            <outputDirectory>lib</outputDirectory>
            <includes>
                <include>dlink-metadata-clickhouse-${project.version}.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-metadata/dlink-metadata-doris/target
            </directory>
            <outputDirectory>lib</outputDirectory>
            <includes>
                <include>dlink-metadata-doris-${project.version}.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-metadata/dlink-metadata-hive/target
            </directory>
            <outputDirectory>lib</outputDirectory>
            <includes>
                <include>dlink-metadata-hive-${project.version}.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-metadata/dlink-metadata-mysql/target
            </directory>
            <outputDirectory>lib</outputDirectory>
            <includes>
                <include>dlink-metadata-mysql-${project.version}.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-metadata/dlink-metadata-oracle/target
            </directory>
            <outputDirectory>lib</outputDirectory>
            <includes>
                <include>dlink-metadata-oracle-${project.version}.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-metadata/dlink-metadata-phoenix/target
            </directory>
            <outputDirectory>lib</outputDirectory>
            <includes>
                <include>dlink-metadata-phoenix-${project.version}.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-metadata/dlink-metadata-postgresql/target
            </directory>
            <outputDirectory>lib</outputDirectory>
            <includes>
                <include>dlink-metadata-postgresql-${project.version}.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-metadata/dlink-metadata-sqlserver/target
            </directory>
            <outputDirectory>lib</outputDirectory>
            <includes>
                <include>dlink-metadata-sqlserver-${project.version}.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-metadata/dlink-metadata-starrocks/target
            </directory>
            <outputDirectory>lib</outputDirectory>
            <includes>
                <include>dlink-metadata-starrocks-${project.version}.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-alert/dlink-alert-dingtalk/target
            </directory>
            <outputDirectory>lib</outputDirectory>
            <includes>
                <include>dlink-alert-dingtalk-${project.version}.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-alert/dlink-alert-email/target
            </directory>
            <outputDirectory>lib</outputDirectory>
            <includes>
                <include>dlink-alert-email-${project.version}.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-alert/dlink-alert-feishu/target
            </directory>
            <outputDirectory>lib</outputDirectory>
            <includes>
                <include>dlink-alert-feishu-${project.version}.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-alert/dlink-alert-wechat/target
            </directory>
            <outputDirectory>lib</outputDirectory>
            <includes>
                <include>dlink-alert-wechat-${project.version}.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-app/dlink-app-1.11/target</directory>
            <outputDirectory>jar</outputDirectory>
            <includes>
                <include>dlink-app-1.11-${project.version}-jar-with-dependencies.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-app/dlink-app-1.12/target</directory>
            <outputDirectory>jar</outputDirectory>
            <includes>
                <include>dlink-app-1.12-${project.version}-jar-with-dependencies.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-app/dlink-app-1.13/target</directory>
            <outputDirectory>jar</outputDirectory>
            <includes>
                <include>dlink-app-1.13-${project.version}-jar-with-dependencies.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-app/dlink-app-1.14/target</directory>
            <outputDirectory>jar</outputDirectory>
            <includes>
                <include>dlink-app-1.14-${project.version}-jar-with-dependencies.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-app/dlink-app-1.15/target</directory>
            <outputDirectory>jar</outputDirectory>
            <includes>
                <include>dlink-app-1.15-${project.version}-jar-with-dependencies.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-catalog/dlink-catalog-mysql/dlink-catalog-mysql-1.14/target
            </directory>
            <outputDirectory>lib</outputDirectory>
            <includes>
                <include>dlink-catalog-mysql-1.14-${project.version}.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-catalog/dlink-catalog-mysql/dlink-catalog-mysql-1.13/target
            </directory>
            <outputDirectory>extends</outputDirectory>
            <includes>
                <include>dlink-catalog-mysql-1.13-${project.version}.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-catalog/dlink-catalog-mysql/dlink-catalog-mysql-1.14/target
            </directory>
            <outputDirectory>extends</outputDirectory>
            <includes>
                <include>dlink-catalog-mysql-1.14-${project.version}.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-catalog/dlink-catalog-mysql/dlink-catalog-mysql-1.15/target
            </directory>
            <outputDirectory>extends</outputDirectory>
            <includes>
                <include>dlink-catalog-mysql-1.15-${project.version}.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-client/dlink-client-base/target</directory>
            <outputDirectory>jar</outputDirectory>
            <includes>
                <include>dlink-client-base-${project.version}.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-common/target</directory>
            <outputDirectory>jar</outputDirectory>
            <includes>
                <include>dlink-common-${project.version}.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-doc/extends</directory>
            <outputDirectory>jar</outputDirectory>
            <includes>
                <include>Dockerfile</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.parent.basedir}/dlink-web/dist</directory>
            <outputDirectory>html</outputDirectory>
            <includes>
                <include>*</include>
                <include>*/*</include>
            </includes>
        </fileSet>
    </fileSets>
</assembly>