Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-6651

The provided build command for pull requests in the contribution guide fails

    XMLWordPrintableJSON

Details

    • Documentation
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • website
    • None

    Description

      The guide states to run 

      mvn clean verify -Prelease -fae -T 1C
      

      before submitting a pull request.
      Assuming the user only completed the tasks from BUILDING.md, this will probably always fail, because of the 'sign' goal of the included Apache Maven GPG Plugin.
      I spent quite a few hours now to get this working.
      Other users willing to provide pull requests might not have the patience.

      Is signing the artifacts in this case really required? If not, the command should include

      -Dgpg.skip=true

      Otherwise, BUILDING.md should contain a section about installing GPG and creating a key as well.

      I do not know if this is specific to my system, but I had to create a settings.xml file for maven to contain the passphrase for my GPG key and had to remove the maven options for parallel builds as well.

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            oklimberg Oliver Limberg
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: