All Downloads are FREE. Search and download functionalities are using the official Maven repository.

assemblies.distribution.xml Maven / Gradle / Ivy

<!--

    Copyright 2010 Proofpoint, Inc.

    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 xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
    <id>distribution</id>
    <formats>
        <format>tar.gz</format>
    </formats>

    <fileSets>
        <fileSet>
            <directory>${project.build.directory}/plugin</directory>
            <outputDirectory>/plugin</outputDirectory>
        </fileSet>
        <fileSet>
            <outputDirectory>/</outputDirectory>
            <includes>
                <include>NOTICE</include>
                <include>README.txt</include>
            </includes>
        </fileSet>
    </fileSets>

    <dependencySets>
        <dependencySet>
            <scope>runtime</scope>
            <useProjectArtifact>true</useProjectArtifact>
            <outputDirectory>/lib</outputDirectory>
            <outputFileNameMapping>${artifact.artifactId}-${artifact.baseVersion}${dashClassifier?}.${artifact.extension}</outputFileNameMapping>
            <useTransitiveFiltering>true</useTransitiveFiltering>
            <includes>
                <include>*:jar:*</include>
            </includes>
            <excludes>
                <exclude>*:zip:*</exclude>
                <exclude>*:tar.gz:*</exclude>
            </excludes>
        </dependencySet>

        <dependencySet>
            <unpack>true</unpack>
            <outputDirectory>/</outputDirectory>
            <useStrictFiltering>true</useStrictFiltering>
            <includes>
                <include>pl.wendigo.airlift:launcher:tar.gz:bin:*</include>
            </includes>
        </dependencySet>

        <dependencySet>
            <unpack>true</unpack>
            <outputFileNameMapping>/</outputFileNameMapping>
            <useStrictFiltering>true</useStrictFiltering>
            <unpackOptions>
                <filtered>true</filtered>
            </unpackOptions>
            <includes>
                <include>pl.wendigo.airlift:launcher:tar.gz:properties:*</include>
            </includes>
        </dependencySet>
    </dependencySets>
</assembly>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy