| 1 |
<assembly> |
| 2 |
<id>binary-assembly</id> |
| 3 |
<formats> |
| 4 |
<format>tar.gz</format> |
| 5 |
<format>zip</format> |
| 6 |
</formats> |
| 7 |
<fileSets> |
| 8 |
<fileSet> |
| 9 |
<directory>${assembly-directory}</directory> |
| 10 |
<outputDirectory></outputDirectory> |
| 11 |
<includes> |
| 12 |
<include>**</include> |
| 13 |
</includes> |
| 14 |
<excludes> |
| 15 |
<exclude>**/META-INF/**</exclude> |
| 16 |
<exclude>*-config.jar</exclude> |
| 17 |
<!-- we'll build up shell scripts with execute in separate file-set --> |
| 18 |
<exclude>bin/*.sh</exclude> |
| 19 |
</excludes> |
| 20 |
<!-- The archive is generated with the uid / gid of the user that |
| 21 |
built the jetty release. which is highly unlikely to |
| 22 |
exist on the target machines that unpack this tarball. |
| 23 |
We set the user / group / other to have read-only access |
| 24 |
to files, and read-execute access to directories |
| 25 |
in the unpacked contents. --> |
| 26 |
<fileMode>0444</fileMode> |
| 27 |
<directoryMode>0755</directoryMode> |
| 28 |
</fileSet> |
| 29 |
<fileSet> |
| 30 |
<directory>${assembly-directory}</directory> |
| 31 |
<outputDirectory></outputDirectory> |
| 32 |
<includes> |
| 33 |
<include>bin/*.sh</include> |
| 34 |
</includes> |
| 35 |
<!-- Set read-execute for shell scripts --> |
| 36 |
<fileMode>0555</fileMode> |
| 37 |
</fileSet> |
| 38 |
<fileSet> |
| 39 |
<directory>${project.build.directory}</directory> |
| 40 |
<outputDirectory></outputDirectory> |
| 41 |
<includes> |
| 42 |
<include>*cyclonedx.*</include> |
| 43 |
</includes> |
| 44 |
</fileSet> |
| 45 |
</fileSets> |
| 46 |
</assembly> |