Making releases (TUSCANY) edited by Raymond Feng
      Page: http://cwiki.apache.org/confluence/display/TUSCANY/Making+releases
   Changes: 
http://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=60576&originalVersion=8&revisedVersion=9






Content:
---------------------------------------------------------------------

{section:border=false}
{column:width=15%}
{include: Menus}
{column}
{column:width=85%}

h3. Making releases

[Setting up ssh]

[Create signing key]

h4. How to run RAT?

1. Download the latest release from http://code.google.com/p/arat (It's moving 
back to Apache incubation now).
2. java -jar <rat-xxx.jar> <the root folder> > xxx.rat

{note:title="Tips}
Run "mvn clean" first to avoid complains about the files under target folders
{note}


h4. Signing artifacts:

Windows:
for %A in (*.zip) do gpg \--output %A.asc \--detach-sig \--armor %A
for %A in (*.gz) do gpg \--output %A.asc \--detach-sig \--armor %A
for %A in (*.zip) do gpg \--print-md md5 %A > %A.md5
for %A in (*.gz) do gpg \--print-md md5 %A > %A.md5

h4. Deploying to a staging area:

A single file:

mvn deploy:deploy-file \-DgroupId=org.apache.tuscany 
\-DartifactId=tuscany-sca-all \-Dversion=0.90-incubating \-Dpackaging=jar 
\-Dfile=tuscany-sca-all-0.90-incubating.jar \-DrepositoryId=me.people 
\-Durl=scp://people.apache.org/home/antelder/public_html/tuscany/0.90-rc2/maven

Maven modules:

C:\Tuscany\SVN\0.90-TAG\modules>mvn 
\-DaltDeploymentRepository=apache.incubator::default::scp://people.apache.org/home/antelder/public_html/t
uscany/0.90-rc2/maven deploy

h4. Typical Tuscany Java SCA Release Artifacts


Here are the artifacts that are typically released as part of a Java SCA 
Release.&nbsp; This is based on experiences with Releases 0.90 and 0.91.

\- After tagging the release download the tag and build it

\- Then build the distributions.&nbsp;

\- Move into the target folder of the 'distribution' and execute the commands 
under the section titled 'Signing Artifcats' on this wiki page (see 
above).&nbsp; This will create the required '.asc' and '.md5' for the distros.

\- Then using sftp client (psftp or FileZilla or ...), ftp the distros and the 
signature files to the maven staging area.

\- Next move over to the 'distribution\bundle\target' directory of the 
tag.&nbsp;&nbsp; In there copy the file 'tuscany-bundle-xxx-incubating.jar' to 
'tuscany-sca-all-xxx-incubating.jar'.&nbsp; Then deploy the 
tuscany-sca-all-0.91-incubating.jar to the maven staging area using the single 
file command as mentioned above in section 'Deploying to staging area'.&nbsp; 
For example.
{noformat}
mvn deploy:deploy-file -DgroupId=org.apache.tuscany.sca 
-DartifactId=tuscany-sca-all -Dversion=0.91-incubating -Dpackaging=jar
-Dfile=tuscany-sca-all-0.91-incubating.jar -DrepositoryId=me.people 
-Durl=scp://people.apache.org/home/svkrish/public_html/tuscany/0.91-rc3/maven
{noformat} - Finally move over to the head of the 'tag' and deploy the 
tuscany-sca pom file, again using the single file command.  For example mvn 
deploy:deploy-file -DgroupId=org.apache.tuscany.sca -DartifactId=tuscany-sca 
-Dversion=0.91-incubating -Dpackaging=pom -Dfile=pom.xml 
-DrepositoryId=me.people 
-Durl=scp://people.apache.org/home/svkrish/public_html/tuscany/0.91-rc3/maven


   
{column}
{section}

---------------------------------------------------------------------
CONFLUENCE INFORMATION
This message is automatically generated by Confluence

Unsubscribe or edit your notifications preferences
   http://cwiki.apache.org/confluence/users/viewnotifications.action

If you think it was sent incorrectly contact one of the administrators
   http://cwiki.apache.org/confluence/administrators.action

If you want more information on Confluence, or have a bug to report see
   http://www.atlassian.com/software/confluence



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to