You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xmlgraphics.apache.org by Max Berger <ma...@berger.name> on 2008/06/15 12:58:28 UTC

Maven deployment procedure

Dear XMLgraphics-devs,

just in case, here's whats currently needed to deploy maven bundles  
for xmlgraphics (and fop).

Max


One-time-setup:

- install maven
- make sure your ssh-key is accepted by people.apache.org
- create a gpg key, make sure it is in the KEYS file.
- add the following to your .m2/settings.xml (replace my name and path  
with your settings)

<settings xmlns="http://maven.apache.org/POM/4.0.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
                       http://maven.apache.org/xsd/settings-1.0.0.xsd">
   <localRepository/>
   <interactiveMode/>
   <usePluginRegistry/>
   <offline/>
   <pluginGroups/>
   <servers>
     <server>
       <id>apache.releases</id>
       <username>maxberger</username>
       <privateKey>/home/berger/.ssh/id_dsa</privateKey>
       <filePermissions>664</filePermissions>
       <directoryPermissions>775</directoryPermissions>
     </server>
    </servers>
   <mirrors/>
   <proxies/>
   <profiles/>
   <activeProfiles/>
</settings>

for the actual release,  you need:

pom.xml (make sure it contains up-to-date version info)
xmlgraphics-commons-1.3.1.jar

Deploy actual bundle (replace with your keyId and passphrase):

mvn gpg:sign-and-deploy-file -Durl=sftp://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository 
  -DrepositoryId=apache.releases -Dfile=xmlgraphics-commons-1.3.1.jar - 
DpomFile=pom.xml -Dgpg.keyname=maxberger@apache - 
Dgpg.passphrase=YOURPATHPHRASE



---------------------------------------------------------------------
Apache XML Graphics Project URL: http://xmlgraphics.apache.org/
To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org