servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r1625749 - in /servicemix/site/production/developers: release-guide-v4.html release-guide.html
Date Wed, 17 Sep 2014 18:52:50 GMT
Author: gertv
Date: Wed Sep 17 18:52:50 2014
New Revision: 1625749

URL: http://svn.apache.org/r1625749
Log:
[scm-publish] Updating main website contents

Added:
    servicemix/site/production/developers/release-guide-v4.html
Modified:
    servicemix/site/production/developers/release-guide.html

Added: servicemix/site/production/developers/release-guide-v4.html
URL: http://svn.apache.org/viewvc/servicemix/site/production/developers/release-guide-v4.html?rev=1625749&view=auto
==============================================================================
--- servicemix/site/production/developers/release-guide-v4.html (added)
+++ servicemix/site/production/developers/release-guide-v4.html Wed Sep 17 18:52:50 2014
@@ -0,0 +1,251 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd"> 
+<html lang="en">
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+    <meta name="description" content="Apache ServiceMix - An open-source integration container"/>
+    <meta name="keywords" content="business integration, enterprise service bus, enterprise application integration, ESB, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, business-to-business, b2b, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, java message service, middleware, message broker, software, solutions, services, ActiveMQ, ServiceMix, open source, MQ, message queue, message bus,felix,karaf,camel"/>
+    <meta name="author" content="The Apache ServiceMix Team"/>
+    <link href="../css/style.css" rel="stylesheet" type="text/css"/>
+    <link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/>
+    <link href="../css/downloads.css" rel="stylesheet" type="text/css"/>
+    <title>
+      Release Guide
+    </title>
+    <script type='text/javascript'>
+      //<![CDATA[
+        var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-398545-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();
+      //]]>
+    </script>
+  </head>
+  <body>
+    <table width="100%" cellpadding="0" cellspacing="0">
+      <tr width="100%">
+        <td id="cell-0-0" colspan="2">
+          &nbsp;
+        </td>
+        <td id="cell-0-1">
+          &nbsp;
+        </td>
+        <td id="cell-0-2" colspan="2">
+          &nbsp;
+        </td>
+      </tr>
+      <tr width="100%">
+        <td id="cell-1-0">
+          &nbsp;
+        </td>
+        <td id="cell-1-1">
+          &nbsp;
+        </td>
+        <td id="cell-1-2">
+          <div style="padding: 5px;">
+            <div id="banner">
+              <table border="0" cellpadding="0" cellspacing="0" width="100%">
+                <tr>
+                  <td align="left" class="topbardiv" nowrap="">
+                    <a href="http://servicemix.apache.org/" title="Apache ServiceMix - open-source integration server">
+                      <img border="0" src="../images/servicemix-logo.png" width="400px"/>
+                    </a>
+                  </td>
+                  <td align="right">
+                    <a href="http://www.apache.org/" Release Guide="The Apache Sofware Foundation">
+                      <img border="0" height="60" src="../images/asf-logo.png"/>
+                    </a>
+                    <div id="top-menu">
+                      <table border="0" cellpadding="1" cellspacing="0" width="100%">
+                        <tr>
+                          <td>
+                            <div align="left"></div>
+                          </td>
+                          <td>
+                            <div align="right">
+                              <p><a href="../downloads.html">Downloads</a> | <a href="source.html">Source</a> | <a href="../community/discussion-forums.html">Forums</a> | <a href="../community/support.html">Support</a></p>
+                            </div>
+                          </td>
+                        </tr>
+                      </table>
+                    </div>
+                  </td>
+                </tr>
+              </table>
+            </div>
+          </div>
+        </td>
+        <td id="cell-1-3">
+          &nbsp;
+        </td>
+        <td id="cell-1-4">
+          &nbsp;
+        </td>
+      </tr>
+      <tr width="100%">
+        <td id="cell-2-0" colspan="2">
+          &nbsp;
+        </td>
+        <td id="cell-2-1">
+          <table>
+            <tr height="100%" valign="top">
+              <td height="100%">
+                <div id="wrapper-menu-page-right">
+                  <div id="wrapper-menu-page-top">
+                    <div id="wrapper-menu-page-bottom">
+                      <div id="menu-page">
+                        <h3 id="Overviewindex"><a href="../index.html">Overview</a></h3><ul style="list-style: square"><li><p><a href="../index.html">Home</a></p></li><li><p><a href="../downloads.html">Downloads</a></p></li><li><p><a href="../overview/license.html">License</a></p></li></ul><h3 id="Documentation"><a href="../documentation.html">Documentation</a></h3><ul><li><a href="http://servicemix.apache.org/docs/5.0.x/quickstart/index.html" target="quickstart">Quickstart Guide</a></li><li><a href="http://servicemix.apache.org/docs/5.0.x/index.html" target="documentation">Documentation: 5.0.x</a></li></ul><h3 id="Search">Search</h3><DIV style="padding: 5px 5px 0px 25px;"><FORM action="http://www.google.com/search" method="get" style="font-size: 10px;"><INPUT name="ie" type="hidden" value="UTF-8"></INPUT><INPUT name="oe" type="hidden" value="UTF-8"></INPUT>  <INPUT maxlength="255" name="q" size="15" type="text" value></INPUT>  <INPUT name="btnG" type="submit" value="Search"></INPUT
 >  <INPUT name="domains" type="hidden" value="servicemix.apache.org"></INPUT>  <INPUT name="sitesearch" type="hidden" value="servicemix.apache.org"></INPUT></FORM></DIV><h3 id="Community"><a href="../community.html">Community</a></h3><ul style="list-style: square"><li><p><a href="../community/support.html">Support</a></p></li><li><p><a href="../community/discussion-forums.html">Discussion Forums</a></p></li><li><p><a href="../community/mailing-lists.html">Mailing Lists</a></p></li><li><p><a href="http://issues.apache.org/activemq/browse/SM">Issues</a></p></li><li><p><a href="../community/contributing.html">Contributing</a></p></li><li><p><a href="../community/users.html">Users</a></p></li><li><p><a href="../community/team.html">Team</a></p></li></ul><h3 id="Developers"><a href="../developers.html">Developers</a></h3><ul style="list-style: square"><li><p><a href="source.html">Source</a></p></li><li><p><a href="becoming-a-committer.html">Becoming a committer</a></p></li><li><p><a href
 ="release-guide.html">Release Guide</a></p></li><li><p><a href="related-projects.html">Related Projects</a></p></li><li><p><a href="tools.html">Tools</a></p></li></ul><h3 id="RelatedProjects">Related Projects</h3><ul style="list-style: square"><li><p><a href="http://karaf.apache.org/" title="OSGi Container">Apache Karaf</a></p></li><li><p><a href="http://activemq.apache.org/" title="The most popular and powerful open source Message Bus">Apache ActiveMQ</a></p></li><li><p><a href="http://activemq.apache.org/camel/" title="POJO based Enterprise Integration Patterns and routing framework">Apache Camel</a></p></li><li><p><a href="http://cxf.apache.org/" title="Service Enablement Framework based on SOAP and JAX-WS">Apache CXF</a></p></li><li><p><a href="http://ode.apache.org/" title="Orchestration Engine">Apache ODE</a></p></li><li><p><a href="http://jencks.codehaus.org/" title="Message Driven POJOs and pooling for JMS and JDBC">Jencks</a></p></li><li><p><a href="http://stomp.codehaus.or
 g/" title="Simple cross language protocol for messaging">Stomp</a></p></li><li><p><a href="http://www.springframework.org/" title="The well know framework">Spring</a></p></li><li><p><a href="http://geronimo.apache.org/" title="The Apache J2EE server">Geronimo</a></p></li></ul><h3 id="ApacheSoftwareFoundation">Apache Software Foundation</h3><ul style="list-style: square"><li><p><a href="http://www.apache.org/licenses/">License</a></p></li><li><p><a href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></p></li><li><p><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></p></li><li><p><a href="http://www.apache.org/security/">Security</a></p></li></ul>
+                      </div>
+                    </div>
+                  </div>
+                </div>
+              </td>
+              <td height="100%" width="100%">
+                <div class="wiki-content">
+<p>How to create and announce a ServiceMix release (v4).</p><div class="warning" style="border: 1px solid #c00;background-color: #fcc;margin: 20px;padding: 0px 6px 0px 6px;"><p>Some of the contents below has not yet been updated to reflect recent changes in Apache infrastructure</p></div><h2 id="Prepare">Prepare</h2><p>To prepare and perform a release you must be at least at Apache ServiceMix Committer.</p><ul><li><p>each and every release must be <a href="http://www.apache.org/dev/release-signing.html">SIGNED</a></p></li><li><p>your public key should also be cross-signed by other Apache committers (not required, but suggested)</p></li><li><p>make sure you have all Apache servers defined in your <a href="http://maven.apache.org/developers/committer-settings.html">settings.xml</a></p></li><li><p>use Maven 3.0.5 or higher</p></li></ul><p>Your settings.xml should look like:</p><pre class="xml code-xml">
+&lt;settings>
+  ...
+  &lt;profiles>
+    &lt;profile>
+      &lt;id>release&lt;/id>
+      &lt;properties>
+        &lt;gpg.passphrase> &lt;!-- YOUR KEY PASSPHRASE --> &lt;/gpg.passphrase>
+      &lt;/properties>
+    &lt;/profile>
+  &lt;/profiles>
+  ...
+  &lt;servers>
+    &lt;!-- To publish a snapshot of some part of Maven -->
+    &lt;server>
+      &lt;id>apache.snapshots.https&lt;/id>
+      &lt;username> &lt;!-- YOUR APACHE SVN USERNAME --> &lt;/username>
+      &lt;password> &lt;!-- YOUR APACHE SVN PASSWORD --> &lt;/password>
+    &lt;/server>
+    &lt;!-- To stage a release of some part of Maven -->
+    &lt;server>
+      &lt;id>apache.releases.https&lt;/id>
+      &lt;username> &lt;!-- YOUR APACHE SVN USERNAME --> &lt;/username>
+      &lt;password> &lt;!-- YOUR APACHE SVN PASSWORD --> &lt;/password>
+    &lt;/server>
+    ...
+  &lt;/servers>
+&lt;/settings>
+
+</pre><h2 id="StagingtheReleaseCandidate">Staging the Release Candidate</h2><ol><li><p>grab the latest <a href="source.html">Source</a></p><pre>
+svn co https://svn.apache.org/repos/asf/servicemix/$PART/trunk
+</pre><p>where $PART is what you want to release. For example, it can be:</p><ul><li><p>smx3</p></li><li><p>smx4</p></li><li><p>components</p></li><li><p>...</p></li></ul></li><li><p>prepare your POMs for release:</p><ol><li><p>make sure there is no snapshots in the POMs to be released</p></li><li><p>make sure everything builds fine</p></li><li><p>check that your POMs will not lose content when they are rewritten during the release process:</p><pre>
+mvn release:prepare -DdryRun
+</pre><p> <br/>and diff the original pom.xml with the one named pom.xml.tag to see if the license or any other info has been removed. This has been known to happen if the starting &lt;project> tag is not a single line. The only things that should be different between these files are the &lt;version> and &lt;scm> elements. If there are any other changes, you must fix the original pom.xml file and commit before proceeding with the release. </p></li><li><p>publish a snapshot</p><pre>
+$ mvn deploy
+...
+[INFO] [deploy:deploy]
+[INFO] Retrieving previous build number from apache.snapshots.https
+...
+</pre></li></ol><ul><li><p>if you experience an error during deployment like a HTTP 401 check your settings for the required server entries as outlined in the <strong>Prerequisites</strong></p></li><li><p>be sure that the generated artifacts respect the Apache release <a href="http://www.apache.org/dev/release.html">rules</a>: NOTICE and LICENSE files should be present in the META-INF directory within the jar. For sources artifacts, be sure that your POM does not use the maven-source-plugin:2.0.3 which is broken. The recommended version at this time is 2.0.4 </p></li><li><p>you should verify the deployment under the <a href="https://repository.apache.org/content/groups/snapshots/org/apache/servicemix">snapshot</a> repository on Apache</p></li></ul></li><li><p>prepare the release</p><pre>
+mvn release:clean
+mvn release:prepare
+</pre></li><li><p>stage the release for a vote<br/>Note: If you're on Mac OSX 10.5, for a  known  <a href="http://subversion.tigris.org/issues/show_bug.cgi?id=3059">issue</a>, you need provide your apache svn user/password <br/>mvn release:prepare -Dusername=ffang -Dpassword=*******</p><pre>
+mvn release:perform
+</pre><ul><li><p>the release will automatically be inserted into a temporary staging repository for you, see the Nexus <a href="http://www.sonatype.com/books/nexus-book/reference/staging.html">staging documentation</a> for full details</p></li><li><p>you can continue to use mvn release:prepare and mvn release:perform on other sub-projects as necessary on the same machine and they will be combined in the same staging repository</p></li></ul></li><li><p>close the staging repository</p><ul><li><p>login to <a href="https://repository.apache.org">https://repository.apache.org</a> using your Apache SVN credentials. Click on Staging on the left. Then click on org.apache.servicemix in the list of repositories. In the panel below you should see an open repository that is linked to your username and IP. Right click on this repository and select Close. This will close the repository from future deployments and make it available for others to view. If you are staging multiple releases together,
  skip this step until you have staged everything!release_01.png</p>|thumbnail! <img border="0" src="release_02.png"/> <img border="0" src="release_03.png"/> <img border="0" src="release_04.png"/> <img border="0" src="release_05.png"/> <img border="0" src="release_06.png"/></li></ul></li><li><p>verify the staged artifacts</p><ul><li><p>if you click on your repository, a tree view will appear below. You can then browse the contents to ensure the artifacts are as you expect them. Pay particular attention to the existence of *.asc (signature) files. If you don't like the content of the repository, right click your repository and choose Drop. You can then rollback your release (see Canceling the Release) and repeat the process</p></li><li><p>note the staging repository URL (especially the number at the end of the URL) you will need this in your vote email</p></li></ul></li></ol><h2 id="Startingthevote">Starting the vote</h2><p>Propose a vote on the dev list with the closed issues, the is
 sues left, and the staging repository - for example:</p><pre>
+To: "ServiceMix Developers List" &lt;dev@servicemix.apache.org>
+Subject: [VOTE] Release ServiceMix [Component] XXX version Y.Z
+
+Hi,
+
+We solved N issues in this release:
+http://issues.apache.org/jira/...
+
+There are still some outstanding issues:
+http://issues.apache.org/jira/...
+
+Staging repository:
+https://repository.apache.org/content/repositories/servicemix-staging-[YOUR REPOSITORY ID]/
+
+Please vote to approve this release:
+
+[ ] +1 Approve the release
+[ ] -1 Veto the release (please provide specific comments)
+
+This vote will be open for 72 hours.
+</pre><ul><li><p>to get the JIRA release notes link, browse to the ServiceMix <a href="http://issues.apache.org/jira/browse/ServiceMix">JIRA</a> page, select Release Notes and choose the relevant sub-project release and format (HTML)</p></li><li><p>to get the list of issues left in JIRA, select the Open Issues tab on the main ServiceMix page, and select the relevant sub-project.</p></li></ul><h2 id="WaitfortheResults">Wait for the Results</h2><p>From <a href="http://www.apache.org/foundation/voting.html">Votes on Package Releases</a>:</p><p>    Votes on whether a package is ready to be released follow a format similar to majority approval - except that the decision is officially determined solely by whether at least three +1 votes were registered. Releases may not be vetoed. Generally the community will table the vote to release if anyone identifies serious problems, but in most cases the ultimate decision, once three or more positive votes have been garnered, lies with the individu
 al serving as release manager. The specifics of the process may vary from project to project, but the 'minimum of three +1 votes' rule is universal.</p><p>The list of binding voters is available at <a href="http://servicemix.apache.org/team.html">http://servicemix.apache.org/team.html</a>.</p><p>If the vote is successful, post the result to the dev list - for example:</p><pre>
+To: "ServiceMix Developers List" &lt;dev@servicemix.apache.org>
+Subject: [RESULT] [VOTE] Release ServiceMix [Component] XXX version Y.Z
+
+Hi,
+
+The vote has passed with the following result :
+
+  +1 (binding): &lt;&lt;list of names>>
+  +1 (non binding): &lt;&lt;list of names>>
+
+I will copy this release to the ServiceMix dist directory and
+promote the artifacts to the central Maven repository.
+</pre><p>If the vote is unsuccessful, you need to fix the issues and restart the process - see <strong>Canceling the Release</strong>.<br/>If the vote is successful, you need to promote and distribute the release - see <strong>Promoting the Release</strong>.</p><h2 id="CancelingtheRelease">Canceling the Release</h2><p>If the vote fails, or you decide to redo the release:</p><ol><li><p>remove the release tag from Subversion (svn del ...)</p></li><li><p>login to https://repository.apache.org using your Apache SVN credentials. Click on Staging on the left. Then click on org.apache.servicemix in the list of repositories. In the panel below you should see a closed repository that is linked to your username and IP (if it's not yet closed you need to right click and select Close). Right click on this repository and select Drop.</p></li><li><p>rollback the version in the pom.xml and commit any fixes you need to make</p></li></ol><h2 id="PromotingtheRelease">Promoting the Release</h2><p>If t
 he vote passes:</p><ol><li><p>copy the released artifacts to the ServiceMix dist directory (/x1/www/www.apache.org/dist/servicemix) on people.apache.org</p></li><li><p>delete the old release from the ServiceMix dist directory (it's archived)</p></li><li><p>login to https://repository.apache.org with your Apache SVN credentials. Click on Staging. Find your closed staging repository, right click on it and choose Promote. Select the Releases repository from the drop-down list and click Promote.</p></li><li><p>next click on Repositories, select the Releases repository and validate that your artifacts are all there</p></li><li><p>update the news section on the website at news</p></li><li><p>update the download page on the website at downloads to point to the new release.</p></li></ol><p>For the last two tasks, it's better to give the mirrors some time to distribute the uploaded artifacts (one day should be fine). This ensures that once the website (news and download page) is updated, peo
 ple can actually download the artifacts.</p><h2 id="UpdateXMLschemas">Update XML schemas</h2><ul><li><p>Update the <a href="Xml schemas.html">Xml schemas</a> page with a link to the HTML and XSD</p></li></ul><h2 id="UpdateJIRA">Update JIRA</h2><p>Go to Admin section on the ServiceMix JIRA and mark the Component/Y.Z version as released - create version Y.Z+1, if that hasn't already been done.</p><h2 id="AnnouncingtheServiceMixRelease">Announcing the ServiceMix Release</h2><pre>
+To: "ServiceMix Developers List" &lt;dev@servicemix.apache.org>
+Subject: [ANN] ServiceMix XXX version Y.Z Released
+
+The ServiceMix team is pleased to announce the release of ServiceMix XXX version Y.Z
+
+&lt;&lt;insert short description of the sub-project>>
+
+  http://servicemix.apache.org/XXX.html
+
+This release is available from http://servicemix.apache.org/downloads and Maven:
+
+  &lt;dependency>
+    &lt;groupId>org.apache.servicemix&lt;/groupId>
+    &lt;artifactId>org.apache.servicemix.XXX&lt;/artifactId>
+    &lt;version>Y.Z&lt;/version>
+  &lt;/dependency>
+
+Release Notes:
+
+&lt;&lt;insert release notes in text format from JIRA>>
+
+Enjoy!
+
+-The ServiceMix team
+</pre><p>Remember to forward this announcement to users@servicemix.apache.org - try not to cross-post (CC:) announcements to both user and dev lists.</p>
+                </div>
+              </td>
+            </tr>
+          </table>
+        </td>
+        <td id="cell-2-2" colspan="2">
+          &nbsp;
+        </td>
+      </tr>
+      <tr width="100%">
+        <td id="cell-3-0">
+          &nbsp;
+        </td>
+        <td id="cell-3-1">
+          &nbsp;
+        </td>
+        <td id="cell-3-2">
+          <div id="footer">
+            <div id="site-footer">
+              &copy; 2008-2011 The Apache Software Foundation -
+              <a href="../privacy-policy.html">Privacy Policy</a>
+              <br/>
+              Apache ServiceMix, ServiceMix, Apache, the Apache feather logo, and the Apache ServiceMix project logo are trademarks of The Apache Software Foundation.
+            </div>
+          </div>
+        </td>
+        <td id="cell-3-3">
+          &nbsp;
+        </td>
+        <td id="cell-3-4">
+          &nbsp;
+        </td>
+      </tr>
+      <tr width="100%">
+        <td id="cell-4-0" colspan="2">
+          &nbsp;
+        </td>
+        <td id="cell-4-1">
+          &nbsp;
+        </td>
+        <td id="cell-4-2" colspan="2">
+          &nbsp;
+        </td>
+      </tr>
+    </table>
+  </body>
+</html>
\ No newline at end of file

Modified: servicemix/site/production/developers/release-guide.html
URL: http://svn.apache.org/viewvc/servicemix/site/production/developers/release-guide.html?rev=1625749&r1=1625748&r2=1625749&view=diff
==============================================================================
--- servicemix/site/production/developers/release-guide.html (original)
+++ servicemix/site/production/developers/release-guide.html Wed Sep 17 18:52:50 2014
@@ -98,7 +98,7 @@
               </td>
               <td height="100%" width="100%">
                 <div class="wiki-content">
-<p>How to create and announce a ServiceMix release.</p><h2 id="Prepare">Prepare</h2><p>To prepare and perform a release you must be at least at Apache ServiceMix Committer.</p><ul><li><p>each and every release must be <a href="http://www.apache.org/dev/release-signing.html">SIGNED</a></p></li><li><p>your public key should also be cross-signed by other Apache committers (not required, but suggested)</p></li><li><p>make sure you have all Apache servers defined in your <a href="http://maven.apache.org/developers/committer-settings.html">settings.xml</a></p></li><li><p>use Maven 2.0.x or 2.2..x</p></li></ul><p>Your settings.xml should look like:</p><pre class="xml code-xml">
+<p>How to create and announce a ServiceMix release.</p><h2 id="Beforeyoustart">Before you start</h2><p>To prepare and perform a release you must be at least at Apache ServiceMix Committer.</p><p>A few other prerequisites:</p><ul><li><p>each and every release must be <a href="http://www.apache.org/dev/release-signing.html">SIGNED</a></p></li><li><p>your public key should also be cross-signed by other Apache committers (not required, but suggested)</p></li><li><p>make sure you have all Apache servers defined in your <a href="http://maven.apache.org/developers/committer-settings.html">settings.xml</a></p></li><li><p>use Maven 3.0.5 or higher</p></li></ul><p>Your settings.xml should look like:</p><pre class="xml code-xml">
 &lt;settings>
   ...
   &lt;profiles>
@@ -127,45 +127,25 @@
   &lt;/servers>
 &lt;/settings>
 
-</pre><h2 id="StagingtheReleaseCandidate">Staging the Release Candidate</h2><ol><li><p>grab the latest <a href="source.html">Source</a></p><pre>
-svn co https://svn.apache.org/repos/asf/servicemix/$PART/trunk
-</pre><p>where $PART is what you want to release. For example, it can be:</p><ul><li><p>smx3</p></li><li><p>smx4</p></li><li><p>components</p></li><li><p>...</p></li></ul></li><li><p>prepare your POMs for release:</p><ol><li><p>make sure there is no snapshots in the POMs to be released</p></li><li><p>make sure everything builds fine</p></li><li><p>check that your POMs will not lose content when they are rewritten during the release process:</p><pre>
-mvn release:prepare -DdryRun
-</pre><p> <br/>and diff the original pom.xml with the one named pom.xml.tag to see if the license or any other info has been removed. This has been known to happen if the starting &lt;project> tag is not a single line. The only things that should be different between these files are the &lt;version> and &lt;scm> elements. If there are any other changes, you must fix the original pom.xml file and commit before proceeding with the release. </p></li><li><p>publish a snapshot</p><pre>
-$ mvn deploy
-...
-[INFO] [deploy:deploy]
-[INFO] Retrieving previous build number from apache.snapshots.https
-...
-</pre></li></ol><ul><li><p>if you experience an error during deployment like a HTTP 401 check your settings for the required server entries as outlined in the <strong>Prerequisites</strong></p></li><li><p>be sure that the generated artifacts respect the Apache release <a href="http://www.apache.org/dev/release.html">rules</a>: NOTICE and LICENSE files should be present in the META-INF directory within the jar. For sources artifacts, be sure that your POM does not use the maven-source-plugin:2.0.3 which is broken. The recommended version at this time is 2.0.4 </p></li><li><p>you should verify the deployment under the <a href="https://repository.apache.org/content/groups/snapshots/org/apache/servicemix">snapshot</a> repository on Apache</p></li></ul></li><li><p>prepare the release</p><pre>
-mvn release:clean
-mvn release:prepare
-</pre></li><li><p>stage the release for a vote<br/>Note: If you're on Mac OSX 10.5, for a  known  <a href="http://subversion.tigris.org/issues/show_bug.cgi?id=3059">issue</a>, you need provide your apache svn user/password <br/>mvn release:prepare -Dusername=ffang -Dpassword=*******</p><pre>
-mvn release:perform
-</pre><ul><li><p>the release will automatically be inserted into a temporary staging repository for you, see the Nexus <a href="http://www.sonatype.com/books/nexus-book/reference/staging.html">staging documentation</a> for full details</p></li><li><p>you can continue to use mvn release:prepare and mvn release:perform on other sub-projects as necessary on the same machine and they will be combined in the same staging repository</p></li></ul></li><li><p>close the staging repository</p><ul><li><p>login to <a href="https://repository.apache.org">https://repository.apache.org</a> using your Apache SVN credentials. Click on Staging on the left. Then click on org.apache.servicemix in the list of repositories. In the panel below you should see an open repository that is linked to your username and IP. Right click on this repository and select Close. This will close the repository from future deployments and make it available for others to view. If you are staging multiple releases together,
  skip this step until you have staged everything!release_01.png</p>|thumbnail! <img border="0" src="release_02.png"/> <img border="0" src="release_03.png"/> <img border="0" src="release_04.png"/> <img border="0" src="release_05.png"/> <img border="0" src="release_06.png"/></li></ul></li><li><p>verify the staged artifacts</p><ul><li><p>if you click on your repository, a tree view will appear below. You can then browse the contents to ensure the artifacts are as you expect them. Pay particular attention to the existence of *.asc (signature) files. If you don't like the content of the repository, right click your repository and choose Drop. You can then rollback your release (see Canceling the Release) and repeat the process</p></li><li><p>note the staging repository URL (especially the number at the end of the URL) you will need this in your vote email</p></li></ul></li></ol><h2 id="Startingthevote">Starting the vote</h2><p>Propose a vote on the dev list with the closed issues, the is
 sues left, and the staging repository - for example:</p><pre>
-To: "ServiceMix Developers List" &lt;dev@servicemix.apache.org>
-Subject: [VOTE] Release ServiceMix [Component] XXX version Y.Z
+</pre><h2 id="Prepareforrelease">Prepare for release</h2><p>Before you can start the release process...</p><ol><li><p>Reach out to the community to ensure everyone is aware of the upcoming release and people have the time to commit their final changes</p></li><li><p>Check JIRA to ensure all issues scheduled to be resolved have been fixed.</p></li><li><p>In JIRA, generate text-based release notes (link available on version page or click <a href="https://issues.apache.org/jira/secure/ConfigureReleaseNote.jspa?projectId=12311206">here</a>) and update the <tt>RELEASE-NOTES</tt> file with the new release information.</p></li><li><p>Make sure the project builds correctly and all tests are passing using a <tt>mvn clean install</tt></p></li></ol><h2 id="Performtherelease">Perform the release</h2><p>To cut the actual release...</p><ol><li><p>To ensure that all dependencies are available online and/or the necessary Maven repositories have been defined, it's highly recommended to move your loc
 al Maven repository aside (<tt>mv ~/.m2/repository ~/repository.old</tt>) or delete it.</p></li><li><p>Do a <tt>git pull --rebase</tt> and <tt>git status</tt> first to make sure your local checkout is completely up-to-date. If there are any untracked files around, do a <tt>git clean -df</tt> to remove those.</p></li><li><p>Now, run <tt>mvn release:prepare</tt>. It will:</p><ul><li><p>Ask you for the release version, tag name and next release version - usually, the default values will be OK</p></li><li><p>Update the POMs with the release versions</p></li><li><p>Build the project and run all the test</p></li><li><p>Check in the release POMs, create the tag and then update to next release version</p></li></ul></li><li><p>If the prepare build succeeded, run <tt>mvn release:perform</tt> to</p><ul><li><p>Check out the tag</p></li><li><p>Build the project and upload all the artifacts to a staging repository on <a href="https://repository.apache.org">https://repository.apache.org</a></p></l
 i></ul></li><li><p>Once the build has finished, close the staging repository:</p><ul><li><p>Log onto <a href="https://repository.apache.org">https://repository.apache.org</a> with your Apache user id and password</p></li><li><p>In the left hand navigation panel, select <tt>Staging repositories</tt></p></li><li><p>Find the staging repository containing the release and close the repository. After the repository has been closed, make a note of the repository URL because you'll need it for the vote mail.</p></li></ul></li></ol><h2 id="Vote">Vote</h2><p>For more background on the Apache voting process, check out <a href="http://www.apache.org/foundation/voting.html">http://www.apache.org/foundation/voting.html</a></p><ol><li><p>Start a vote by sending a mail to the dev@ list:</p><pre>This is a vote to release Apache ServiceMix &lt;version>.
 
-Hi,
-
-We solved N issues in this release:
-http://issues.apache.org/jira/...
+The staging area is available at
+  &lt;link to staging repository>
 
-There are still some outstanding issues:
-http://issues.apache.org/jira/...
+An overview of issues fixed in this release can be found in JIRA at
+  &lt;link to version in JIRA>
 
-Staging repository:
-https://repository.apache.org/content/repositories/servicemix-staging-[YOUR REPOSITORY ID]/
+The scm tag is available on
+  &lt;link to tag on git-wip-us.apache.org>
 
 Please vote to approve this release:
 
 [ ] +1 Approve the release
-[ ] -1 Veto the release (please provide specific comments)
+[ ] -1 Do not approve the release (please provide specific comments)
 
 This vote will be open for 72 hours.
-</pre><ul><li><p>to get the JIRA release notes link, browse to the ServiceMix <a href="http://issues.apache.org/jira/browse/ServiceMix">JIRA</a> page, select Release Notes and choose the relevant sub-project release and format (HTML)</p></li><li><p>to get the list of issues left in JIRA, select the Open Issues tab on the main ServiceMix page, and select the relevant sub-project.</p></li></ul><h2 id="WaitfortheResults">Wait for the Results</h2><p>From <a href="http://www.apache.org/foundation/voting.html">Votes on Package Releases</a>:</p><p>    Votes on whether a package is ready to be released follow a format similar to majority approval - except that the decision is officially determined solely by whether at least three +1 votes were registered. Releases may not be vetoed. Generally the community will table the vote to release if anyone identifies serious problems, but in most cases the ultimate decision, once three or more positive votes have been garnered, lies with the individu
 al serving as release manager. The specifics of the process may vary from project to project, but the 'minimum of three +1 votes' rule is universal.</p><p>The list of binding voters is available at <a href="http://servicemix.apache.org/team.html">http://servicemix.apache.org/team.html</a>.</p><p>If the vote is successful, post the result to the dev list - for example:</p><pre>
-To: "ServiceMix Developers List" &lt;dev@servicemix.apache.org>
-Subject: [RESULT] [VOTE] Release ServiceMix [Component] XXX version Y.Z
+</pre></li><li><p>For the next few days, just monitor the vote thread. If a blocking issue arises, it may be necessary to cancel the vote earlier, but otherwise you'll need to wait for at least 72 hours and at least 3 binding +1 votes.</p></li></ol><h3 id="Ifthevotefails">If the vote fails</h3><p>If the vote fails or if you decide to redo the release:</p><ol><li><p>Send a mail to cancel the vote - add the <tt>[CANCEL]</tt> subject prefix when sending this mail</p></li><li><p>On <a href="https://repository.apache.org">https://repository.apache.org</a>, go back to the <tt>Staging repositories</tt>, select your staging repository and click the <tt>Drop</tt> button</p></li><li><p>Remove the tag from your local git repository (<tt>git tag -D &lt;tag></tt>) as well as from the remote git repository (<tt>git push origin :&lt;tag></tt>)</p></li><li><p>After all the reported issues have been fixed, you can circle back to the <strong>Prepare for release</strong> section of this page and give 
 things another go</p></li></ol><h3 id="Ifthevotepasses">If the vote passes</h3><p>If the vote passes</p><ol><li><p>Post the result to the dev@ mailing list, adding the <tt><a href="RESULT.html">RESULT</a></tt> subject prefix</p><pre>To: "ServiceMix Developers List" &lt;dev@servicemix.apache.org>
+Subject: [RESULT] [VOTE] Release Apache ServiceMix X.Y.Z
 
 Hi,
 
@@ -176,32 +156,9 @@ The vote has passed with the following r
 
 I will copy this release to the ServiceMix dist directory and
 promote the artifacts to the central Maven repository.
-</pre><p>If the vote is unsuccessful, you need to fix the issues and restart the process - see <strong>Canceling the Release</strong>.<br/>If the vote is successful, you need to promote and distribute the release - see <strong>Promoting the Release</strong>.</p><h2 id="CancelingtheRelease">Canceling the Release</h2><p>If the vote fails, or you decide to redo the release:</p><ol><li><p>remove the release tag from Subversion (svn del ...)</p></li><li><p>login to https://repository.apache.org using your Apache SVN credentials. Click on Staging on the left. Then click on org.apache.servicemix in the list of repositories. In the panel below you should see a closed repository that is linked to your username and IP (if it's not yet closed you need to right click and select Close). Right click on this repository and select Drop.</p></li><li><p>rollback the version in the pom.xml and commit any fixes you need to make</p></li></ol><h2 id="PromotingtheRelease">Promoting the Release</h2><p>If t
 he vote passes:</p><ol><li><p>copy the released artifacts to the ServiceMix dist directory (/x1/www/www.apache.org/dist/servicemix) on people.apache.org</p></li><li><p>delete the old release from the ServiceMix dist directory (it's archived)</p></li><li><p>login to https://repository.apache.org with your Apache SVN credentials. Click on Staging. Find your closed staging repository, right click on it and choose Promote. Select the Releases repository from the drop-down list and click Promote.</p></li><li><p>next click on Repositories, select the Releases repository and validate that your artifacts are all there</p></li><li><p>update the news section on the website at news</p></li><li><p>update the download page on the website at downloads to point to the new release.</p></li></ol><p>For the last two tasks, it's better to give the mirrors some time to distribute the uploaded artifacts (one day should be fine). This ensures that once the website (news and download page) is updated, peo
 ple can actually download the artifacts.</p><h2 id="UpdateXMLschemas">Update XML schemas</h2><ul><li><p>Update the <a href="Xml schemas.html">Xml schemas</a> page with a link to the HTML and XSD</p></li></ul><h2 id="UpdateJIRA">Update JIRA</h2><p>Go to Admin section on the ServiceMix JIRA and mark the Component/Y.Z version as released - create version Y.Z+1, if that hasn't already been done.</p><h2 id="AnnouncingtheServiceMixRelease">Announcing the ServiceMix Release</h2><pre>
-To: "ServiceMix Developers List" &lt;dev@servicemix.apache.org>
-Subject: [ANN] ServiceMix XXX version Y.Z Released
-
-The ServiceMix team is pleased to announce the release of ServiceMix XXX version Y.Z
-
-&lt;&lt;insert short description of the sub-project>>
-
-  http://servicemix.apache.org/XXX.html
-
-This release is available from http://servicemix.apache.org/downloads and Maven:
-
-  &lt;dependency>
-    &lt;groupId>org.apache.servicemix&lt;/groupId>
-    &lt;artifactId>org.apache.servicemix.XXX&lt;/artifactId>
-    &lt;version>Y.Z&lt;/version>
-  &lt;/dependency>
-
-Release Notes:
-
-&lt;&lt;insert release notes in text format from JIRA>>
-
-Enjoy!
-
--The ServiceMix team
-</pre><p>Remember to forward this announcement to users@servicemix.apache.org - try not to cross-post (CC:) announcements to both user and dev lists.</p>
+</pre></li></ol><h2 id="Promotingthereleaseandpublishdistributions">Promoting the release and publish distributions</h2><p>After the vote has passed successfully...</p><ol><li><p>On <a href="https://repository.apache.org">https://repository.apache.org</a>, go back to the <tt>Staging repositories</tt>, select your staging repository and click the <tt>Promote</tt> button. This will publish the artifacts into the <a href="https://repository.apache.org/content/repositories/releases">https://repository.apache.org/content/repositories/releases</a> repository, from where they will be synced into central repo.</p></li><li><p>To publish the distribution for download:</p><ul><li><p>Check out the distribution repository using Subversion from <a href="https://dist.apache.org/repos/dist/release/servicemix/">https://dist.apache.org/repos/dist/release/servicemix/</a></p></li><li><p>You will need to copy the (source) distribution and the corresponding hash/signature files into the correct directory
 . There's a script called <tt>copy-release-distro.sh</tt> available in <a href="http://svn.apache.org/repos/asf/servicemix/scripts/">http://svn.apache.org/repos/asf/servicemix/scripts/</a> to ease that task. Example:</p><pre>$ cd servicemix-5
+$ &lt;path-to-script>/copy-release-distro.sh &lt;release-version>
+</pre></li><li><p>Afterwards, do <tt>svn add &lt;directory></tt> and commit the new files. For now, just leave the previous version there as well. It will take about 24 hours for the distribution to reach most of the Apache download mirrors.</p></li></ul></li></ol><h2 id="Updatingthewebsiteandannouncingtherelease">Updating the website and announcing the release</h2><p>About a day after you upload the distribution to <tt>dist.apache.org</tt>, you can update the website and send the release announcement</p><ol><li><p>Edit the website (cfr. <a href="source/website-source.html">website-source</a> for more information):</p><ul><li><p>Add a new download page for the release - just copy an existing page and update it accordingly. There's another helper script available (called <tt>release-note-to-wiki.rb</tt>) to convert release notes from text to wiki format. Don't forget to add link on the main <tt>downloads.page</tt></p></li><li><p>On the previous release page, add the <tt>"archive" -> 
 true</tt> bit to indicate that that release will only be available from the archive</p></li><li><p>Add an announcement news item and update the <tt>news/recent.page</tt> to show the item - move the oldest item to the website's <tt>news.page</tt></p></li><li><p>If this is the most recent release, also update the download link on the <tt>index.page</tt></p></li></ul></li><li><p>Send out the release annoucement mail to the dev@ and users@ mailing lists</p></li></ol><h2 id="Wrappingup">Wrapping up</h2><p>You're nearly there now - just a few loose ends to tie up:</p><ol><li><p>In JIRA, mark the version released. If the next two versions have not yet been created, this would be a good time to do that as well.</p></li><li><p>Go back to your checkout directory for <a href="https://dist.apache.org/repos/dist/release/servicemix/">https://dist.apache.org/repos/dist/release/servicemix/</a> and remove the previous two version - after the update to the website in the previous step, people will no
 w be downloading those from the archives instead.</p></li><li><p>If you haven't done so a few times along the way, now would be an excellent time to get yourself a drink to celebrate the new release ;)</p></li></ol>
                 </div>
               </td>
             </tr>



Mime
View raw message