[ 
https://issues.apache.org/jira/browse/MGPG-78?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tibor Digana closed MGPG-78.
----------------------------
    Resolution: Fixed

https://gitbox.apache.org/repos/asf?p=maven-gpg-plugin.git;a=commit;h=cd0f6d394d5ca0cc6bca77928809953dbb0e736b

> gpg version parsing failure on Windows
> --------------------------------------
>
>                 Key: MGPG-78
>                 URL: https://issues.apache.org/jira/browse/MGPG-78
>             Project: Maven GPG Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0.0 (cancelled)
>            Reporter: Herve Boutemy
>            Assignee: Tibor Digana
>            Priority: Major
>             Fix For: 3.0.2
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> found during 3.0.0 release vote: 
> https://lists.apache.org/thread.html/rcab83b862f15ca276aab3fc61cd4192e1a67a35a2a6ce7ad4c7994b1%40%3Cdev.maven.apache.org%3E
> {noformat}Caused by: java.lang.IllegalArgumentException: Can't parse version 
> of
> gpg (GnuPG) 2.0.26 (Gpg4win 2.2.3)
>     at org.apache.maven.plugins.gpg.GpgVersion.compareTo(GpgVersion.java:60)
>     at org.apache.maven.plugins.gpg.GpgVersion.isBefore(GpgVersion.java:101)
>     at 
> org.apache.maven.plugins.gpg.GpgSigner.generateSignatureForFile(GpgSigner.java:89)
>     at 
> org.apache.maven.plugins.gpg.AbstractGpgSigner.generateSignatureForArtifact(AbstractGpgSigner.java:203)
>     at 
> org.apache.maven.plugins.gpg.GpgSignAttachedMojo.execute(GpgSignAttachedMojo.java:178)
>     at 
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134){noformat}
> The version on the command line:
> {noformat}$ gpg --version
> gpg (GnuPG) 2.0.26 (Gpg4win 2.2.3)
> libgcrypt 1.6.2
> Copyright (C) 2013 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
>  [show/hide original text] {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to