diff options
Diffstat (limited to 'src/main/assembly/dist-macosx.xml')
-rw-r--r-- | src/main/assembly/dist-macosx.xml | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/src/main/assembly/dist-macosx.xml b/src/main/assembly/dist-macosx.xml new file mode 100644 index 0000000..65ad78e --- /dev/null +++ b/src/main/assembly/dist-macosx.xml @@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="UTF-8"?> +<assembly> + <id>macosx</id> + <formats> + <format>zip</format> + </formats> + <includeBaseDirectory>true</includeBaseDirectory> + <fileSets> + + <!-- jre basic, except bin/ --> + <fileSet> + <directory>${unpack.dir}/macosx/${jre.dirname.macosx}</directory> + <outputDirectory>lib/jre</outputDirectory> + <excludes> + <exclude>bin/**</exclude> + <exclude>man/**</exclude> + </excludes> + </fileSet> + + <!-- jre bin/java --> + <fileSet> + <directory>${unpack.dir}/macosx/${jre.dirname.macosx}/bin</directory> + <outputDirectory>lib/jre/bin</outputDirectory> + <includes> + <include>java</include> + </includes> + <fileMode>0755</fileMode> + </fileSet> + + <!-- scanner files --> + <fileSet> + <directory>${project.build.directory}</directory> + <outputDirectory>lib</outputDirectory> + <fileMode>0644</fileMode> + <includes> + <include>${scanner.jar}</include> + </includes> + </fileSet> + <fileSet> + <directory>src/main/assembly/conf</directory> + <outputDirectory>conf</outputDirectory> + <fileMode>0644</fileMode> + <lineEnding>unix</lineEnding> + </fileSet> + <fileSet> + <directory>src/main/assembly/bin</directory> + <outputDirectory>bin</outputDirectory> + <fileMode>0755</fileMode> + <lineEnding>unix</lineEnding> + <filtered>true</filtered> + <includes> + <include>sonar-scanner</include> + <include>sonar-scanner-debug</include> + </includes> + </fileSet> + </fileSets> +</assembly> |