Introduced maven assembly plugin to produce the distribution package
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
<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>bundle-tar</id>
|
||||
<formats>
|
||||
<format>tar.gz</format>
|
||||
<!--<format>dir</format>-->
|
||||
</formats>
|
||||
<includeBaseDirectory>false</includeBaseDirectory> <!-- disable the creation of root's distribution dir in the archive -->
|
||||
|
||||
<files>
|
||||
<!-- executables scripts-->
|
||||
<file>
|
||||
<source>src/main/scripts/moquette.sh</source>
|
||||
<outputDirectory>bin</outputDirectory>
|
||||
<fileMode>0755</fileMode>
|
||||
</file>
|
||||
|
||||
<file>
|
||||
<source>src/main/resources/README.txt</source>
|
||||
</file>
|
||||
</files>
|
||||
|
||||
|
||||
<dependencySets>
|
||||
<dependencySet>
|
||||
<outputDirectory>lib/</outputDirectory>
|
||||
<useProjectArtifact>true</useProjectArtifact> <!-- avoid inclusion of the artifact itself -->
|
||||
</dependencySet>
|
||||
</dependencySets>
|
||||
</assembly>
|
||||
Reference in New Issue
Block a user