Uploaded image for project: 'Maven GPG Plugin'
  1. Maven GPG Plugin
  2. MGPG-78

gpg version parsing failure on Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0 (cancelled)
    • 3.0.1
    • None

    Description

      found during 3.0.0 release vote: https://lists.apache.org/thread.html/rcab83b862f15ca276aab3fc61cd4192e1a67a35a2a6ce7ad4c7994b1%40%3Cdev.maven.apache.org%3E

      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)

      The version on the command line:

      $ 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] 

      Attachments

        Issue Links

          Activity

            People

              tibordigana Tibor Digana
              hboutemy Herve Boutemy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m