<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}.war</source> <outputDirectory>./</outputDirectory> <destName>${project.artifactId}-${project.version}.war</destName> </file> <file> <source>src/main/resources/elasticsearch.yml</source> <outputDirectory>./</outputDirectory> <destName>elasticsearch.yml</destName> </file> <!--file> <source>src/main/resources/elasticsearch.properties</source> <outputDirectory>./</outputDirectory> <destName>elasticsearch.properties</destName> </file--> <file> <source>src/main/resources/jetty-ssl.xml</source> <outputDirectory>./</outputDirectory> <destName>jetty-ssl.xml</destName> </file> <!--<file>--> <!--<source>${project.build.directory}/ecompErrorCodes.csv</source>--> <!--<outputDirectory>config</outputDirectory>--> <!--<destName>ecompErrorCodes.csv</destName>--> <!--</file>--> </files> <fileSets> <fileSet> <directory>src/main/resources/config</directory> <outputDirectory>config</outputDirectory> </fileSet> <fileSet> <directory>src/main/resources/scripts</directory> <outputDirectory>scripts</outputDirectory> </fileSet> <fileSet> <directory>src/main/resources/keystore</directory> <outputDirectory>keystore</outputDirectory> </fileSet> <fileSet> <directory>src/main/resources/import</directory> <outputDirectory>import</outputDirectory> </fileSet> </fileSets> </assembly>