You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2008/06/18 03:33:12 UTC

svn commit: r669044 [2/2] - in /myfaces/commons/trunk: ./ myfaces-commons-converters/ myfaces-commons-converters/src/main/conf/ myfaces-commons-converters/src/main/java/org/apache/myfaces/commons/converter/ myfaces-commons-converters/src/main/resources...

Added: myfaces/commons/trunk/myfaces-commons-examples/src/main/java/org/apache/myfaces/examples/validate/ValidateForm.java
URL: http://svn.apache.org/viewvc/myfaces/commons/trunk/myfaces-commons-examples/src/main/java/org/apache/myfaces/examples/validate/ValidateForm.java?rev=669044&view=auto
==============================================================================
--- myfaces/commons/trunk/myfaces-commons-examples/src/main/java/org/apache/myfaces/examples/validate/ValidateForm.java (added)
+++ myfaces/commons/trunk/myfaces-commons-examples/src/main/java/org/apache/myfaces/examples/validate/ValidateForm.java Tue Jun 17 18:33:10 2008
@@ -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.
+ */
+package org.apache.myfaces.examples.validate;
+
+/**
+ * @author mwessendorf
+ * @version $Revision$ $Date$
+ */
+public class ValidateForm {
+
+	private String email = null;
+	private String email2 = null;
+	private String creditCardNumber = null;
+	private String url = null;
+	private String regExpr = null;
+
+	private String equal = null;
+	private String equal2 = null;
+
+	private String isbn =null;
+
+
+	public String getEmail() {
+		return email;
+	}
+
+	public void setEmail(String string) {
+		email = string;
+	}
+
+	public String submit(){
+		System.out.println("Action was called.");
+		return ("valid");
+	}
+
+	public String getCreditCardNumber() {
+		return creditCardNumber;
+	}
+	public String getUrl(){
+		return url;
+	}
+	public void setCreditCardNumber(String string) {
+		creditCardNumber = string;
+	}
+	public void setUrl(String string) {
+		url = string;
+	}
+
+	public String getEmail2() {
+		return email2;
+	}
+
+	public void setEmail2(String string) {
+		email2 = string;
+	}
+
+	/**
+	 * @return
+	 */
+	public String getRegExpr() {
+		return regExpr;
+	}
+
+	/**
+	 * @param string
+	 */
+	public void setRegExpr(String string) {
+		regExpr = string;
+	}
+
+	/**
+	 * @return
+	 */
+	public String getEqual2() {
+		return equal2;
+	}
+
+	/**
+	 * @param string
+	 */
+	public void setEqual2(String string) {
+		equal2 = string;
+	}
+
+	/**
+	 * @return
+	 */
+	public String getEqual() {
+		return equal;
+	}
+
+	/**
+	 * @param string
+	 */
+	public void setEqual(String string) {
+		equal = string;
+	}
+
+    public String getIsbn() {
+        return isbn;
+    }
+    public void setIsbn(String isbn) {
+        this.isbn = isbn;
+    }
+}

Propchange: myfaces/commons/trunk/myfaces-commons-examples/src/main/java/org/apache/myfaces/examples/validate/ValidateForm.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/commons/trunk/myfaces-commons-examples/src/main/java/org/apache/myfaces/examples/validate/ValidateForm.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: myfaces/commons/trunk/myfaces-commons-examples/src/main/resources/org/apache/myfaces/examples/resource/example_messages.properties
URL: http://svn.apache.org/viewvc/myfaces/commons/trunk/myfaces-commons-examples/src/main/resources/org/apache/myfaces/examples/resource/example_messages.properties?rev=669044&view=auto
==============================================================================
--- myfaces/commons/trunk/myfaces-commons-examples/src/main/resources/org/apache/myfaces/examples/resource/example_messages.properties (added)
+++ myfaces/commons/trunk/myfaces-commons-examples/src/main/resources/org/apache/myfaces/examples/resource/example_messages.properties Tue Jun 17 18:33:10 2008
@@ -0,0 +1,17 @@
+button_submit = Submit
+email_comma = Email separated by ,
+credit_dot = Credit Card separated by .
+url_comma = Url separated by ,
+isbn_semicolon = ISBN separated by ;
+validate_email = Email
+validate_credit = Credit Card
+validate_url = Url
+validate_regexp = Regular Expression(bat,cat,rat are valid values)
+validate_isbn = ISBN
+validate_base = Base value
+validate_equal = Validate Equal
+validate_notequal = Validate Not Equal
+validate_greaterthan = Validate Greater Than 
+validate_greaterthanequal = Validate Greater Than Equal 
+validate_lessthan = Validate Less Than
+validate_lessthanequal = Validate Less Than Equal
\ No newline at end of file

Propchange: myfaces/commons/trunk/myfaces-commons-examples/src/main/resources/org/apache/myfaces/examples/resource/example_messages.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/commons/trunk/myfaces-commons-examples/src/main/resources/org/apache/myfaces/examples/resource/example_messages.properties
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/home.jsp
URL: http://svn.apache.org/viewvc/myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/home.jsp?rev=669044&view=auto
==============================================================================
--- myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/home.jsp (added)
+++ myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/home.jsp Tue Jun 17 18:33:10 2008
@@ -0,0 +1,57 @@
+<%@ page import="java.math.BigDecimal,
+                 java.util.Date"%>
+<%@ page session="false" contentType="text/html;charset=utf-8"%>
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
+<html>
+
+<!--
+/*
+ * 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.
+ */
+//-->
+
+<%@include file="inc/head.inc"%>
+
+<body>
+
+<f:view>
+
+	<f:loadBundle
+		basename="org.apache.myfaces.examples.resource.example_messages"
+		var="example_messages" />
+
+	<h:form>
+		<h:panelGrid>
+			<h:outputLink value="validate.jsf">
+				<f:verbatim>Validate Email, Credit Card, Regex</f:verbatim>
+			</h:outputLink>
+			<h:outputLink value="validateCompareTo.jsf">
+				<f:verbatim>ValidateCompareTo</f:verbatim>
+			</h:outputLink>
+            <h:outputLink value="validateCSV.jsf">
+                <f:verbatim>ValidateCSV</f:verbatim>
+            </h:outputLink>			
+		</h:panelGrid>
+	</h:form>
+
+</f:view>
+
+</body>
+
+</html>
\ No newline at end of file

Propchange: myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/home.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/home.jsp
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: myfaces/commons/trunk/myfaces-commons-utils/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Tue Jun 17 18:33:10 2008
@@ -0,0 +1,10 @@
+target
+.classpath
+.project
+.wtpmodules
+*.ipr
+*.iml
+*.iws
+.settings
+maven-eclipse.xml
+.externalToolsBuilder

Modified: myfaces/commons/trunk/myfaces-commons-utils/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/commons/trunk/myfaces-commons-utils/pom.xml?rev=669044&r1=669043&r2=669044&view=diff
==============================================================================
--- myfaces/commons/trunk/myfaces-commons-utils/pom.xml (original)
+++ myfaces/commons/trunk/myfaces-commons-utils/pom.xml Tue Jun 17 18:33:10 2008
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache.myfaces.commons</groupId>
     <artifactId>commons</artifactId>
-    <version>0.0.1-SNAPSHOT</version>
+    <version>1.2.0-SNAPSHOT</version>
   </parent>
   <artifactId>myfaces-commons-utils</artifactId>
   <packaging>jar</packaging>

Modified: myfaces/commons/trunk/myfaces-commons-utils/src/main/java/org/apache/myfaces/commons/util/MessageUtils.java
URL: http://svn.apache.org/viewvc/myfaces/commons/trunk/myfaces-commons-utils/src/main/java/org/apache/myfaces/commons/util/MessageUtils.java?rev=669044&r1=669043&r2=669044&view=diff
==============================================================================
--- myfaces/commons/trunk/myfaces-commons-utils/src/main/java/org/apache/myfaces/commons/util/MessageUtils.java (original)
+++ myfaces/commons/trunk/myfaces-commons-utils/src/main/java/org/apache/myfaces/commons/util/MessageUtils.java Tue Jun 17 18:33:10 2008
@@ -227,7 +227,7 @@
         if (bundle == null)
         {
             throw new NullPointerException(
-                "Unable to locate ResrouceBundle: bundle is null");
+                "Unable to locate ResourceBundle: bundle is null");
         }
         summary = substituteParams(locale, summary, params);
 

Propchange: myfaces/commons/trunk/myfaces-commons-validators/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Tue Jun 17 18:33:10 2008
@@ -0,0 +1,10 @@
+target
+.classpath
+.project
+.wtpmodules
+*.ipr
+*.iml
+*.iws
+.settings
+maven-eclipse.xml
+.externalToolsBuilder

Modified: myfaces/commons/trunk/myfaces-commons-validators/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/commons/trunk/myfaces-commons-validators/pom.xml?rev=669044&r1=669043&r2=669044&view=diff
==============================================================================
--- myfaces/commons/trunk/myfaces-commons-validators/pom.xml (original)
+++ myfaces/commons/trunk/myfaces-commons-validators/pom.xml Tue Jun 17 18:33:10 2008
@@ -20,16 +20,103 @@
   <parent>
     <groupId>org.apache.myfaces.commons</groupId>
     <artifactId>commons</artifactId>
-    <version>0.0.1-SNAPSHOT</version>
+    <version>1.2.0-SNAPSHOT</version>
   </parent>
   <artifactId>myfaces-validators</artifactId>
   <packaging>jar</packaging>
   <name>Apache MyFaces Commons Validators</name>
 
-  <build>
+  <build>  
+    <resources>
+      <resource>
+        <directory>src/main/resources</directory>
+        <excludes>
+           <exclude>**/*.vm</exclude>
+        </excludes>
+      </resource>
+    </resources>  
     <plugins>
       <plugin>
         <groupId>org.apache.myfaces.buildtools</groupId>
+        <artifactId>myfaces-builder-plugin</artifactId>
+        <version>1.0.1-SNAPSHOT</version>
+        <executions>
+          <execution>
+            <goals>
+              <goal>build-metadata</goal>
+            </goals>
+          </execution>
+          <execution>
+            <id>makefacesconfig</id>
+            <configuration>
+                <templateFile>faces-config12.vm</templateFile>
+                <xmlFile>META-INF/faces-config.xml</xmlFile>
+            </configuration>
+            <goals>
+                <goal>make-config</goal>
+            </goals>
+          </execution>
+          <execution>
+            <id>makeval</id>
+            <goals>
+              <goal>make-validators</goal>
+            </goals>
+            <configuration>
+               <jsfVersion>12</jsfVersion>
+            </configuration>
+          </execution>          
+          <execution>
+            <id>make_validator_tags</id>
+            <configuration>
+               <jsfVersion>12</jsfVersion>
+            </configuration>            
+            <goals>
+                <goal>make-validator-tags</goal>
+            </goals>
+          </execution>          
+          <execution>
+            <id>makemcctld</id>
+            <configuration>
+                <xmlFile>META-INF/mcc.tld</xmlFile>
+                <xmlBaseFile>src/main/conf/META-INF/mcc-base.tld</xmlBaseFile>
+                <templateFile>tomahawk12.vm</templateFile>
+                <params>
+                   <shortname>mcv</shortname>
+                   <uri>http://myfaces.apache.org/commons/validators</uri>
+                   <displayname>Myfaces Commons Validator Tag Library 1.2.</displayname>
+                   <description> MyFaces subproject that contains validator to be used with any JSF 1.2 implementation.</description>
+                </params>
+                <modelIds>
+                    <modelId>myfaces-validators</modelId>
+                </modelIds>
+            </configuration>
+            <goals>
+                <goal>make-config</goal>
+            </goals>
+          </execution>    
+          <execution>
+            <id>makemcctaglib</id>
+            <configuration>
+                <xmlFile>META-INF/mcc.taglib.xml</xmlFile>
+                <xmlBaseFile>src/main/conf/META-INF/facelets-taglib-base.xml</xmlBaseFile>
+                <templateFile>facelets-taglib.vm</templateFile>
+                <params>
+                   <shortname>mcv</shortname>
+                   <uri>http://myfaces.apache.org/commons/validators</uri>
+                </params>
+                <modelIds>
+                    <modelId>myfaces-validators</modelId>
+                </modelIds>
+            </configuration>
+            <goals>
+                <goal>make-config</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <!--     
+      <plugin>
+        <groupId>org.apache.myfaces.buildtools</groupId>
         <artifactId>myfaces-faces-plugin</artifactId>
         <version>1.0.0-SNAPSHOT</version>
         <configuration>
@@ -90,6 +177,7 @@
           </execution>
         </executions>
       </plugin>
+       -->
     </plugins>
   </build>
 
@@ -111,7 +199,13 @@
       <artifactId>commons-validator</artifactId>
       <version>1.3.1</version>
       <scope>compile</scope>
-    </dependency>    
+    </dependency>
+    <dependency>
+      <groupId>oro</groupId>
+      <artifactId>oro</artifactId>
+      <version>2.0.8</version>
+      <scope>compile</scope>
+    </dependency>
     <dependency>
       <groupId>org.apache.myfaces.commons</groupId>
       <artifactId>myfaces-commons-utils</artifactId>
@@ -121,5 +215,69 @@
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>
     </dependency>
+    <dependency>
+        <groupId>org.apache.shale</groupId>
+        <artifactId>shale-test</artifactId>
+        <scope>test</scope>
+        <exclusions>
+            <exclusion>
+                <groupId>org.apache.myfaces</groupId>
+                <artifactId>myfaces-api</artifactId>
+            </exclusion>
+            <exclusion>
+                <groupId>org.apache.myfaces</groupId>
+                <artifactId>myfaces-impl</artifactId>
+            </exclusion>
+            <exclusion>
+                <groupId>myfaces</groupId>
+                <artifactId>myfaces-api</artifactId>
+            </exclusion>
+            <exclusion>
+                <groupId>myfaces</groupId>
+                <artifactId>myfaces-impl</artifactId>
+            </exclusion>
+        </exclusions>
+    </dependency>
+    <dependency>
+      <groupId>joda-time</groupId>
+      <artifactId>joda-time</artifactId>
+      <scope>test</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>cactus</groupId>
+      <artifactId>cactus</artifactId>
+      <scope>test</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>aspectj</groupId>
+      <artifactId>aspectjrt</artifactId>
+      <scope>test</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>easymock</groupId>
+      <artifactId>easymock</artifactId>
+      <scope>test</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>easymock</groupId>
+      <artifactId>easymockclassextension</artifactId>
+      <scope>test</scope>
+    </dependency>    
+    
+    <dependency>
+      <groupId>jmock</groupId>
+      <artifactId>jmock</artifactId>
+      <scope>test</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>jmock</groupId>
+      <artifactId>jmock-cglib</artifactId>
+      <scope>test</scope>
+    </dependency>    
   </dependencies>
 </project>
\ No newline at end of file

Modified: myfaces/commons/trunk/myfaces-commons-validators/src/main/java/org/apache/myfaces/commons/validator/EmailValidator.java
URL: http://svn.apache.org/viewvc/myfaces/commons/trunk/myfaces-commons-validators/src/main/java/org/apache/myfaces/commons/validator/EmailValidator.java?rev=669044&r1=669043&r2=669044&view=diff
==============================================================================
--- myfaces/commons/trunk/myfaces-commons-validators/src/main/java/org/apache/myfaces/commons/validator/EmailValidator.java (original)
+++ myfaces/commons/trunk/myfaces-commons-validators/src/main/java/org/apache/myfaces/commons/validator/EmailValidator.java Tue Jun 17 18:33:10 2008
@@ -27,6 +27,15 @@
 
 
 /**
+ * A custom validator for email address format, based upons Jakarta Commons.
+ * 
+ * Unless otherwise specified, all attributes accept static values or EL expressions.
+ * 
+ * @JSFValidator
+ *   name = "mcv:validateEmail"
+ *   tagClass = "org.apache.myfaces.commons.validator.ValidateEmailTag"
+ *   serialuidtag = "6041422002721046221L"
+ *   
  * @author mwessendorf (latest modification by $Author$)
  * @version $Revision$ $Date$
  */

Modified: myfaces/commons/trunk/myfaces-commons-validators/src/main/java/org/apache/myfaces/commons/validator/ValidatorBase.java
URL: http://svn.apache.org/viewvc/myfaces/commons/trunk/myfaces-commons-validators/src/main/java/org/apache/myfaces/commons/validator/ValidatorBase.java?rev=669044&r1=669043&r2=669044&view=diff
==============================================================================
--- myfaces/commons/trunk/myfaces-commons-validators/src/main/java/org/apache/myfaces/commons/validator/ValidatorBase.java (original)
+++ myfaces/commons/trunk/myfaces-commons-validators/src/main/java/org/apache/myfaces/commons/validator/ValidatorBase.java Tue Jun 17 18:33:10 2008
@@ -37,6 +37,9 @@
 /**
  * Base validator implementation for Apache MyFaces Commons Validators.
  *
+ * @JSFValidator
+ *   configExcluded = "true"
+ *   tagClass = "org.apache.myfaces.commons.validator.ValidatorBaseTag"
  */
 public abstract class ValidatorBase implements StateHolder, Validator {
 
@@ -46,6 +49,7 @@
 
     /**
      *
+     * @JSFProperty
      * @return  The summary message to be displayed
      */
     public String getSummaryMessage()
@@ -65,6 +69,7 @@
 
     /**
      *
+     * @JSFProperty
      * @return  The message.
      * @deprecated Use getDetailMessage()
      */
@@ -84,6 +89,7 @@
 
     /**
      *
+     * @JSFProperty
      * @return  The detail message.
      */
     public String getDetailMessage() {

Modified: myfaces/commons/trunk/myfaces-commons-validators/src/main/resources/org/apache/myfaces/commons/Messages.properties
URL: http://svn.apache.org/viewvc/myfaces/commons/trunk/myfaces-commons-validators/src/main/resources/org/apache/myfaces/commons/Messages.properties?rev=669044&r1=669043&r2=669044&view=diff
==============================================================================
--- myfaces/commons/trunk/myfaces-commons-validators/src/main/resources/org/apache/myfaces/commons/Messages.properties (original)
+++ myfaces/commons/trunk/myfaces-commons-validators/src/main/resources/org/apache/myfaces/commons/Messages.properties Tue Jun 17 18:33:10 2008
@@ -25,4 +25,8 @@
 org.apache.myfaces.commons.validator.DateRestrictionValidator.MONTH=Invalid Month
 org.apache.myfaces.commons.validator.DateRestrictionValidator.MONTH_detail=Enter a date from the following month(s): {0}.
 org.apache.myfaces.commons.validator.DateRestrictionValidator.WEEKDAY=Invalid Weekday
-org.apache.myfaces.commons.validator.DateRestrictionValidator.WEEKDAY_detail=Enter a date from the following weekday(s): {0}.
\ No newline at end of file
+org.apache.myfaces.commons.validator.DateRestrictionValidator.WEEKDAY_detail=Enter a date from the following weekday(s)\: {0}.
+org.apache.myfaces.commons.validator.csv.NOT_STRING=The value {0} is not a String
+org.apache.myfaces.commons.validator.csv.SUFFIX= - on entry #{0}
+org.apache.myfaces.commons.validator.csv.INVALID_SEPARATOR=invalid separator {0}
+org.apache.myfaces.commons.validator.Url.INVALID = The given url {0} is invalid

Modified: myfaces/commons/trunk/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/commons/trunk/pom.xml?rev=669044&r1=669043&r2=669044&view=diff
==============================================================================
--- myfaces/commons/trunk/pom.xml (original)
+++ myfaces/commons/trunk/pom.xml Tue Jun 17 18:33:10 2008
@@ -14,20 +14,18 @@
  * 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.
--->
-<project 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/maven-v4_0_0.xsd">
+--><project 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/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>
 
   <parent>
     <groupId>org.apache.myfaces</groupId>
     <artifactId>myfaces</artifactId>
-    <version>3</version>
+    <version>5</version>
   </parent>
 
   <groupId>org.apache.myfaces.commons</groupId>
   <artifactId>commons</artifactId>
-  <version>0.0.1-SNAPSHOT</version>
+  <version>1.2.0-SNAPSHOT</version>
   <packaging>pom</packaging>
   <name>Apache MyFaces Commons</name>
   <inceptionYear>2007</inceptionYear>
@@ -99,18 +97,102 @@
         <scope>compile</scope>
       </dependency>
       <dependency>
+        <groupId>commons-beanutils</groupId>
+        <artifactId>commons-beanutils</artifactId>
+        <version>1.7.0</version>
+        <scope>compile</scope>
+      </dependency> 
+      <dependency>
         <groupId>org.apache.myfaces.core</groupId>
         <artifactId>myfaces-api</artifactId>
         <!-- do an update to 1.2.1 once, it is out....-->
-        <version>1.2.0</version>
+        <version>1.2.4-SNAPSHOT</version>
         <scope>provided</scope>
       </dependency>
       <dependency>
+        <groupId>org.apache.myfaces.core</groupId>
+        <artifactId>myfaces-impl</artifactId>
+        <!-- do an update to 1.2.1 once, it is out....-->
+        <version>1.2.4-SNAPSHOT</version>
+      </dependency>
+      <dependency>
         <groupId>javax.servlet.jsp</groupId>
         <artifactId>jsp-api</artifactId>
         <version>2.1</version>
         <scope>provided</scope>
-      </dependency>      
+      </dependency>
+	<dependency>
+		<groupId>org.apache.shale</groupId>
+		<artifactId>shale-test</artifactId>
+		<version>1.0.4</version>
+		<scope>test</scope>
+		<exclusions>
+		    <exclusion>
+		        <groupId>org.apache.myfaces</groupId>
+		        <artifactId>myfaces-api</artifactId>
+		    </exclusion>
+		    <exclusion>
+		        <groupId>org.apache.myfaces</groupId>
+		        <artifactId>myfaces-impl</artifactId>
+		    </exclusion>
+		    <exclusion>
+		        <groupId>myfaces</groupId>
+		        <artifactId>myfaces-api</artifactId>
+		    </exclusion>
+		    <exclusion>
+		        <groupId>myfaces</groupId>
+		        <artifactId>myfaces-impl</artifactId>
+		    </exclusion>
+		</exclusions>
+	</dependency>
+    <dependency>
+      <groupId>joda-time</groupId>
+      <artifactId>joda-time</artifactId>
+      <version>1.5.1</version>
+      <scope>test</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>cactus</groupId>
+      <artifactId>cactus</artifactId>
+      <version>13-1.7.1</version>
+      <scope>test</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>aspectj</groupId>
+      <artifactId>aspectjrt</artifactId>
+      <version>1.2.1</version>
+      <scope>test</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>easymock</groupId>
+      <artifactId>easymock</artifactId>
+      <version>1.1</version>
+      <scope>test</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>easymock</groupId>
+      <artifactId>easymockclassextension</artifactId>
+      <version>1.1</version>
+      <scope>test</scope>
+    </dependency> 
+    <dependency>
+      <groupId>jmock</groupId>
+      <artifactId>jmock</artifactId>
+      <version>1.0.1</version>
+      <scope>test</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>jmock</groupId>
+      <artifactId>jmock-cglib</artifactId>
+      <version>1.0.1</version>
+      <scope>test</scope>
+    </dependency>
+     
     </dependencies>
   </dependencyManagement>
 
@@ -124,6 +206,7 @@
     <module>myfaces-commons-validators</module>
     <module>myfaces-commons-converters</module>
     <module>myfaces-commons-utils</module>
+    <module>myfaces-commons-examples</module>
   </modules>
 
   <profiles>
@@ -177,4 +260,4 @@
       </build>
     </profile>
   </profiles>
-</project>
+</project>
\ No newline at end of file