Herve Boutemy created MGPG-78: --------------------------------- Summary: gpg version parsing failure on Windows Key: MGPG-78 URL: https://issues.apache.org/jira/browse/MGPG-78 Project: Maven GPG Plugin Issue Type: Improvement Affects Versions: 3.0.0 Reporter: Herve Boutemy
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)