Hello,
I'm using the Maven RPM plugin for creating rpms. It's working fine, but
it overwrites the permissions of all files to 664. So for example, an
executable file becomes non-executable. I've added these tags to the
configuration:
defaultFilemode-/defaultFilemode
OK as far as I can see, the problem is that the RPM Plugin uses Plexus
Archiver version 1.0-alpha-5, which copes files by opening and output
stream and writing to it, and no chmod is done. This is fixed in version
1.0-alpha-12, where the Plexus Archiver explicitly executes the chmod
command
I ran the RPM Plugin with the patched version of the archiver, and it
works. However, the tests fail, so I had to run it with the
-Dmaven.test.skip=true parameter.
Gajo Csaba wrote:
OK as far as I can see, the problem is that the RPM Plugin uses Plexus
Archiver version 1.0-alpha-5, which