Release 5.1.0.2

git-svn-id: https://svn.apache.org/repos/asf/tapestry/tapestry5/trunk@758902 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/pom.xml b/pom.xml
index a4efa88..bf210be 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
     <groupId>org.apache.tapestry</groupId>
     <artifactId>tapestry-project</artifactId>
     <packaging>pom</packaging>
-    <version>5.1.0.2-SNAPSHOT</version>
+    <version>5.1.0.2</version>
     <name>Tapestry 5 Project</name>
     <description>Master project for the modules of Tapestry 5.</description>
     <inceptionYear>2006</inceptionYear>
diff --git a/quickstart/pom.xml b/quickstart/pom.xml
index 8168709..88b8a9b 100644
--- a/quickstart/pom.xml
+++ b/quickstart/pom.xml
@@ -14,7 +14,7 @@
     <parent>
         <groupId>org.apache.tapestry</groupId>
         <artifactId>tapestry-project</artifactId>
-        <version>5.1.0.2-SNAPSHOT</version>
+        <version>5.1.0.2</version>
     </parent>
     <name>Tapestry 5 Quickstart Archetype</name>
     <inceptionYear>2007</inceptionYear>
diff --git a/quickstart/src/main/resources/archetype-resources/pom.xml b/quickstart/src/main/resources/archetype-resources/pom.xml
index 3fe325d..bba7572 100644
--- a/quickstart/src/main/resources/archetype-resources/pom.xml
+++ b/quickstart/src/main/resources/archetype-resources/pom.xml
@@ -131,6 +131,6 @@
     </pluginRepositories>
 
     <properties>
-        <tapestry-release-version>5.1.0.2-SNAPSHOT</tapestry-release-version>
+        <tapestry-release-version>5.1.0.2</tapestry-release-version>
     </properties>
 </project>
diff --git a/src/site/apt/dev/checklist.apt b/src/site/apt/dev/checklist.apt
index 2c7ca3f..20fafd1 100644
--- a/src/site/apt/dev/checklist.apt
+++ b/src/site/apt/dev/checklist.apt
@@ -14,10 +14,10 @@
   
 Bumping the Version Number
 
-  At this point, the version number of the project POM is 5.0.x-SNAPSHOT. 
+  At this point, the version number of the project POM is 5.1.0.x-SNAPSHOT. 
   Modules inherit their version number from the project POM version number.
   
-  We need to update the version number across all modules, from 5.0.x-SNAPSHOT to just 5.0.x.
+  We need to update the version number across all modules, from 5.1.0.x-SNAPSHOT to just 5.1.0.x.
   
   The Ruby script,  support/update-versions, can change the version numbers everywhere they need changing.  A single parameter on the command line is the new version number.
     	 
@@ -29,7 +29,7 @@
   
   {{{https://issues.apache.org/jira/secure/project/ManageVersions.jspa?pid=12310833}https://issues.apache.org/jira/secure/project/ManageVersions.jspa?pid=12310833}}
   
-  to add the next release.  Any bugs that are fixed will be tagged with this new version number (5.0.x + 1).  Example: after building out 5.0.3, create 5.0.4.    
+  to add the next release.  Any bugs that are fixed will be tagged with this new version number (5.1.0.x + 1).  Example: after building out 5.1.0.3, create 5.1.0.4.
   Schedule it above the existing version.
   
   While you're there, use the <<Release>> option for the previous release; this ensures that any existing bugs are not marked as pending for the old release,
@@ -40,12 +40,15 @@
   JIRA has the ability to generate release notes automatically (this is why it is so important to keep the fix version number accurate).
   
   {{{https://issues.apache.org/jira/secure/ConfigureReleaseNote.jspa?projectId=12310833}https://issues.apache.org/jira/secure/ConfigureReleaseNote.jspa?projectId=12310833}}
+
+  <<Manually check this list for accuracy!>>  I've repeatedly seen closed bugs that were not fixed (i.e., duplicate) marked with a fix version, so that they incorrectly show
+  up in this list. Find those, edit them to remove the fix release (only actually fixed bugs should have a fix release) and re-run the report.
   
   Select the correct version, in HTML format.
   
-  Paste the notes to the <<top>> of tapestry-project/src/site/xdoc/release-notes.xdoc
+  Paste the notes to the <<top>> of tapestry-project/src/site/xdoc/release-notes.xml
   
-  Wrap the title ("Release Notes - Tapestry - Version 5.0.x") inside an \<h1\> element.
+  Wrap the title ("Release Notes - Tapestry - Version 5.1.0.x") inside an \<h1\> element.
 
 Build and Deploy Artifacts
 
@@ -115,21 +118,21 @@
   
 Tag In Subversion
 
-  You must the tag the source in SVN, copying the trunk folder to tags/releases/5.0.x.  The SVN tags/releases folder must
+  You must the tag the source in SVN, copying the trunk folder to tags/releases/5.1.0.x.  The SVN tags/releases folder must
   already exist, the specific folder must not.
 
   I do this from IntelliJ, but the command line (for example) is pretty straight forward (and I may create a script to help with this):
     
-  <<<svn copy -rHEAD https://svn.apache.org/repos/asf/tapestry/tapestry5/trunk https://svn.apache.org/repos/asf/tapestry/tapestry5/tags/releases/5.0.x>>>
+  <<<svn copy -rHEAD https://svn.apache.org/repos/asf/tapestry/tapestry5/trunk https://svn.apache.org/repos/asf/tapestry/tapestry5/tags/releases/5.1.0.x>>>
     
 
 
 Run the vote
 
-	Send a "[VOTE] Tapestry Release 5.0.x" message onto the dev@tapestry.apache.org mailing list.
+	Send a "[VOTE] Tapestry Release 5.1.0.x" message onto the dev@tapestry.apache.org mailing list.
 	
 ----
-I've created and uploaded a release of Tapestry 5.0.x, ready to be voted upon.
+I've created and uploaded a release of Tapestry 5.1.0.x, ready to be voted upon.
 
 The files are uploaded to:
 
@@ -139,11 +142,11 @@
 
 http://people.apache.org/~hlship/tapestry-ibiblio-rsynch-repository/
 
-Please examine these files to determine if a new preview release, 5.0.x, is ready.
+Please examine these files to determine if a new preview release, 5.1.0.x, is ready.
 
-I've also created a 5.0.x tag in Subversion:
+I've also created a 5.1.0.x tag in Subversion:
 
-http://svn.apache.org/viewvc/tapestry/tapestry5/tags/releases/5.0.x/
+http://svn.apache.org/viewvc/tapestry/tapestry5/tags/releases/5.1.0.x/
 
 On a successful vote, I'll move the files from these directories to the proper distribution directories.
 
@@ -154,6 +157,8 @@
 
 * Build and Deploy Site
 
+  Use Subversion to restore your workspace to the release/5.1.0.x tag generated in the previous step.
+
   Execute <<<mvn site site:deploy -Pjavadoc>>>
 
   This will build the project site and each of the module sites.  The sites go to a server that is periodically copied over to the live server; it can take up to an hour
@@ -201,7 +206,7 @@
   
 Advance the Version Numbers
 
-	This is optional but is useful, go find all those version numbers again and set them to 5.0.(n+1)-SNAPSHOT.  So, if you just released 5.0.3, set all the version numbers to 5.0.4-SNAPSHOT.    Again,
+	This is optional but is useful, go find all those version numbers again and set them to 5.1.0.(n+1)-SNAPSHOT.  So, if you just released 5.1.0.3, set all the version numbers to 5.1.0.4-SNAPSHOT.    Again,
 	use the support/update-versions Ruby script.  
     
     
diff --git a/src/site/xdoc/release-notes.xml b/src/site/xdoc/release-notes.xml
index c6ec3cc..0b83a9d 100644
--- a/src/site/xdoc/release-notes.xml
+++ b/src/site/xdoc/release-notes.xml
@@ -25,6 +25,100 @@
         </p>
 
 
+        <h1>Release Notes - Tapestry 5 - Version 5.1.0.2</h1>
+
+        <h2>Bug
+        </h2>
+        <ul>
+            <li>[<a href='https://issues.apache.org/jira/browse/TAP5-39'>TAP5-39</a>] - Add JSON support for literals
+                (often, inline function definitions) that are used to configure some client-side objects (even if they
+                aren't truly JSON)
+            </li>
+            <li>[<a href='https://issues.apache.org/jira/browse/TAP5-573'>TAP5-573</a>] - NullPointerException during
+                AJAX form submit
+            </li>
+            <li>[<a href='https://issues.apache.org/jira/browse/TAP5-578'>TAP5-578</a>] - If a component class is
+                abstract, trying to instantiate it (by including it in a template) yields an inscrutable
+                InstantiationError
+            </li>
+            <li>[<a href='https://issues.apache.org/jira/browse/TAP5-590'>TAP5-590</a>] - A JavaScript error for
+                non-required fields will force Ajax form submits to be handled as a full-page request instead
+            </li>
+            <li>[<a href='https://issues.apache.org/jira/browse/TAP5-593'>TAP5-593</a>] - Calling
+                ApplicationStateManager.exists() will throw an exception when the session has been invalidated
+            </li>
+            <li>[<a href='https://issues.apache.org/jira/browse/TAP5-598'>TAP5-598</a>] - Hard-coded messages inside
+                tapestry.js are not localized
+            </li>
+            <li>[<a href='https://issues.apache.org/jira/browse/TAP5-600'>TAP5-600</a>] - The new Blackbird console
+                makes Safari JavaScript completely non-functional
+            </li>
+        </ul>
+
+        <h2>Improvement
+        </h2>
+        <ul>
+            <li>[<a href='https://issues.apache.org/jira/browse/TAP5-265'>TAP5-265</a>] - Add a Hidden component, used
+                to synchronize a value between the server and the client
+            </li>
+            <li>[<a href='https://issues.apache.org/jira/browse/TAP5-398'>TAP5-398</a>] - Tapestry should check that the
+                service scope is consistent with the service (throwing an exception if the scope requires a service
+                interface and the service doesn't provide one)
+            </li>
+            <li>[<a href='https://issues.apache.org/jira/browse/TAP5-566'>TAP5-566</a>] - TextField documentation should
+                explain why the required value parameter is not bound in the example
+            </li>
+            <li>[<a href='https://issues.apache.org/jira/browse/TAP5-581'>TAP5-581</a>] - Quickstart archetype should
+                include testng.xml and webdefault.xml
+            </li>
+            <li>[<a href='https://issues.apache.org/jira/browse/TAP5-584'>TAP5-584</a>] - Omit generator meta (from head
+                element) when root element is not html
+            </li>
+            <li>[<a href='https://issues.apache.org/jira/browse/TAP5-586'>TAP5-586</a>] - The JavaScript waitForPage()
+                handler does not need to be added when rendering a partial Ajax response
+            </li>
+            <li>[<a href='https://issues.apache.org/jira/browse/TAP5-589'>TAP5-589</a>] - Add a method to DOM Element
+                class to allow the collection of Attributes to be obtained
+            </li>
+            <li>[<a href='https://issues.apache.org/jira/browse/TAP5-591'>TAP5-591</a>] - FAQ: Creating a page render
+                Link from a service
+            </li>
+            <li>[<a href='https://issues.apache.org/jira/browse/TAP5-605'>TAP5-605</a>] - There should be a simple way
+                to override automatic JavaScript libraries and Stylesheets
+            </li>
+        </ul>
+
+        <h2>New Feature
+        </h2>
+        <ul>
+            <li>[<a href='https://issues.apache.org/jira/browse/TAP5-288'>TAP5-288</a>] - Replace JavaScript client-side
+                logging with Blackbird
+            </li>
+            <li>[<a href='https://issues.apache.org/jira/browse/TAP5-549'>TAP5-549</a>] - JavaScript libraries should be
+                combined into a single request
+            </li>
+            <li>[<a href='https://issues.apache.org/jira/browse/TAP5-557'>TAP5-557</a>] - Provide support for URL
+                rewriting
+            </li>
+            <li>[<a href='https://issues.apache.org/jira/browse/TAP5-562'>TAP5-562</a>] - tapestry-hibernate should
+                provide a built-in status page to show basic Hibernate statistics inlcuding cache hits, etc.
+            </li>
+            <li>[<a href='https://issues.apache.org/jira/browse/TAP5-594'>TAP5-594</a>] - Add simple
+                PageRenderLinkSource service to allow services to create Links to pages
+            </li>
+        </ul>
+
+        <h2>Task
+        </h2>
+        <ul>
+            <li>[<a href='https://issues.apache.org/jira/browse/TAP5-510'>TAP5-510</a>] - Improve code coverage of JSON
+                unit tests
+            </li>
+            <li>[<a href='https://issues.apache.org/jira/browse/TAP5-575'>TAP5-575</a>] - Add svn:eol-style=native to
+                source files
+            </li>
+        </ul>
+
         <h1>Release Notes - Tapestry 5 - Version 5.1.0.1</h1>
 
         <h2>Bug
diff --git a/tapestry-annotations/pom.xml b/tapestry-annotations/pom.xml
index 96570b2..85a644e 100644
--- a/tapestry-annotations/pom.xml
+++ b/tapestry-annotations/pom.xml
@@ -9,7 +9,7 @@
     <parent>
         <groupId>org.apache.tapestry</groupId>
         <artifactId>tapestry-project</artifactId>
-        <version>5.1.0.2-SNAPSHOT</version>
+        <version>5.1.0.2</version>
     </parent>
     <name>Tapestry Annotations</name>
     <description>
diff --git a/tapestry-component-report/pom.xml b/tapestry-component-report/pom.xml
index 7aa7ef9..e940289 100644
--- a/tapestry-component-report/pom.xml
+++ b/tapestry-component-report/pom.xml
@@ -12,7 +12,7 @@
     <parent>
         <groupId>org.apache.tapestry</groupId>
         <artifactId>tapestry-project</artifactId>
-        <version>5.1.0.2-SNAPSHOT</version>
+        <version>5.1.0.2</version>
     </parent>
 
     <inceptionYear>2007</inceptionYear>
diff --git a/tapestry-core/pom.xml b/tapestry-core/pom.xml
index 9e15d76..cfac2bf 100644
--- a/tapestry-core/pom.xml
+++ b/tapestry-core/pom.xml
@@ -7,7 +7,7 @@
     <parent>
         <groupId>org.apache.tapestry</groupId>
         <artifactId>tapestry-project</artifactId>
-        <version>5.1.0.2-SNAPSHOT</version>
+        <version>5.1.0.2</version>
     </parent>
     <name>Tapestry Core Library</name>
     <description>
diff --git a/tapestry-hibernate-core/pom.xml b/tapestry-hibernate-core/pom.xml
index 6c193b2..c34b139 100644
--- a/tapestry-hibernate-core/pom.xml
+++ b/tapestry-hibernate-core/pom.xml
@@ -11,7 +11,7 @@
     <parent>
         <groupId>org.apache.tapestry</groupId>
         <artifactId>tapestry-project</artifactId>
-        <version>5.1.0.2-SNAPSHOT</version>
+        <version>5.1.0.2</version>
     </parent>
     <inceptionYear>2007</inceptionYear>
 
diff --git a/tapestry-hibernate/pom.xml b/tapestry-hibernate/pom.xml
index 50d273c..653471e 100644
--- a/tapestry-hibernate/pom.xml
+++ b/tapestry-hibernate/pom.xml
@@ -12,7 +12,7 @@
     <parent>
         <groupId>org.apache.tapestry</groupId>
         <artifactId>tapestry-project</artifactId>
-        <version>5.1.0.2-SNAPSHOT</version>
+        <version>5.1.0.2</version>
     </parent>
     <inceptionYear>2007</inceptionYear>
 
diff --git a/tapestry-ioc/pom.xml b/tapestry-ioc/pom.xml
index 3f1b7aa..3ce50a0 100644
--- a/tapestry-ioc/pom.xml
+++ b/tapestry-ioc/pom.xml
@@ -8,7 +8,7 @@
     <parent>
         <groupId>org.apache.tapestry</groupId>
         <artifactId>tapestry-project</artifactId>
-        <version>5.1.0.2-SNAPSHOT</version>
+        <version>5.1.0.2</version>
     </parent>
     <name>Tapestry Inversion of Control Container</name>
     <description>
diff --git a/tapestry-spring/pom.xml b/tapestry-spring/pom.xml
index 842957f..23deb9a 100644
--- a/tapestry-spring/pom.xml
+++ b/tapestry-spring/pom.xml
@@ -12,7 +12,7 @@
     <parent>
         <groupId>org.apache.tapestry</groupId>
         <artifactId>tapestry-project</artifactId>
-        <version>5.1.0.2-SNAPSHOT</version>
+        <version>5.1.0.2</version>
     </parent>
 
     <dependencies>
diff --git a/tapestry-test/pom.xml b/tapestry-test/pom.xml
index 2d3ff33..635112f 100644
--- a/tapestry-test/pom.xml
+++ b/tapestry-test/pom.xml
@@ -10,7 +10,7 @@
     <parent>
         <groupId>org.apache.tapestry</groupId>
         <artifactId>tapestry-project</artifactId>
-        <version>5.1.0.2-SNAPSHOT</version>
+        <version>5.1.0.2</version>
     </parent>
 
     <dependencies>
diff --git a/tapestry-tutorial1/pom.xml b/tapestry-tutorial1/pom.xml
index 6df7c72..f3db32f 100644
--- a/tapestry-tutorial1/pom.xml
+++ b/tapestry-tutorial1/pom.xml
@@ -19,7 +19,7 @@
     <parent>
         <groupId>org.apache.tapestry</groupId>
         <artifactId>tapestry-project</artifactId>
-        <version>5.1.0.2-SNAPSHOT</version>
+        <version>5.1.0.2</version>
     </parent>
 
     <dependencies>
diff --git a/tapestry-upload/pom.xml b/tapestry-upload/pom.xml
index b52a09e..99002cd 100644
--- a/tapestry-upload/pom.xml
+++ b/tapestry-upload/pom.xml
@@ -13,7 +13,7 @@
     <parent>
         <groupId>org.apache.tapestry</groupId>
         <artifactId>tapestry-project</artifactId>
-        <version>5.1.0.2-SNAPSHOT</version>
+        <version>5.1.0.2</version>
     </parent>
     <inceptionYear>2007</inceptionYear>