You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by bu...@apache.org on 2011/03/23 22:30:10 UTC

DO NOT REPLY [Bug 50961] New: Script to push things to maven for 1.7

https://issues.apache.org/bugzilla/show_bug.cgi?id=50961

           Summary: Script to push things to maven for 1.7
           Product: Batik
           Version: 1.7
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Web Site
        AssignedTo: batik-dev@xmlgraphics.apache.org
        ReportedBy: bimargulies@gmail.com


#!/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>

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org