I don't mind helping out, but would not be able to look into this issue for
a few days.
If you would like to try to work on it and submit a patch, you can comment
out the "maven-gpg-plugin" in the POM file to get past the GPG password
thing.
GPG signing was required for releasing into the public maven repository, but
I should have made it an optional execution under a special profile name so
that it would not block other trying to compile with maven or at least
limited execution to the DEPLOY phase. I don't know off the top of my head
why this would be failing for OSX. I have run this plugin on my Mac before
for certain projects, but maybe not under the same conditions of extracting
a file.
Thanks, Robert
Conrad
Thanks, Robert
I have made some progress with getting a zip of an OS X app to work, however I am running into an issue that I don't know how to approach and wonder if you have any clues.
Basically an OS X app is a directory wrapper around an executable. I can use the mojo to download a zip containing the app and get it unpacked (only small changes required), however during the unpacking process the executable flag on the executable is lost, which means that the app will not run.
Take a look at
>>> http://download.macromedia.com/pub/flashplayer/updaters/
>>> 10/flashplayer_10_sa_debug.app.zip
unzip it and explore the .app directory you end up with. In Contents/MacOS/ you will find 'Flash Player Debugger' which must be executable.
I believe the problem lies with
org.codehaus.plexus.archiver.zip.AbstractZipUnArchiver
and in particular with
if ( !isIgnorePermissions() && mode != null )
{
ArchiveEntryUtils.chmod( f, mode.intValue(), getLogger(), isUseJvmChmod() );
}
Where mode is passed in as null (I think).
Essentially the unarchiver has to honour the execute permissions of the files it is anarchiving, and currently it is not - do you have any idea how to make that happen?
Conrad