Re: Maven RPM plugin changes all file permissions to 644

2009-11-13 Thread Gajo Csaba
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 from the console. But changing the RPM Plugin's pom.xml to the 
newer version makes the JUnit tests fail. I'll try and see if it creates 
the rpm correctly though...




-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Maven RPM plugin changes all file permissions to 644

2009-11-13 Thread Gajo Csaba
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 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 from the console. But changing the RPM Plugin's 
pom.xml to the newer version makes the JUnit tests fail. I'll try and 
see if it creates the rpm correctly though...




-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org