Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-984

Script to push things to maven for 1.7

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Resolution: Unresolved
    • 1.7
    • None
    • Web Site
    • None
    • Operating System: All
      Platform: PC

    Description

      #!/bin/sh
      mvn org.apache.maven.plugins:maven-gpg-plugin:1.1:sign-and-deploy-file \
      -Dfile=$1/1.7/$1-1.7.jar \
      -DrepositoryId=apache.releases.https \
      -Durl=https://repository.apache.org/service/local/staging/deploy/maven2 \
      -DgroupId=org.apache.xmlgraphics \
      -DartifactId=$1 \
      -Dversion=1.7 \
      -DpomFile=$1/1.7/$1-1.7.pom \
      -Dpassphrase=XXXXXXXX \
      -Psigned_release \
      -Dkeyname=98B1CC53

      It depends on a few things from .m2/settings.xml:

      <profile>
      <id>signed_release</id>
      <properties>
      <gpg.passphrase>My passphrase</gpg.passphrase>
      <gpg.keyname>bimargulies@apache.org</gpg.keyname>
      </properties>
      </profile>

      <server>
      <id>apache.releases.https</id>
      <username>bimargulies</username>
      <password>APACHE LDAP PASSWORD</password>
      </server>

      Attachments

        Activity

          People

            batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
            bimargulies@gmail.com Benson Margulies
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: