Create a replacement 5.0.13

git-svn-id: https://svn.apache.org/repos/asf/tapestry/tapestry5/tags/releases/5.0.13@665931 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/build.xml b/build.xml
index d6f290f..d3bce33 100644
--- a/build.xml
+++ b/build.xml
@@ -81,7 +81,12 @@
 
         <mvn:dependencies filesetid="bin.dependency.fileset" sourcesfilesetid="bin.dependency.sources.fileset">
             <dependency groupid="${group}" artifactid="tapestry-upload" version="${pom.version}"/>
-            <dependency groupid="${group}" artifactid="tapestry-hibernate" version="${pom.version}"/>
+            <dependency groupid="${group}" artifactid="tapestry-hibernate" version="${pom.version}">
+                <exclusion  groupid="org.hibernate" artifactid="hibernate"/>
+                <exclusion groupid="org.hibernate" artifactid="hibernate-annotations"/>
+                <exclusion  groupid="geronimo-spec" artifactid="geronimo-spec-jta"/>
+                <exclusion  groupid="c3p0" artifactid="c3p0"/>
+            </dependency>
             <dependency groupid="${group}" artifactid="tapestry-spring" version="${pom.version}"/>
 
             <!-- All else will be dragged in. -->
diff --git a/pom.xml b/pom.xml
index 4cc21bc..1236994 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,10 +1,9 @@
-<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.tapestry</groupId>
     <artifactId>tapestry-project</artifactId>
     <packaging>pom</packaging>
-    <version>5.0.13-SNAPSHOT</version>
+    <version>5.0.13</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 dd0e983..d027897 100644
--- a/quickstart/pom.xml
+++ b/quickstart/pom.xml
@@ -1,5 +1,4 @@
-<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.tapestry</groupId>
     <artifactId>quickstart</artifactId>
@@ -7,7 +6,7 @@
     <parent>
         <groupId>org.apache.tapestry</groupId>
         <artifactId>tapestry-project</artifactId>
-        <version>5.0.13-SNAPSHOT</version>
+        <version>5.0.13</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 5d9ac6a..aee4568 100644
--- a/quickstart/src/main/resources/archetype-resources/pom.xml
+++ b/quickstart/src/main/resources/archetype-resources/pom.xml
@@ -1,5 +1,4 @@
-<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
     <modelVersion>4.0.0</modelVersion>
     <groupId>${groupId}</groupId>
     <artifactId>${artifactId}</artifactId>
@@ -119,6 +118,6 @@
     </pluginRepositories>
 
     <properties>
-        <tapestry-release-version>5.0.13-SNAPSHOT</tapestry-release-version>
+        <tapestry-release-version>5.0.13</tapestry-release-version>
     </properties>
 </project>
diff --git a/src/site/xdoc/release-notes.xml b/src/site/xdoc/release-notes.xml
index 903d893..dbe3eaa 100644
--- a/src/site/xdoc/release-notes.xml
+++ b/src/site/xdoc/release-notes.xml
@@ -21,8 +21,74 @@
     <body>
 
 
+        <h1>Release Notes - Tapestry - Version 5.0.13</h1>
+
+        <h2>Bug
+        </h2>
+        <ul>
+            <li>[<a href='https://issues.apache.org/jira/browse/TAPESTRY-2096'>TAPESTRY-2096</a>] - Confusing exception
+                when autobuilding a class fails due to class visibility
+            </li>
+            <li>[<a href='https://issues.apache.org/jira/browse/TAPESTRY-2311'>TAPESTRY-2311</a>] - &quot;Parents before
+                Child&quot; concept for Component Rendering does not allow different rendering in subclasses
+            </li>
+            <li>[<a href='https://issues.apache.org/jira/browse/TAPESTRY-2341'>TAPESTRY-2341</a>] - AJAX Zone updating
+                doesn't work correctly in IE
+            </li>
+            <li>[<a href='https://issues.apache.org/jira/browse/TAPESTRY-2349'>TAPESTRY-2349</a>] - FormFragment should
+                be tied to the 'click' event of the associated checkbox
+            </li>
+            <li>[<a href='https://issues.apache.org/jira/browse/TAPESTRY-2360'>TAPESTRY-2360</a>] - Forms in zones in
+                loops have wrong zone id after update
+            </li>
+            <li>[<a href='https://issues.apache.org/jira/browse/TAPESTRY-2418'>TAPESTRY-2418</a>] - Form onsubmit event
+                handler for Zone component handling is ignored if any fields on the form have validation configured.
+            </li>
+            <li>[<a href='https://issues.apache.org/jira/browse/TAPESTRY-2422'>TAPESTRY-2422</a>] - The Exception report
+                will itself throw an exception if the exception being reported contains a write-only property
+            </li>
+            <li>[<a href='https://issues.apache.org/jira/browse/TAPESTRY-2436'>TAPESTRY-2436</a>] - New FormInjectorDemo
+                using AjaxFormLoop fails if a row is added and then removed without a form submission in between
+            </li>
+        </ul>
+
+        <h2>Improvement
+        </h2>
+        <ul>
+            <li>[<a href='https://issues.apache.org/jira/browse/TAPESTRY-2100'>TAPESTRY-2100</a>] - Validation and Error
+                messages for Portuguese locale
+            </li>
+            <li>[<a href='https://issues.apache.org/jira/browse/TAPESTRY-2281'>TAPESTRY-2281</a>] - Update tutorial1 to
+                correctly indicate how and why to replace Jetty 5 log4j.jar
+            </li>
+            <li>[<a href='https://issues.apache.org/jira/browse/TAPESTRY-2347'>TAPESTRY-2347</a>] - Add a &quot;resources&quot;
+                section to T5 home page
+            </li>
+            <li>[<a href='https://issues.apache.org/jira/browse/TAPESTRY-2393'>TAPESTRY-2393</a>] - The FormFragment
+                component should isolate its action stream (t:formdata hidden field) such that the entire client-side
+                element may be removed
+            </li>
+            <li>[<a href='https://issues.apache.org/jira/browse/TAPESTRY-2428'>TAPESTRY-2428</a>] - tapestry-hibernate
+                should include as a dependency a default version of Hibernate with docs for how to override
+            </li>
+            <li>[<a href='https://issues.apache.org/jira/browse/TAPESTRY-2439'>TAPESTRY-2439</a>] - The PropertyAdapter
+                interface should include a property to identify the containing class
+            </li>
+            <li>[<a href='https://issues.apache.org/jira/browse/TAPESTRY-2440'>TAPESTRY-2440</a>] - The quickstart
+                archetype should enable debug logging (by default) for the new application
+            </li>
+            <li>[<a href='https://issues.apache.org/jira/browse/TAPESTRY-2441'>TAPESTRY-2441</a>] - Upgrade to
+                Scriptaculous 1.8.1
+            </li>
+            <li>[<a href='https://issues.apache.org/jira/browse/TAPESTRY-2442'>TAPESTRY-2442</a>] - When Tapestry is
+                operating inside FireFox with Firebug enabled, it should use the Firebug logging API
+            </li>
+        </ul>
+
+
         <h1>Release Notes - Tapestry - Version 5.0.12</h1>
 
+
         <h2>Bug
         </h2>
         <ul>
diff --git a/tapestry-annotations/pom.xml b/tapestry-annotations/pom.xml
index f591931..3083c41 100644
--- a/tapestry-annotations/pom.xml
+++ b/tapestry-annotations/pom.xml
@@ -1,5 +1,4 @@
-<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.tapestry</groupId>
     <!-- We've been lucky on T4/T5 name mismatches elsewhere, but T4 has a tapestry-annotation artifact. -->
@@ -9,7 +8,7 @@
     <parent>
         <groupId>org.apache.tapestry</groupId>
         <artifactId>tapestry-project</artifactId>
-        <version>5.0.13-SNAPSHOT</version>
+        <version>5.0.13</version>
     </parent>
     <name>Tapestry Annotations</name>
     <description>
diff --git a/tapestry-component-report/pom.xml b/tapestry-component-report/pom.xml
index fea4e01..e30699e 100644
--- a/tapestry-component-report/pom.xml
+++ b/tapestry-component-report/pom.xml
@@ -1,5 +1,4 @@
-<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.tapestry</groupId>
     <artifactId>tapestry-component-report</artifactId>
@@ -12,7 +11,7 @@
     <parent>
         <groupId>org.apache.tapestry</groupId>
         <artifactId>tapestry-project</artifactId>
-        <version>5.0.13-SNAPSHOT</version>
+        <version>5.0.13</version>
     </parent>
 
     <inceptionYear>2007</inceptionYear>
diff --git a/tapestry-core/pom.xml b/tapestry-core/pom.xml
index a70f9e8..cb70957 100644
--- a/tapestry-core/pom.xml
+++ b/tapestry-core/pom.xml
@@ -1,5 +1,4 @@
-<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.tapestry</groupId>
     <artifactId>tapestry-core</artifactId>
@@ -7,7 +6,7 @@
     <parent>
         <groupId>org.apache.tapestry</groupId>
         <artifactId>tapestry-project</artifactId>
-        <version>5.0.13-SNAPSHOT</version>
+        <version>5.0.13</version>
     </parent>
     <name>Tapestry Core Library</name>
     <description>
diff --git a/tapestry-core/src/main/resources/org/apache/tapestry5/scriptaculous_1_8_1/scriptaculous.js b/tapestry-core/src/main/resources/org/apache/tapestry5/scriptaculous_1_8_1/scriptaculous.js
index 6cfe36e..98257e5 100644
--- a/tapestry-core/src/main/resources/org/apache/tapestry5/scriptaculous_1_8_1/scriptaculous.js
+++ b/tapestry-core/src/main/resources/org/apache/tapestry5/scriptaculous_1_8_1/scriptaculous.js
@@ -43,15 +43,17 @@
         convertVersionString(Scriptaculous.REQUIRED_PROTOTYPE)))
        throw("script.aculo.us requires the Prototype JavaScript framework >= " +
         Scriptaculous.REQUIRED_PROTOTYPE);
-    
-    $A(document.getElementsByTagName("script")).findAll( function(s) {
-      return (s.src && s.src.match(/scriptaculous\.js(\?.*)?$/))
-    }).each( function(s) {
-      var path = s.src.replace(/scriptaculous\.js(\?.*)?$/,'');
-      var includes = s.src.match(/\?.*load=([a-z,]*)/);
-      (includes ? includes[1] : 'builder,effects,dragdrop,controls,slider,sound').split(',').each(
-       function(include) { Scriptaculous.require(path+include+'.js') });
-    });
+
+// Tapestry turns off this mechanism, and replaces it with RenderSupport.addScriptLink().
+
+//    $A(document.getElementsByTagName("script")).findAll( function(s) {
+//      return (s.src && s.src.match(/scriptaculous\.js(\?.*)?$/))
+//    }).each( function(s) {
+//      var path = s.src.replace(/scriptaculous\.js(\?.*)?$/,'');
+//      var includes = s.src.match(/\?.*load=([a-z,]*)/);
+//      (includes ? includes[1] : 'builder,effects,dragdrop,controls,slider,sound').split(',').each(
+//       function(include) { Scriptaculous.require(path+include+'.js') });
+//    });
   }
 }
 
diff --git a/tapestry-hibernate/pom.xml b/tapestry-hibernate/pom.xml
index aa53af7..ea08929 100644
--- a/tapestry-hibernate/pom.xml
+++ b/tapestry-hibernate/pom.xml
@@ -1,5 +1,4 @@
-<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.tapestry</groupId>
     <artifactId>tapestry-hibernate</artifactId>
@@ -12,7 +11,7 @@
     <parent>
         <groupId>org.apache.tapestry</groupId>
         <artifactId>tapestry-project</artifactId>
-        <version>5.0.13-SNAPSHOT</version>
+        <version>5.0.13</version>
     </parent>
     <inceptionYear>2007</inceptionYear>
 
diff --git a/tapestry-ioc/pom.xml b/tapestry-ioc/pom.xml
index 966e9cc..5140f4a 100644
--- a/tapestry-ioc/pom.xml
+++ b/tapestry-ioc/pom.xml
@@ -1,5 +1,4 @@
-<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.tapestry</groupId>
     <artifactId>tapestry-ioc</artifactId>
@@ -8,7 +7,7 @@
     <parent>
         <groupId>org.apache.tapestry</groupId>
         <artifactId>tapestry-project</artifactId>
-        <version>5.0.13-SNAPSHOT</version>
+        <version>5.0.13</version>
     </parent>
     <name>Tapestry Inversion of Control Container</name>
     <description>
diff --git a/tapestry-spring/pom.xml b/tapestry-spring/pom.xml
index 0531e7e..3c00fdc 100644
--- a/tapestry-spring/pom.xml
+++ b/tapestry-spring/pom.xml
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.tapestry</groupId>
     <artifactId>tapestry-spring</artifactId>
@@ -12,7 +11,7 @@
     <parent>
         <groupId>org.apache.tapestry</groupId>
         <artifactId>tapestry-project</artifactId>
-        <version>5.0.13-SNAPSHOT</version>
+        <version>5.0.13</version>
     </parent>
 
     <dependencies>
diff --git a/tapestry-test/pom.xml b/tapestry-test/pom.xml
index 0e6b987..32a1640 100644
--- a/tapestry-test/pom.xml
+++ b/tapestry-test/pom.xml
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.tapestry</groupId>
     <artifactId>tapestry-test</artifactId>
@@ -10,7 +9,7 @@
     <parent>
         <groupId>org.apache.tapestry</groupId>
         <artifactId>tapestry-project</artifactId>
-        <version>5.0.13-SNAPSHOT</version>
+        <version>5.0.13</version>
     </parent>
 
     <dependencies>
diff --git a/tapestry-tutorial1/pom.xml b/tapestry-tutorial1/pom.xml
index 40477a1..4c3ff7f 100644
--- a/tapestry-tutorial1/pom.xml
+++ b/tapestry-tutorial1/pom.xml
@@ -1,5 +1,4 @@
-<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.tapestry</groupId>
     <artifactId>tutorial1</artifactId>
@@ -19,7 +18,7 @@
     <parent>
         <groupId>org.apache.tapestry</groupId>
         <artifactId>tapestry-project</artifactId>
-        <version>5.0.13-SNAPSHOT</version>
+        <version>5.0.13</version>
     </parent>
 
     <dependencies>
diff --git a/tapestry-upload/pom.xml b/tapestry-upload/pom.xml
index 51cdb5f..e23c30b 100644
--- a/tapestry-upload/pom.xml
+++ b/tapestry-upload/pom.xml
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.tapestry</groupId>
     <artifactId>tapestry-upload</artifactId>
@@ -13,7 +12,7 @@
     <parent>
         <groupId>org.apache.tapestry</groupId>
         <artifactId>tapestry-project</artifactId>
-        <version>5.0.13-SNAPSHOT</version>
+        <version>5.0.13</version>
     </parent>
     <inceptionYear>2007</inceptionYear>