default copy-directory
----------------------
Key: MUNIX-19
URL: http://jira.codehaus.org/browse/MUNIX-19
Project: Maven 2.x Unix Plugin
Issue Type: Improvement
Reporter: Erik Drolshammer
Priority: Minor
Fix For: 1.0-alpha-4
We want convention over configuration and thus want to introduce defaults with
regards what folder names are used.
I suggests that we by default copy all contents in src/main/unix/files and set
default attributes on all folders, except a bin catalogue which get execute
bits as well. Someting like:
<defaults>
<fileAttributes>
<user>${rpm.username}</user>
<group>${rpm.groupname}</group>
<mode>0664</mode>
</fileAttributes>
<directoryAttributes>
<user>${rpm.username}</user>
<group>${rpm.groupname}</group>
<mode>0775</mode>
</directoryAttributes>
</defaults>
<assembly>
<copy-directory>
<from>src/main/unix/files</from>
<to>${rpm.path}/</to>
</copy-directory>
<set-attributes>
<basedir>${rpm.path}/bin</basedir>
<fileAttributes>
<user>${rpm.username}</user>
<group>${rpm.groupname}</group>
<mode>6750</mode>
</fileAttributes>
</set-attributes>
<set-attributes>
<basedir>${rpm.path}/logs</basedir>
<fileAttributes>
<group>${rpm.log.groupname}</group>
</fileAttributes>
</set-attributes>
</assembly>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email