A document has been updated: http://cocoon.zones.apache.org/daisy/documentation/1199.html
Document ID: 1199 Branch: main Language: default Name: Releasing Cocoon (unchanged) Document Type: Cocoon Document (unchanged) Updated on: 8/9/06 12:11:42 PM Updated by: Reinhard Pötz A new version has been created, state: publish Parts ===== Content ------- This part has been updated. Mime type: text/xml (unchanged) File name: (unchanged) Size: 3565 bytes (previous version: 3697 bytes) Content diff: (44 equal lines skipped) <ol> <li>refer to an already released parent in pom.xml</li> --- <li><tt>mvn -Dusername=[svn-user-name] -Dpassword=******** release:prepare --- -Darguments="-N"</tt></li> --- <li><tt>mvn -Dusername=</tt><tt>[svn-user-name]</tt><tt> -Dpassword=******** +++ <li><tt>mvn -N -Dusername=[svn-user-name] -Dpassword=******** release:prepare +++ -Darguments="-N"<br/> +++ </tt></li> +++ <li><tt>mvn -N -Dusername=</tt><tt>[svn-user-name]</tt><tt> -Dpassword=******** release:perform -Darguments="-N"</tt></li> </ol> --- <p>If the "-N" option doesn't work for you, you have to comment the modules --- section in the pom by hand and comment it out after the release.</p> --- <p>Take care to manually change all poms that have the released pom as a parent. For example you release cocoon-blocks-modules under version 3, before it was 2-SNAPSHOT. The next version increment of that pom is thus 3-SNAPSHOT, and you (15 equal lines skipped) </li> </ol> --- <h1><strong>Tipps and tricks</strong></h1> +++ <h1><strong>Tips and tricks</strong></h1> <ul> <li>You can probably omit the username and password if you have committed to the cocoon repository before, SVN should have cached your login credentials. (anyway that's how it was for me on Mac OS X)</li> <li>You can shortcut the execution by specifying both goals in one:<br/> --- <tt>mvn release:prepare release:perform -Darguments="-N"</tt></li> +++ <tt>mvn -N release:prepare release:perform -Darguments="-N"</tt></li> <li>You can reach the rsync repository via http at <a href="http://people.apache.org/repo/m2-ibiblio-rsync-repository/">http://people.apache.org/repo/m2-ibiblio-rsync-repository/</a> </li> (14 equal lines skipped)