...
The commands in this document make use of the following environment variables, and are written in a form suitable for execution in linux or a cygwin shell on windows. If you set up these variables you should be able to just cut and paste the commands as given throughout this document.
Code Block |
---|
export PAOUSER=kelvingoodson export RELEASE=2.0-M5 export RC=RC3 export CURRENT_TRUNK_LEVEL=2.0-SNAPSHOT export NEXT_TRUNK_LEVEL=2.0-SNAPSHOT export RC=RC3 export RATJAR=~/apache-rat-0.7-SNAPSHOT.jar export SCPCOMMAND=scp export PAOUSER=kelvingoodson export PASSPHRASE=your_pao_authentication_pass_phrase |
Create the branch
Code Block |
---|
svn copy https://svn.apache.org/repos/asf/tuscany/sca-java-2.x/trunk/ https://svn.apache.org/repos/asf/tuscany/sca-java-2.x/branches/sca-java-$RELEASE -m "Branch for $RELEASE" |
...
Code Block |
---|
cd tags/$RELEASE-$RC/distribution/target pscp \*.asc $PAOUSER@people.apache.org:public_html/sca-java/$RELEASE/$RC/ pscp \*.md5 $PAOUSER@people.apache.org:public_html/sca-java/2.0-M5/RC2$RELEASE/$RC/ pscp \*.zip $PAOUSER@people.apache.org:public_html/sca-java/2.0-M5/RC2$RELEASE/$RC/ pscp \*.gz $PAOUSER@people.apache.org:public_html/sca-java/2.0-M5/RC2$RELEASE/$RC/ |
Code Block |
---|
cd tags/1.1$RELEASE-RC3a$RC/distribution/src/main/release pscp RELEASE_NOTES $PAOUSER@people.apache.org:public_html/sca-java/2.0-M5/RC2$RELEASE/$RC/ pscp CHANGES $PAOUSER@people.apache.org:public_html/sca-java/2.0-M5/RC2$RELEASE/$RC/ |
Check permissions on the files
...
Note below that the reference to "me.people" in the "id" part of the -DaltDeploymentRepository argument to the maven deploy plugin is simply an identifier relating to a stanza in your local maven repo's settings.xml file. Note that also if you use ssh authentication by referencing a file containing your private key from the settings.xml file, then be sure to use a file in open ssh format. People who have followed the apache instructions for creating ssh keys on Windows with putty will probably not have created open ssh format files. You can however convert your .ppk file to the open ssh forrmat format by loading it into puttygen and using the conversion menu.
Create a maven directory in your target directory on people.apache.org
Code Block |
---|
cd tags/2.0-M5-RC2$RELEASE-$RC mvn \-N \-DaltDeploymentRepository=eme.people::default::scp://people.apache.org/home/kelvingoodson$PAOUSER/sca-java/2.0-M5/RC2$RELEASE/$RC/maven verify gpg:sign install:install deploy:deploy \-Dgpg.passphrase=$PASSPHRASE cd shades/base mvn clean mvn \-DaltDeploymentRepository=me.people::default::scp://people.apache.org/home/kelvingoodson$PAOUSER/sca-java/2.0-M5/RC2$RELEASE/$RC/maven verify gpg:sign install:install deploy:deploy \-Dgpg.passphrase=$PASSPHRASE cd modules mvn clean mvn \-DaltDeploymentRepository=me.people::default::scp://people.apache.org/home/kelvingoodson$PAOUSER/sca-java/2.0-M5/RC2$RELEASE/$RC/maven verify gpg:sign install:install deploy:deploy \-Dgpg.passphrase=$PASSPHRASE cd maven/maven-tuscany-plugin mvn clean mvn \-DaltDeploymentRepository=me.people::default::scp://people.apache.org/home/kelvingoodson$PAOUSER/sca-java/2.0-M5/RC2$RELEASE/$RC/maven verify gpg:sign install:install deploy:deploy \-Dgpg.passphrase=$PASSPHRASE cd features mvn clean mvn \-DaltDeploymentRepository=me.people::default::scp://people.apache.org/home/kelvingoodson$PAOUSER/sca-java/2.0-M5/RC2$RELEASE/$RC/maven verify gpg:sign install:install deploy:deploy \-Dgpg.passphrase=$PASSPHRASE |
Check that the Maven artifacts work
...