Author: rgoers
Date: Tue Dec 21 04:40:14 2010
New Revision: 1051373

URL: http://svn.apache.org/viewvc?rev=1051373&view=rev
Log:
Include release notes in bin distribution

Added:
    commons/proper/vfs/trunk/src/changes/announcement.vm
Modified:
    commons/proper/vfs/trunk/core/pom.xml
    commons/proper/vfs/trunk/dist/pom.xml
    commons/proper/vfs/trunk/dist/src/assembly/bin.xml
    commons/proper/vfs/trunk/dist/src/assembly/src.xml
    commons/proper/vfs/trunk/examples/pom.xml
    commons/proper/vfs/trunk/pom.xml
    commons/proper/vfs/trunk/sandbox/pom.xml
    commons/proper/vfs/trunk/src/changes/changes.xml

Modified: commons/proper/vfs/trunk/core/pom.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/pom.xml?rev=1051373&r1=1051372&r2=1051373&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/pom.xml (original)
+++ commons/proper/vfs/trunk/core/pom.xml Tue Dec 21 04:40:14 2010
@@ -24,13 +24,13 @@
   <name>Commons VFS Core</name>
   <groupId>org.apache.commons</groupId>
   <artifactId>commons-vfs2</artifactId>
-  <version>2.1-SNAPSHOT</version>
+  <version>2.0-SNAPSHOT</version>
   <description>VFS is a Virtual File System library.</description>
 
   <parent>
     <groupId>org.apache.commons</groupId>
     <artifactId>commons-vfs2-project</artifactId>
-    <version>2.1-SNAPSHOT</version>
+    <version>2.0-SNAPSHOT</version>
     <relativePath>../</relativePath>
   </parent>
 

Modified: commons/proper/vfs/trunk/dist/pom.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/vfs/trunk/dist/pom.xml?rev=1051373&r1=1051372&r2=1051373&view=diff
==============================================================================
--- commons/proper/vfs/trunk/dist/pom.xml (original)
+++ commons/proper/vfs/trunk/dist/pom.xml Tue Dec 21 04:40:14 2010
@@ -24,14 +24,14 @@ limitations under the License.
   <name>Commons VFS Distribution</name>
   <groupId>org.apache.commons</groupId>
   <artifactId>commons-vfs2-distribution</artifactId>
-  <version>2.1-SNAPSHOT</version>
+  <version>2.0-SNAPSHOT</version>
   <packaging>pom</packaging>
   <description>VFS is a Virtual File System library - Distribution 
archives.</description>
 
   <parent>
     <groupId>org.apache.commons</groupId>
     <artifactId>commons-vfs2-project</artifactId>
-    <version>2.1-SNAPSHOT</version>
+    <version>2.0-SNAPSHOT</version>
     <relativePath>../</relativePath>
   </parent>
 

Modified: commons/proper/vfs/trunk/dist/src/assembly/bin.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/vfs/trunk/dist/src/assembly/bin.xml?rev=1051373&r1=1051372&r2=1051373&view=diff
==============================================================================
--- commons/proper/vfs/trunk/dist/src/assembly/bin.xml (original)
+++ commons/proper/vfs/trunk/dist/src/assembly/bin.xml Tue Dec 21 04:40:14 2010
@@ -45,8 +45,14 @@ limitations under the License.
             <includes>
                 <include>LICENSE.txt</include>
                 <include>NOTICE.txt</include>
-                <include>RELEASE-NOTES.txt</include>
             </includes>
         </fileSet>
     </fileSets>
+    <files>
+         <file>
+            <source>../target/announcement/announcement.vm</source>
+            <outputDirectory>.</outputDirectory>
+            <destName>RELEASE-NOTES.txt</destName>
+        </file>     
+    </files>
 </assembly>

Modified: commons/proper/vfs/trunk/dist/src/assembly/src.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/vfs/trunk/dist/src/assembly/src.xml?rev=1051373&r1=1051372&r2=1051373&view=diff
==============================================================================
--- commons/proper/vfs/trunk/dist/src/assembly/src.xml (original)
+++ commons/proper/vfs/trunk/dist/src/assembly/src.xml Tue Dec 21 04:40:14 2010
@@ -53,6 +53,7 @@
         
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?[^/]*\.iws]</exclude>
         
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?[^/]*\.ipr]</exclude>
         
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?[^/]*\.iml]</exclude>
+        
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.idea(/.*)?]</exclude>
        
         
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.settings(/.*)?]</exclude>
         
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.externalToolBuilders(/.*)?]</exclude>
         
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.deployables(/.*)?]</exclude>
@@ -60,6 +61,7 @@
 
         <!-- misc -->
         
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?cobertura\.ser]</exclude>
+        
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?doap_vfs\.rdf]</exclude>
 
         <!-- release-plugin temp files -->
         
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?pom\.xml\.releaseBackup]</exclude>

Modified: commons/proper/vfs/trunk/examples/pom.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/vfs/trunk/examples/pom.xml?rev=1051373&r1=1051372&r2=1051373&view=diff
==============================================================================
--- commons/proper/vfs/trunk/examples/pom.xml (original)
+++ commons/proper/vfs/trunk/examples/pom.xml Tue Dec 21 04:40:14 2010
@@ -24,13 +24,13 @@
   <name>Commons VFS Examples</name>
   <groupId>org.apache.commons</groupId>
   <artifactId>commons-vfs2-examples</artifactId>
-  <version>2.1-SNAPSHOT</version>
+  <version>2.0-SNAPSHOT</version>
   <description>VFS is a Virtual File System library - Examples.</description>
 
   <parent>
     <groupId>org.apache.commons</groupId>
     <artifactId>commons-vfs2-project</artifactId>
-    <version>2.1-SNAPSHOT</version>
+    <version>2.0-SNAPSHOT</version>
     <relativePath>../</relativePath>
   </parent>
 

Modified: commons/proper/vfs/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/vfs/trunk/pom.xml?rev=1051373&r1=1051372&r2=1051373&view=diff
==============================================================================
--- commons/proper/vfs/trunk/pom.xml (original)
+++ commons/proper/vfs/trunk/pom.xml Tue Dec 21 04:40:14 2010
@@ -31,7 +31,7 @@
   <name>Commons VFS</name>
   <description>VFS is a Virtual File System library.</description>
   <packaging>pom</packaging>
-  <version>2.1-SNAPSHOT</version>
+  <version>2.0-SNAPSHOT</version>
 
   <url>http://commons.apache.org/vfs/</url>
   <inceptionYear>2002</inceptionYear>
@@ -196,7 +196,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-changes-plugin</artifactId>
-        <version>2.0</version>
+        <version>2.3</version>
         <configuration>
           <xmlPath>${basedir}/src/changes/changes.xml</xmlPath>
           <issueLinkTemplate>%URL%/%ISSUE%</issueLinkTemplate>
@@ -411,6 +411,25 @@
       <id>apache-release</id>
       <build>
         <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-changes-plugin</artifactId>
+            <version>2.3</version>
+            <configuration>
+              <template>announcement.vm</template>
+              <templateDirectory>src/changes</templateDirectory>
+              <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
+            </configuration>
+            <executions>
+              <execution>
+                <id>create-announcement</id>
+                <phase>package</phase>
+                <goals>
+                  <goal>announcement-generate</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
           <!-- Activate the right profile for the actual release build. Make 
sure that
                the release plugin passes this on to the deploy plugin.
                remove when commons-parent 18 is released.

Modified: commons/proper/vfs/trunk/sandbox/pom.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/vfs/trunk/sandbox/pom.xml?rev=1051373&r1=1051372&r2=1051373&view=diff
==============================================================================
--- commons/proper/vfs/trunk/sandbox/pom.xml (original)
+++ commons/proper/vfs/trunk/sandbox/pom.xml Tue Dec 21 04:40:14 2010
@@ -24,13 +24,13 @@
   <name>Commons VFS Sandbox</name>
   <groupId>org.apache.commons</groupId>
   <artifactId>commons-vfs2-sandbox</artifactId>
-  <version>2.1-SNAPSHOT</version>
+  <version>2.0-SNAPSHOT</version>
   <description>VFS is a Virtual File System library - Sandbox.</description>
 
   <parent>
     <groupId>org.apache.commons</groupId>
     <artifactId>commons-vfs2-project</artifactId>
-    <version>2.1-SNAPSHOT</version>
+    <version>2.0-SNAPSHOT</version>
     <relativePath>../</relativePath>
   </parent>
 

Added: commons/proper/vfs/trunk/src/changes/announcement.vm
URL: 
http://svn.apache.org/viewvc/commons/proper/vfs/trunk/src/changes/announcement.vm?rev=1051373&view=auto
==============================================================================
--- commons/proper/vfs/trunk/src/changes/announcement.vm (added)
+++ commons/proper/vfs/trunk/src/changes/announcement.vm Tue Dec 21 04:40:14 
2010
@@ -0,0 +1,121 @@
+## Licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements.  See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership.  The ASF licenses this file
+## to you under the Apache License, Version 2.0 (the
+## "License"); you may not use this file except in compliance
+## with the License.  You may obtain a copy of the License at
+##
+##  http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing,
+## software distributed under the License is distributed on an
+## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+## KIND, either express or implied.  See the License for the
+## specific language governing permissions and limitations
+## under the License.
+The ${developmentTeam} is pleased to announce the commons-vfs2 ${version} 
release!
+
+${introduction}
+
+Commons VFS 2.0 requires a minimum of Java 5 to build and run and is not 
binary compatible with Commons VFS 1.0. The
+Maven groupId and artifactId have been changed to org.apache.commons and 
commons-vfs2 respectively.
+
+#if ($release.getActions().size() == 0)
+No changes defined in this version.
+#else
+Changes in this version include:
+
+#if ($release.getActions('add').size() !=0)
+New features:
+#foreach($actionItem in $release.getActions('add'))
+#set($action=$actionItem.getAction())
+#if ($actionItem.getIssue())
+#set($issue=$actionItem.getIssue())
+#else
+#set($issue="")
+#end
+#if ($actionItem.getDueTo())
+#set($dueto=$actionItem.getDueTo())
+#else
+#set($dueto="")
+#end
+o ${action} #if($!issue != "") Issue: $issue. #end#if($!dueto != "")Thanks to 
$dueto. #end
+
+#set($issue="")
+#set($dueto="")
+#end
+#end
+
+#if ($release.getActions('fix').size() !=0)
+Fixed Bugs:
+#foreach($actionItem in $release.getActions('fix'))
+#set($action=$actionItem.getAction())
+#if ($actionItem.getIssue())
+#set($issue=$actionItem.getIssue())
+#else
+#set($issue="")
+#end
+#if ($actionItem.getDueTo())
+#set($dueto=$actionItem.getDueTo())
+#else
+#set($dueto="")
+#end
+o ${action} #if($!issue != "") Issue: $issue. #end#if($!dueto != "")Thanks to 
$dueto. #end
+
+#set($issue="")
+#set($dueto="")
+#end
+#end
+
+#if ($release.getActions('update').size() !=0)
+Changes:
+#foreach($actionItem in $release.getActions('update'))
+#set($action=$actionItem.getAction())
+#if ($actionItem.getIssue())
+#set($issue=$actionItem.getIssue())
+#else
+#set($issue="")
+#end
+#if ($actionItem.getDueTo())
+#set($dueto=$actionItem.getDueTo())
+#else
+#set($dueto="")
+#end
+o ${action} #if($!issue != "") Issue: $issue. #end#if($!dueto != "")Thanks to 
$dueto. #end
+
+#set($issue="")
+#set($dueto="")
+#end
+#end
+
+#if ($release.getActions('remove').size() !=0)
+Removed:
+#foreach($actionItem in $release.getActions('remove'))
+#set($action=$actionItem.getAction())
+#if ($actionItem.getIssue())
+#set($issue=$actionItem.getIssue())
+#else
+#set($issue="")
+#end
+#if ($actionItem.getDueTo())
+#set($dueto=$actionItem.getDueTo())
+#else
+#set($dueto="")
+#end
+o ${action} #if($!issue != "") Issue: $issue. #end#if($!dueto != "")Thanks to 
$dueto. #end
+
+#set($issue="")
+#set($dueto="")
+#end
+#end
+## End of main loop
+#end
+#if ($urlDownload)
+
+For a manual installation, you can download the ${finalName} here:
+${urlDownload}
+#end
+
+Have fun!
+-${developmentTeam}

Modified: commons/proper/vfs/trunk/src/changes/changes.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/vfs/trunk/src/changes/changes.xml?rev=1051373&r1=1051372&r2=1051373&view=diff
==============================================================================
--- commons/proper/vfs/trunk/src/changes/changes.xml (original)
+++ commons/proper/vfs/trunk/src/changes/changes.xml Tue Dec 21 04:40:14 2010
@@ -22,7 +22,7 @@
   </properties>
 
   <body>
-    <release version="2.0" date="in SVN" description="">
+    <release version="2.0" date="" description="Backwards incompatible update 
of Commons VFS to Java 5">
       <action issue="VFS-230" dev="rgoers" type="fix">
         Documented FileSystem capabilities on the web site.
       </action>


Reply via email to