bramp / ffmpeg-cli-wrapper

Java wrapper around the FFmpeg command line tool
BSD 2-Clause "Simplified" License
1.73k stars 413 forks source link

Compilation failure - "Could not determine gpg version" #329

Closed jegsav closed 5 months ago

jegsav commented 6 months ago

I downloaded ffmpeg-cli-wrapper-master.zip from github, unpacked it and imported the contents into Netbeans 13 using the "Java with Maven" option and "Project with existing POM".

When I "Clean and Build", I get the following error:

Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:3.2.0:sign (sign-artifacts) on project ffmpeg: Could not determine gpg version -> [Help 1]

Of course I have tried to find a reason and solution to this on the internet, but couldn't find one. I am a complete novice with Maven, so help with this would be appreciated.

Thanks.

ankit0038 commented 5 months ago

I have resolved this issue, basically I had to set gpg on my system and generate keys, passphrase. and when building the project pass that phrase as argument -Dgpg.passphrase=.

jegsav commented 5 months ago

Good to have found a solution, ankit0038, but I had got what I needed a long time ago. This second brush with Maven has confirmed my first experience that it's not for me - far too steep a learning curve and can't really see any benefit for what I do. But thanks anyway.