Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
borderfalse
Column
width15%
Include Page
TUSCANY: Menus
TUSCANY: Menus
Column
width85%

Making releases

Setting up ssh

Create signing key

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

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

Typical Tuscany Java SCA Release Artifacts

Here are the artifacts that are typically released as part of a Java SCA Release.  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. 

- Move into the target folder of the 'distribution' and execute the commands under the section titled 'Signing Artifcats' on this wiki page (see above).  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.   In there copy the file 'tuscany-bundle-xxx-incubating.jar' to 'tuscany-sca-all-xxx-incubating.jar'.  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'.  For example.

No Format

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

 - 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