diff --git a/Assembly.xml b/Assembly.xml new file mode 100644 index 0000000000000000000000000000000000000000..1350ee8e453ecb2c130a0d0a98cab59331e2f832 --- /dev/null +++ b/Assembly.xml @@ -0,0 +1,45 @@ +<assembly> + <id>bin</id> + <!-- Specifies that our binary distribution is a zip package --> + <formats> + <format>zip</format> + </formats> + + <!-- Adds the dependencies of our application to the lib directory --> + <dependencySets> + <dependencySet> + <!-- + Project artifact is not copied under library directory since + it is added to the root directory of the zip package. + --> + <useProjectArtifact>false</useProjectArtifact> + <outputDirectory>lib</outputDirectory> + <unpack>false</unpack> + </dependencySet> + </dependencySets> + + <fileSets> + <!-- + Adds startup scripts to the root directory of zip package. The startup + scripts are copied from the src/main/scripts directory. + --> + <fileSet> + <directory>${project.build.scriptSourceDirectory}</directory> + <outputDirectory></outputDirectory> + <includes> + <include>startup.*</include> + </includes> + </fileSet> + <!-- + Adds the jar file of our example application to the root directory + of the created zip package. + --> + <fileSet> + <directory>${project.build.directory}</directory> + <outputDirectory></outputDirectory> + <includes> + <include>*.jar</include> + </includes> + </fileSet> + </fileSets> +</assembly>