assembly.bin.xml Maven / Gradle / Ivy
<assembly xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/ASSEMBLY/2.0.0" xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd"> <id>bin</id> <formats> <format>tar.gz</format> <format>zip</format> </formats> <includeBaseDirectory>false</includeBaseDirectory> <fileSets> <fileSet> <directory>src/main/resources/dist</directory> <outputDirectory>${file.separator}</outputDirectory> <lineEnding>unix</lineEnding> <includes> <include>liquibase</include> <include>liquibase-sdk</include> </includes> <fileMode>0755</fileMode> </fileSet> <fileSet> <directory>src/main/resources/dist</directory> <!-- <outputDirectory>${file.separator}</outputDirectory> is there because maven-assembly-plugin would complain on Windows otherwise: "OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference (starting with slash) /" --> <outputDirectory>${file.separator}</outputDirectory> <lineEnding>dos</lineEnding> <includes> <include>*.bat</include> </includes> </fileSet> <fileSet> <directory>src/main/resources/dist</directory> <outputDirectory>${file.separator}</outputDirectory> <lineEnding>unix</lineEnding> <excludes> <exclude>liquibase</exclude> <exclude>liquibase-sdk</exclude> <exclude>*.bat</exclude> </excludes> </fileSet> <fileSet> <directory>${project.build.directory}/site/apidocs</directory> <outputDirectory>sdk/javadoc</outputDirectory> <includes> <include>**/*</include> </includes> </fileSet> </fileSets> <files> <file> <source>${project.build.directory}/${project.build.finalName}.jar</source> <outputDirectory>${file.separator}</outputDirectory> <destName>liquibase.jar</destName> <fileMode>0644</fileMode> </file> <!--<file>--> <!--<source>src/main/resources/liquibase</source>--> <!--<outputDirectory>/</outputDirectory>--> <!--<fileMode>0777</fileMode>--> <!--</file>--> </files> <dependencySets> <dependencySet> <outputDirectory>lib</outputDirectory> <includes> <include>ch.qos.logback:logback-classic</include> <include>ch.qos.logback:logback-core</include> <include>org.slf4j:slf4j-api</include> <include>org.yaml:snakeyaml</include> </includes> </dependencySet> <dependencySet> <outputDirectory>sdk/lib-sdk</outputDirectory> <excludes> <exclude>ru.i-novus.components:liquibase-core</exclude> <exclude>org.yaml:snakeyaml</exclude> </excludes> </dependencySet> </dependencySets> </assembly>