Uploaded image for project: 'Community Support - Maven Central'
  1. Community Support - Maven Central
  2. MVNCENTRAL-1050

can I configure pom.xml to allow local installation without GPG?

    XMLWordPrintable

    Details

    • Type: Problem
    • Status: Done
    • Priority: Major
    • Component/s: None
    • Labels:

      Description

      I have a project set up using your Maven examples. The configuration works, and allows both local installation and deployment to the central repository. Unfortunately, as configured, it requires the user to install GPG and provide their password each time they do "mvn install", which is a nuisance. I can work around this problem by instructing the users to disable the Maven GPG Plugin, but then the configuration does not allow direct deployment, since it is creating unsigned artifacts.

      Is it possible to set things up so that local installation does not attempt to sign the artifacts, but deployment does?

      My pom file is here: https://github.com/jdbc-json/jdbc-cb/blob/master/pom.xml

      Instructions for disabling the Maven GPG Plugin are here: http://www.michaelpollmeier.com/maven-skip-pgp-sign-process

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            johanlarson Johan Larson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                tigCommentSecurity.panel-title