cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Cayenne Website > Publishing Maven Artifacts
Date Fri, 21 Aug 2009 12:01:00 GMT
<html>
<head>
    <base href="http://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/1519/1/1/_/styles/combined.css?spaceKey=CAYSITE&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background-color: white" bgcolor="white">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
     <h2><a href="http://cwiki.apache.org/confluence/display/CAYSITE/Publishing+Maven+Artifacts">Publishing
Maven Artifacts</a></h2>
     <h4>Page <b>edited</b> by             <a href="http://cwiki.apache.org/confluence/display/~andrus">Andrus
Adamchik</a>
    </h4>
     
          <br/>
     <div class="notificationGreySide">
         <p>Note that this page is of use for committers only. It describes a procedure
of publishing intermediate snapshots of Cayenne.</p>


<h2><a name="PublishingMavenArtifacts-PublishingSNAPSHOTS"></a>Publishing
SNAPSHOTS</h2>

<h3><a name="PublishingMavenArtifacts-Prerequisites"></a>Prerequisites</h3>

<ul>
	<li>You must be a committer</li>
	<li>You should be able to <a href="/confluence/display/CAYSITE/Building+Cayenne"
title="Building Cayenne">build Cayenne with Maven</a>.</li>
	<li>As publishing a snapshot affects other users and peer developers, it is a good
idea to announce that snapshot is to be published in advance on the dev list. No need for
a formal vote, but it is implied that any objections must be discussed and addressed in some
form.</li>
	<li>Set the right snapshot permissions in your <tt>"~/.m2/settings.xml"</tt>,
for more details see <a href="http://people.apache.org/repo/m2-snapshot-repository/README.txt"
rel="nofollow">/www/people.apache.org/repo/m2-snapshot-repository/README.txt</a>
on people.apache.org:</li>
</ul>


<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>&lt;servers&gt;
        &lt;server&gt;
            &lt;id&gt;apache-snapshots&lt;/id&gt;
            &lt;username&gt;aadamchik&lt;/username&gt;
                &lt;directoryPermissions&gt;775&lt;/directoryPermissions&gt;
                &lt;filePermissions&gt;644&lt;/filePermissions&gt;
        &lt;/server&gt;
&lt;/servers&gt;</pre>
</div></div>



<h3><a name="PublishingMavenArtifacts-PublishingMavenSnapshots"></a>Publishing
Maven Snapshots</h3>

<p>Cayenne build system is configured to only include "public" submodules when doing
a deploy, so all you need to do is this:</p>

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre># cd cayenne 
# mvn deploy</pre>
</div></div>

<h2><a name="PublishingMavenArtifacts-PublishingaRelease"></a>Publishing
a Release</h2>

<h3><a name="PublishingMavenArtifacts-Prerequisites"></a>Prerequisites</h3>

<ul>
	<li>The release must be approved by the PMC.</li>
	<li>make sure the <a href="/confluence/display/CAYSITE/Building+Cayenne" title="Building
Cayenne">Maven build</a> is done with checksum option:</li>
</ul>


<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>mvn install -DcreateChecksum=true</pre>
</div></div>
<ul>
	<li>Set the right snapshot permissions in your <tt>"~/.m2/settings.xml"</tt>,
for more details see <a href="http://people.apache.org/repo/m2-snapshot-repository/README.txt"
rel="nofollow">/www/people.apache.org/repo/m2-snapshot-repository/README.txt</a>
on people.apache.org:</li>
</ul>


<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>&lt;servers&gt;
        &lt;server&gt;
                &lt;id&gt;apache-releases&lt;/id&gt;
                &lt;username&gt;aadamchik&lt;/username&gt;
                &lt;directoryPermissions&gt;775&lt;/directoryPermissions&gt;
                &lt;filePermissions&gt;644&lt;/filePermissions&gt;
        &lt;/server&gt;
&lt;/servers&gt;</pre>
</div></div>

<h3><a name="PublishingMavenArtifacts-PublishingReleaseArtifacts"></a>Publishing
Release Artifacts</h3>

<p><em>TODO: signing, scripting deployment in the POM</em></p>

<p>Cayenne build system is configured to only include "public" submodules when doing
a deploy, so all you need to do is this:</p>

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre># cd cayenne 
# mvn deploy</pre>
</div></div>

     </div>
     <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;">
            <a href="http://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
       </div>

       <a href="http://cwiki.apache.org/confluence/display/CAYSITE/Publishing+Maven+Artifacts">View
Online</a>
       |
       <a href="http://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=47078&revisedVersion=15&originalVersion=14">View
Change</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message