<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd"> <id>bin</id> <formats> <format>tar</format> </formats> <files> <file> <source>${project.build.directory}/${project.artifactId}-${project.version}-jar-with-dependencies.jar</source> <outputDirectory>./</outputDirectory> <destName>${project.artifactId}-${project.version}-jar-with-dependencies.jar</destName> </file> </files> <fileSets> <fileSet> <directory>src/main/resources/scripts</directory> <outputDirectory>scripts</outputDirectory> </fileSet> <fileSet> <directory>src/main/resources/config</directory> <outputDirectory>config</outputDirectory> </fileSet> <fileSet> <directory>tosca</directory> <outputDirectory>tosca</outputDirectory> </fileSet> </fileSets> </assembly>