Author: brett
Date: Tue Jan  3 12:05:30 2012
New Revision: 1226752

URL: http://svn.apache.org/viewvc?rev=1226752&view=rev
Log:
updated release plugin and instructions

Modified:
    incubator/npanday/trunk/pom.xml
    incubator/npanday/trunk/site/src/site/apt/developers/releasing.apt

Modified: incubator/npanday/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/npanday/trunk/pom.xml?rev=1226752&r1=1226751&r2=1226752&view=diff
==============================================================================
--- incubator/npanday/trunk/pom.xml (original)
+++ incubator/npanday/trunk/pom.xml Tue Jan  3 12:05:30 2012
@@ -38,6 +38,16 @@ under the License.
     <mavenVersion>2.2.1</mavenVersion>
     <plexus.utils.version>1.5.11</plexus.utils.version>
     <!-- if you want to build NPanday with a specific version, replace this -->
+    <!-- 
+      Note: this will cause problems trying to release the first time. We can 
do
+      this:
+        mvn release:prepare -Prun-its.dist
+      when it fails...
+        bootstrap.bat
+      then...
+        mvn release:prepare -Prun-its,dist
+      After the release, the boostrap can hang to a previous version again
+    -->
     <bootstrap.npanday.version>${project.version}</bootstrap.npanday.version>
   </properties>
 
@@ -285,7 +295,7 @@ under the License.
        <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-release-plugin</artifactId>
-        <version>2.2.1</version>
+        <version>2.2.2</version>
         <configuration>
           
<tagBase>https://svn.apache.org/repos/asf/incubator/npanday/tags</tagBase>
           
<branchBase>https://svn.apache.org/repos/asf/incubator/npanday/branches</branchBase>
@@ -700,7 +710,6 @@ under the License.
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-release-plugin</artifactId>
-            <version>2.2.1</version>
             <configuration>
               <updateBranchVersions>true</updateBranchVersions>
               <updateWorkingCopyVersions>false</updateWorkingCopyVersions>

Modified: incubator/npanday/trunk/site/src/site/apt/developers/releasing.apt
URL: 
http://svn.apache.org/viewvc/incubator/npanday/trunk/site/src/site/apt/developers/releasing.apt?rev=1226752&r1=1226751&r2=1226752&view=diff
==============================================================================
--- incubator/npanday/trunk/site/src/site/apt/developers/releasing.apt 
(original)
+++ incubator/npanday/trunk/site/src/site/apt/developers/releasing.apt Tue Jan  
3 12:05:30 2012
@@ -61,34 +61,9 @@ Creating a Release Candidate
 
   Send a proposal in the discussion forum regarding the release and the issues 
that would be fix in the said release.
 
-  The release will be done using the command line.
+  The release will be done using the command line. You must release the ITs
+  before NPanday (or peg the runner to an older version).
   
-* Steps in releasing NPanday:
-
-  [[1]] Check out the code from 
{{https://svn.apache.org/repos/asf/incubator/npanday/trunk//}}
-  
-  [[2]] Run the following command:
-  
-----
-mvn release:prepare -Pnpanday-release
-----
-
-  [[3]] Fill in the following values:
-  
-   * the release version should be <<<1.4.1-incubating>>> or similar (use the 
release version)
-     
-   * the SCM tag should be <<<npanday-1.4.1-incubating>>> or similar (use the 
release version)
-     
-   * check the values for the <Release version> and <Next development version> 
are correct      
-  
-  [[4]] Check if the tag was successfully created in 
{{https://svn.apache.org/repos/asf/incubator/npanday/tags/}}
-  
-  [[5]] After successful release:prepare, run the following command:
-
-----
-mvn release:perform -Pnpanday-release -Dtag=url_tag
-----
-
 * Steps in releasing NPanday-ITs
 
   [[1]] Check out the code from 
{{https://svn.apache.org/repos/asf/incubator/npanday/npanday-its/trunk/}}
@@ -112,7 +87,33 @@ mvn release:prepare
   [[5]] After successful release:prepare, run the following command:
 
 ----
-mvn release:perform -Pnpanday-release -Dtag=url_tag
+mvn release:perform -Dtag=url_tag
+----
+
+* Steps in releasing NPanday:
+
+  [[1]] Check out the code from 
{{https://svn.apache.org/repos/asf/incubator/npanday/trunk//}}
+  
+  [[2]] Run the following command:
+  
+----
+mvn release:prepare -Pdist,run-its
+----
+
+  [[3]] Fill in the following values:
+  
+   * the release version should be <<<1.4.1-incubating>>> or similar (use the 
release version)
+     
+   * the SCM tag should be <<<npanday-1.4.1-incubating>>> or similar (use the 
release version)
+     
+   * check the values for the <Release version> and <Next development version> 
are correct      
+  
+  [[4]] Check if the tag was successfully created in 
{{https://svn.apache.org/repos/asf/incubator/npanday/tags/}}
+  
+  [[5]] After successful release:prepare, run the following command:
+
+----
+mvn release:perform
 ----
 
   To verify if the release was successful, check that the artifacts has been 
populated in {{http://vmbuild.apache.org/archiva/repository/staged-npanday/}}


Reply via email to