<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
<table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
<tbody>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
<tbody>
<tr>
<td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
<h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
<!-- To have a header image/logo replace the name below with your img tag -->
<!-- Email clients will render the images when the message is read so any image -->
<!-- must be made available on a public server, so that all recipients can load the image. -->
<a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
</td>
</tr>
<tr>
<td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
jBPM3 Release Procedure
</h3>
<span style="margin-bottom: 10px;">
modified by <a href="http://community.jboss.org/people/alex.guizar%40jboss.com">Alejandro Guizar</a> in <i>jBPM</i> - <a href="http://community.jboss.org/docs/DOC-13428">View the full document</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><h3>Get clean Hudson matrices</h3><p>Create Hudson jobs for the release branch in the <a class="jive-link-external-small" href="http://jbpm.dyndns.org:8180/hudson/">QA box</a>.</p><pre class="jive-pre"><code class="jive-code"># su -l hudson
$ cd svn/jbpm/jbpm3/branches/
$ svn co http://anonsvn.jboss.org/repos/jbpm/jbpm3/branches/jbpm-3.x
$ cd jbpm-3.x/hudson
$ ant hudson-setup
</code></pre><p>Run the jobs and verify they complete successfully.</p><h3>Follow web console test protocol</h3><p>Refer to <a class="jive-link-wiki-small" href="http://community.jboss.org/docs/DOC-13416">jBPM3 Web Console Test Protocol</a></p><h3>Update Release Notes</h3><p>Copy the release notes from the JIRA <a class="jive-link-external-small" href="https://jira.jboss.org/jira/browse/JBPM?report=com.atlassian.jira.plugin.system.project:roadmap-panel">road map</a> into <span style="font-family: courier new,courier;"><span>modules/distribution/src/main/etc/release.notes.html</span></span></p><h3>Tag and Deploy Maven Artifacts</h3><p>To deploy to the JBoss Maven repository, you will need to add your credentials to your <a class="jive-link-external-small" href="http://maven.apache.org/settings.html">settings.xml</a> file.</p><pre class="jive-pre"><code class="jive-code jive-xml"><span class="jive-xml-tag"><settings></span>
  <span class="jive-xml-tag"><servers></span>
    <span class="jive-xml-tag"><server></span>
      <span class="jive-xml-tag"><id></span>jboss-snapshots-repository<span class="jive-xml-tag"></id></span>
      <span class="jive-xml-tag"><username></span>jboss.org username<span class="jive-xml-tag"></username></span>
      <span class="jive-xml-tag"><password></span>jboss.org password<span class="jive-xml-tag"></password></span>
    <span class="jive-xml-tag"></server></span>
    <span class="jive-xml-tag"><server></span>
      <span class="jive-xml-tag"><id></span>jboss-releases-repository<span class="jive-xml-tag"></id></span>
      <span class="jive-xml-tag"><username></span>jboss.org username<span class="jive-xml-tag"></username></span>
      <span class="jive-xml-tag"><password></span>jboss.org password<span class="jive-xml-tag"></password></span>
    <span class="jive-xml-tag"></server></span>
  <span class="jive-xml-tag"></servers></span>
<span class="jive-xml-tag"></settings></span>
</code></pre><p><a class="jive-link-external-small" href="http://maven.apache.org/plugins/maven-release-plugin/examples/prepare-release.html">Prepare for release</a> with the following command. Maven will prompt for the release version (say, 3.2.10), the SCM release tag (jbpm-3.2.10) and the next development version (3.2.11-SNAPSHOT).</p><pre class="jive-pre"><code class="jive-code">$ mvn release:prepare
</code></pre><p>Once you are ready to <a class="jive-link-external-small" href="http://maven.apache.org/plugins/maven-release-plugin/examples/perform-release.html">perform the release</a>, execute:</p><pre class="jive-pre"><code class="jive-code">$ mvn release:perform
</code></pre><p>After the release is performed, Nexus will automatically create a temporary staging repository. Refer to <a class="jive-link-wiki-small" href="http://community.jboss.org/docs/DOC-15179">Maven Deploying a Release</a> for details on closing the staging repository.</p><h3>Release files for download</h3><p>See the <a class="jive-link-external-small" href="http://p.sf.net/sourceforge/frs">Guide to the File Release System</a> for a complete description of the procedure. Here is a quick reference.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>SF.net offers several methods to upload files, including <a class="jive-link-external-small" href="http://apps.sourceforge.net/trac/sourceforge/wiki/SCP"><span>SCP</span></a>. The username below corresponds to your SF.net account.</p><pre class="jive-pre"><code class="jive-code">$ cd modules/distribution/target
$ scp jbpm-installer-version.jar username@frs.sourceforge.net:uploads
</code></pre><p>Point your browser to the <a class="jive-link-external-small" href="https://sourceforge.net/project/admin/editpackages.php?group_id=70542">file releases page</a>. Add a new release and associate the uploaded file to it.</p><h3>Publish new version in the downloads page</h3><p>TBD</p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Comment by <a href="http://community.jboss.org/docs/DOC-13428">going to Community</a></p>
<p style="margin: 0;">Create a new document in jBPM at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=102&containerType=14&container=2034">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>