geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Geronimo Project Management > Special instructions for releasing the Server (used on Geronimo 2.2)
Date Tue, 30 Nov 2010 06:49:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/1810/9/1/_/styles/combined.css?spaceKey=GMOxPMGT&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://cwiki.apache.org/confluence/display/GMOxPMGT/Special+instructions+for+releasing+the+Server+%28used+on+Geronimo+2.2%29">Special
instructions for releasing the Server (used on Geronimo 2.2)</a></h2>
    <h4>Page  <b>added</b> by             <a href="https://cwiki.apache.org/confluence/display/~rwonly">Rex
Wang</a>
    </h4>
         <br/>
    <div class="notificationGreySide">
         
<h2><a name="SpecialinstructionsforreleasingtheServer%28usedonGeronimo2.2%29-NewNexusReleaseGuidelines"></a>New
Nexus Release Guidelines</h2>

<p>Follow the new <a href="http://maven.apache.org/developers/release/apache-release.html"
class="external-link" rel="nofollow">Apache Release process for Nexus</a>, which
all projects must use moving forward.  These steps apply to a given project if:</p>
<ol>
	<li>It uses Genesis 2.x as a parent POM</li>
	<li>It uses the following for the Snapshot and Release repos in distributionManagement
-
	<ul>
		<li>apache.releases.https</li>
		<li><a href="https://repository.apache.org/" class="external-link" rel="nofollow">https://repository.apache.org/</a></li>
	</ul>
	</li>
</ol>


<p>For additional details on the Nexus repo changes, take a look at the doc links in
the following JIRA, until we have a new process documented -<br/>
<a href="http://issues.apache.org/jira/browse/INFRA-1896" class="external-link" rel="nofollow">INFRA-1896</a></p>


<h3><a name="SpecialinstructionsforreleasingtheServer%28usedonGeronimo2.2%29-SpecialinstructionsforreleasingtheServer%28usedonGeronimo2.2%29"></a>Special
instructions for releasing the Server (used on Geronimo 2.2)</h3>

<h4><a name="SpecialinstructionsforreleasingtheServer%28usedonGeronimo2.2%29-Overview"></a>Overview</h4>

<p>Run the normal release plugin steps, but with the following additional profiles:</p>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>mvn release:prepare -Pall-subprojects -Papache-release -Dtest=false
mvn release:perform -Pall-subprojects -Papache-release -Dtest=false
</pre>
</div></div>

<h4><a name="SpecialinstructionsforreleasingtheServer%28usedonGeronimo2.2%29-Preparationanddiscussion"></a>Preparation
and discussion</h4>

<p>We have a lot of server bits that don't normally get run in a build and shouldn't
be released.  These are typically integration tests or test servers for plugins.  All these
projects have to be built during the release so the versions get updated properly.  Since
mistakes here won't cause build problems except during releases, you have to check carefully
that all projects are built in the all-subprojects profile.  Note that integration tests are
often run from non-pom packaging projects so you have to add such projects as modules to the
closest parent project that is pom packaging.</p>

<p>When I tried it the versions plugin did not successfully update all the child projects
in testsuite, I had to actually run the release process to determine if all modules were getting
their versions updated.</p>

<p>Many projects such as integration tests, test servers, and the testsuite should not
get deployed.  You can arrange this by including this configuration in the topmost pom that
should not be deployed:</p>

<p>&lt;plugin&gt;<br/>
&lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;<br/>
&lt;artifactId&gt;maven-deploy-plugin&lt;/artifactId&gt;<br/>
&lt;configuration&gt;<br/>
&lt;skip&gt;true&lt;/skip&gt;<br/>
&lt;/configuration&gt;<br/>
&lt;/plugin&gt;</p>


<p>in build/plugins.</p>
    </div>
    <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;">
            <a href="https://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
       </div>
       <a href="https://cwiki.apache.org/confluence/display/GMOxPMGT/Special+instructions+for+releasing+the+Server+%28used+on+Geronimo+2.2%29">View
Online</a>
              |
       <a href="https://cwiki.apache.org/confluence/display/GMOxPMGT/Special+instructions+for+releasing+the+Server+%28used+on+Geronimo+2.2%29?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
           </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message