You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by re...@apache.org on 2008/09/22 16:34:58 UTC

svn commit: r697852 - /cocoon/cocoon3/trunk/RELEASE_HOWTO.txt

Author: reinhard
Date: Mon Sep 22 07:34:57 2008
New Revision: 697852

URL: http://svn.apache.org/viewvc?rev=697852&view=rev
Log:
add notes about how to perform and test Cocoon 3 releases

Added:
    cocoon/cocoon3/trunk/RELEASE_HOWTO.txt   (with props)

Added: cocoon/cocoon3/trunk/RELEASE_HOWTO.txt
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/RELEASE_HOWTO.txt?rev=697852&view=auto
==============================================================================
--- cocoon/cocoon3/trunk/RELEASE_HOWTO.txt (added)
+++ cocoon/cocoon3/trunk/RELEASE_HOWTO.txt Mon Sep 22 07:34:57 2008
@@ -0,0 +1,52 @@
+HOWTO RELEASE COCOON 3
+----------------------
+
+* rename trunk/release.pom.xml to trunk/pom.xml
+* comment modules section in parent/pom.xml
+* set all versions in the generated pom.xml files of all archetypes
+ 
+* mvn release:perform -Darguments="-Dgpg.passphrase='[secret passphrase]' -P release" -P release
+ 
+* tag all modules manually (should write some script for that purpose)
+* set all versions in the genreated pom.xml files of all archetypes back to SNAPSHOT
+* rename /pom.xml to release.pom.xml
+ 
+HOWTO TEST A COCOON 3 RELEASE
+-----------------------------
+
+* run all archetypes:
+mvn archetype:create -DarchetypeGroupId=org.apache.cocoon.archetype-sample -DarchetypeArtifactId=cocoon-archetype-sample -DarchetypeVersion=3.0.0 -DgroupId=com.mycompany -DartifactId=myBlock
+
+mvn archetype:create -DarchetypeGroupId=org.apache.cocoon.archetype-block -DarchetypeArtifactId=cocoon-archetype-block -DarchetypeVersion=3.0.0 -DgroupId=at.professionalstyle -DartifactId=ps-site
+
+mvn archetype:create -DarchetypeGroupId=org.apache.cocoon.archetype-parent -DarchetypeArtifactId=cocoon-archetype-parent -DarchetypeVersion=3.0.0 -DgroupId=at.professionalstyle -DartifactId=parent
+
+mvn archetype:create -DarchetypeGroupId=org.apache.cocoon.archetype-webapp -DarchetypeArtifactId=cocoon-archetype-webapp -DarchetypeVersion=3.0.0 -DgroupId=at.professionalstyle -DartifactId=ps-webapp
+
+* check GPG, MD5 and SHA1 files
+
+* use the new artifacts in projects that depend on previous or SNAPSHOT versions. Add the Cocoon staging repository to your ~/.m2/settings.xml
+
+<?xml version="1.0" encoding="UTF-8"?>
+<settings xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
+  <profiles>
+    <profile>
+      <id>cocoon-staging</id>
+      <repositories>
+        <repository>
+          <id>cocoon.staging</id>
+          <name>Cocoon staging repository</name>
+          <url>http://people.apache.org/builds/cocoon</url>
+        </repository>
+      </repositories>
+      <pluginRepositories>
+        <pluginRepository>
+          <id>cocoon.staging</id>
+          <name>Cocoon staging repository</name>
+          <url>http://people.apache.org/builds/cocoon</url>
+        </pluginRepository>
+      </pluginRepositories>
+    </profile>
+</settings>
+
+and use it: e.g. mvn install -P cocoon-staging
\ No newline at end of file

Propchange: cocoon/cocoon3/trunk/RELEASE_HOWTO.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/cocoon3/trunk/RELEASE_HOWTO.txt
------------------------------------------------------------------------------
    svn:keywords = Id

Propchange: cocoon/cocoon3/trunk/RELEASE_HOWTO.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain