Trygve Laugstøl wrote: > > I'll have to take a closer look, but setting permissions will require > the plugin to do exec's to chmod which I've tried to avoid because I'd > like to do it in all Java for both portability and not least speed. >
All good and well, but was it not you who wrote the following in the plugin's handbook? > The Unix Maven Plugin is meant to fill in the gap between creating > platform independent applications and reality > If you're gonna leave it up to the maintainer scripts in the Debian package to correct the permissions, you're not really benefiting from what dpkg can do for you. Also, when you'd run Lintian for your Debian package, it'll complain a lot. I've actually made piece with having to do this build on a Linux machine. The portability of the output files that is being the future of this plugin is much more important to me. It'll give me the confidence that I can switch from Debian to Red Hat whenever I want. As a matter of fact, while I'm sharing opinions anyway, I think that the Maven assembly plugin is already doing a great job at the things you're still only scratching the surface with. It can already prepare everything with the right permissions etc. It'd have much more liked for the Unix plugin to focus on the packaging, not the assembling. I.e. your plugin is trying to do much more than just what it should be good at: packaging for the target platforms. -- View this message in context: http://www.nabble.com/UNIX-plugin-appears-not-to-set-permissions-for-copyDirectory-tp25355701p25490155.html Sent from the mojo - user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
