Maven Release Plugin
  1. Maven Release Plugin
  2. MRELEASE-742

Regression in 2.2.2 related to maven-gpg-plugin

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Not A Problem
    • Affects Version/s: 2.2.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      OS X 10.6, Maven 3.0.3, maven-gpg-plugin 1.4

      Description

      After updating to Release Plugin 2.2.2 gpg plugin fails with error:

      "Cannot obtain passphrase in batch mode"

      Which is thrown (see http://maven.apache.org/plugins/maven-gpg-plugin/xref/org/apache/maven/plugin/gpg/AbstractGpgMojo.html) when the passphrase has not been set and the use agent parameter is
      false. The passphrase is set in my settings.xml and the useAgent has the default false value.

      Downgrading to 2.2.1 fixes the problem and the built artifacts are correctly signed.

      An example POM project can be found at:

      http://code.google.com/p/derquinse-commons/source/browse/trunk/derquinse-pom/pom.xml

        Activity

        Mark Thomas made changes -
        Workflow jira [ 12962364 ] Default workflow, editable Closed status [ 13000334 ]
        Mark Thomas made changes -
        Project Import Mon Apr 06 00:52:26 UTC 2015 [ 1428281546237 ]
        Mark Thomas made changes -
        Workflow jira [ 12724555 ] Default workflow, editable Closed status [ 12763894 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 12:15:05 UTC 2015 [ 1428236105845 ]
        Robert Scholte made changes -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Not A Bug [ 6 ]
        Assignee Robert Scholte [ rfscholte ]
        Andres Rodriguez created issue -

          People

          • Assignee:
            Robert Scholte
            Reporter:
            Andres Rodriguez
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development