Hi,
I'm currently working on a migration from ant to maven and want to create a
tar-file with unix-permissions (mode, username and group).
My Ant-code looked like this:
<tar destfile="destfile.tar">
<tarfileset dir="${build.dir}" mode="700" username="user123"
group="group123">
<include name="*.sh"/>
</tarfileset>
</tar>
I managed to get the 700 filepermission with the <fileMode>-tag in maven -
but I coudn't find any tag that allows me to tell maven to set the username
and group for files within my output-tar.
Some Links:
Maven usage for the assembly-plugin:
http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html#class_fileSet<https://freemailng9902.web.de/jump.htm?goto=http%3A%2F%2Fmaven.apache.org%2Fplugins%2Fmaven-assembly-plugin%2Fassembly.html%23class_fileSet>
Ant usage:
http://ant.apache.org/manual/Types/tarfileset.html<https://freemailng9902.web.de/jump.htm?goto=http%3A%2F%2Fant.apache.org%2Fmanual%2FTypes%2Ftarfileset.html>
Maven assembly issue tracking:
http://jira.codehaus.org/browse/MASSEMBLY<https://freemailng9902.web.de/jump.htm?goto=http%3A%2F%2Fjira.codehaus.org%2Fbrowse%2FMASSEMBLY>
Can anyone help me with this? Any workarounds suggested (ant-call is not
really what I want)?
Thanks a lot!
Daniel