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 2011/04/09 20:28:55 UTC

svn commit: r1090646 [3/3] - in /myfaces/myfaces-build-tools/trunk/maven2-archetypes: ./ myfaces-archetype-jsfcomponents20/ myfaces-archetype-jsfcomponents20/src/ myfaces-archetype-jsfcomponents20/src/main/ myfaces-archetype-jsfcomponents20/src/main/re...

Added: myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/META-INF/templates/example.xhtml
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/META-INF/templates/example.xhtml?rev=1090646&view=auto
==============================================================================
--- myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/META-INF/templates/example.xhtml (added)
+++ myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/META-INF/templates/example.xhtml Sat Apr  9 18:28:53 2011
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+    xmlns:ui="http://java.sun.com/jsf/facelets"
+    xmlns:f="http://java.sun.com/jsf/core"
+    xmlns:h="http://java.sun.com/jsf/html"
+    xmlns:c="http://java.sun.com/jsp/jstl/core">
+<!--
+    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.
+-->
+<h:head>
+    <title><h:outputText value="#{msgs['title']}"/></title>
+</h:head>
+<h:body>
+  <h:outputStylesheet name="style.css" library="css"/>
+  <div id="container">
+
+    <ui:insert name="header">
+        <h1><h:outputText value="#{msgs['title']}"/></h1>    
+    </ui:insert>
+
+    <ui:insert name="content"/>
+    
+    <ui:insert name="footer">
+        <h:panelGrid>
+            <h:link value="#{msgs['home']}" outcome="home"/>
+        </h:panelGrid>
+    </ui:insert>
+  </div>
+</h:body>
+</html>
\ No newline at end of file

Added: myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/WEB-INF/examples-config.xml
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/WEB-INF/examples-config.xml?rev=1090646&view=auto
==============================================================================
--- myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/WEB-INF/examples-config.xml (added)
+++ myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/WEB-INF/examples-config.xml Sat Apr  9 18:28:53 2011
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!--
+    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.
+-->
+<!DOCTYPE faces-config PUBLIC
+  "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
+  "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
+
+<!-- =========== FULL CONFIGURATION FILE ================================== -->
+
+<!-- my components examples -->
+
+<faces-config>
+
+
+    <!-- Managed Beans for sayhello.xhtml -->
+    <managed-bean>
+        <managed-bean-name>sayHelloBean</managed-bean-name>
+        <managed-bean-class>org.myorganization.component.example.SayHelloBean</managed-bean-class>
+        <managed-bean-scope>request</managed-bean-scope>
+    </managed-bean>
+
+    <!-- NAVIGATION RULES -->
+
+    <navigation-rule>
+        <navigation-case>
+            <from-outcome>go_home</from-outcome>
+            <to-view-id>/home.xhtml</to-view-id>
+        </navigation-case>
+    </navigation-rule>
+
+    <navigation-rule>
+        <from-view-id>/validatorDemo.xhtml</from-view-id>
+        <navigation-case>
+            <from-outcome>display_number</from-outcome>
+            <to-view-id>/validatorDemoResult.xhtml</to-view-id>
+        </navigation-case>
+    </navigation-rule>
+    
+    <navigation-rule>
+        <from-view-id>/converterDemo.xhtml</from-view-id>
+        <navigation-case>
+            <from-outcome>display_phone</from-outcome>
+            <to-view-id>/converterDemoResult.xhtml</to-view-id>
+        </navigation-case>
+    </navigation-rule>
+
+</faces-config>

Added: myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/WEB-INF/faces-config.xml
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/WEB-INF/faces-config.xml?rev=1090646&view=auto
==============================================================================
--- myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/WEB-INF/faces-config.xml (added)
+++ myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/WEB-INF/faces-config.xml Sat Apr  9 18:28:53 2011
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    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.
+-->
+<faces-config
+    xmlns="http://java.sun.com/xml/ns/javaee"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"
+    version="2.0">
+
+    <application>
+        <locale-config>
+            <default-locale>en</default-locale>
+            <supported-locale>en</supported-locale>
+        </locale-config>
+        <resource-bundle>
+            <base-name>org.myorganization.component.example.messages</base-name>
+            <var>msgs</var>
+        </resource-bundle>
+    </application>
+
+</faces-config>

Added: myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/WEB-INF/web.xml?rev=1090646&view=auto
==============================================================================
--- myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/WEB-INF/web.xml (added)
+++ myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/WEB-INF/web.xml Sat Apr  9 18:28:53 2011
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    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.
+-->
+<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:javaee="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd" version="2.5">
+  <description>debug web.xml</description>
+  <context-param>
+    <description>Comma separated list of URIs of (additional) faces config files.
+            (e.g. /WEB-INF/my-config.xml)
+            See JSF 1.0 PRD2, 10.3.2
+            Attention: You do not need to put /WEB-INF/faces-config.xml in here.
+    </description>
+    <param-name>javax.faces.CONFIG_FILES</param-name>
+    <param-value>/WEB-INF/examples-config.xml</param-value>
+  </context-param>
+  <context-param>
+    <description>State saving method: &quot;client&quot; or &quot;server&quot; (= default)
+            See JSF Specification 2.5.3</description>
+    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
+    <param-value>server</param-value>
+  </context-param>
+  <context-param>
+    <param-name>javax.faces.PROJECT_STAGE</param-name>
+    <param-value>Development</param-value>
+  </context-param>
+  <servlet>
+    <servlet-name>Faces Servlet</servlet-name>
+    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
+    <load-on-startup>1</load-on-startup>
+  </servlet>
+  <servlet-mapping>
+    <servlet-name>Faces Servlet</servlet-name>
+    <url-pattern>*.jsf</url-pattern>
+  </servlet-mapping>
+  <welcome-file-list>
+    <welcome-file>index.html</welcome-file>
+  </welcome-file-list>
+</web-app>

Added: myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/converterDemo.xhtml
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/converterDemo.xhtml?rev=1090646&view=auto
==============================================================================
--- myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/converterDemo.xhtml (added)
+++ myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/converterDemo.xhtml Sat Apr  9 18:28:53 2011
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html  xmlns="http://www.w3.org/1999/xhtml"
+    xmlns:ui="http://java.sun.com/jsf/facelets"
+    xmlns:f="http://java.sun.com/jsf/core"
+    xmlns:h="http://java.sun.com/jsf/html"
+    xmlns:c="http://java.sun.com/jsp/jstl/core"
+    xmlns:mycomp="http://www.myorganitzation.org/mycomponents">
+<!--
+    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.
+-->
+<head>
+</head>
+<body>
+<ui:decorate template="/META-INF/templates/example.xhtml">
+  <ui:define name="header">
+      <h1><h:outputText value="#{msgs['title']}"/></h1>
+      <h2><h:outputText value="#{msgs['demo_converter']}"/></h2>    
+  </ui:define>
+  <ui:define name="content">
+  
+    <h:form>
+        <h:panelGrid columns="2">
+            <h:outputLabel for="num" value="#{msgs['phone_number']}" />
+            <h:inputText id="num" value="#{sayHelloBean.phoneNumber}">
+                <mycomp:phoneNumberConverter/>
+            </h:inputText>
+            <h:commandButton value="#{msgs['submit']}" action="#{sayHelloBean.submitPhoneNumber}"/>
+        </h:panelGrid>
+        <h:messages />
+    </h:form>
+  </ui:define>
+</ui:decorate>
+</body>
+</html>

Added: myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/converterDemoResult.xhtml
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/converterDemoResult.xhtml?rev=1090646&view=auto
==============================================================================
--- myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/converterDemoResult.xhtml (added)
+++ myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/converterDemoResult.xhtml Sat Apr  9 18:28:53 2011
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html  xmlns="http://www.w3.org/1999/xhtml"
+    xmlns:ui="http://java.sun.com/jsf/facelets"
+    xmlns:f="http://java.sun.com/jsf/core"
+    xmlns:h="http://java.sun.com/jsf/html"
+    xmlns:c="http://java.sun.com/jsp/jstl/core"
+    xmlns:mycomp="http://www.myorganitzation.org/mycomponents">
+<!--
+    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.
+-->
+<head>
+</head>
+<body>
+<ui:decorate template="/META-INF/templates/example.xhtml">
+  <ui:define name="header">
+      <h1><h:outputText value="#{msgs['title']}"/></h1>
+      <h2><h:outputText value="#{msgs['demo_converter']}"/></h2>    
+  </ui:define>
+  <ui:define name="content">
+  
+    <h:form>
+        <h:panelGrid columns="2">
+            <h:outputLabel for="areaCode" value="#{msgs['show_area_code']}"/> 
+            <h:outputText id="areaCode" value="#{sayHelloBean.phoneNumber.areaCode}"/>
+            <h:outputLabel for="num" value="#{msgs['show_number']}"/> 
+            <h:outputText id="num" value="#{sayHelloBean.phoneNumber.number}"/>
+        </h:panelGrid>
+    </h:form>
+
+  </ui:define>
+</ui:decorate>
+</body>
+</html>

Added: myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/home.xhtml
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/home.xhtml?rev=1090646&view=auto
==============================================================================
--- myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/home.xhtml (added)
+++ myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/home.xhtml Sat Apr  9 18:28:53 2011
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html  xmlns="http://www.w3.org/1999/xhtml"
+    xmlns:ui="http://java.sun.com/jsf/facelets"
+    xmlns:f="http://java.sun.com/jsf/core"
+    xmlns:h="http://java.sun.com/jsf/html"
+    xmlns:c="http://java.sun.com/jsp/jstl/core"
+    xmlns:mycomp="http://www.myorganitzation.org/mycomponents">
+<!--
+    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.
+-->
+<h:head>
+    <title><h:outputText value="#{msgs['title']}"/></title>
+</h:head>
+<h:body>
+  <h:outputStylesheet name="style.css" library="css"/>
+  <div id="container">
+  
+    <h:form>
+
+        <f:loadBundle basename="org.myorganization.component.example.build" var="buildInfo"/>
+
+        <h1><h:outputText value="#{msgs['title']}"/></h1>
+        <h:panelGrid columns="1">
+            <h:outputText value=" (Version #{buildInfo['mycomponents_version']}, using #{buildInfo ['jsf_implementation']})"/>
+        </h:panelGrid>
+
+        <h:panelGrid>
+
+            <h:panelGrid style="padding-left:25px">
+                <h:outputLink value="sayhello.jsf">sayHello - demo component</h:outputLink>
+                <h:outputLink value="sayhellocc.jsf">sayHelloCC - demo composite component</h:outputLink>
+                <h:outputLink value="validatorDemo.jsf">oddNumberValidator - demo validator</h:outputLink>
+                <h:outputLink value="converterDemo.jsf">phoneNumberConverter - demo converter</h:outputLink>
+            </h:panelGrid>
+
+        </h:panelGrid>
+
+    </h:form>
+
+  </div>
+</h:body>
+</html>

Added: myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/index.html
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/index.html?rev=1090646&view=auto
==============================================================================
--- myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/index.html (added)
+++ myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/index.html Sat Apr  9 18:28:53 2011
@@ -0,0 +1,5 @@
+<html>
+<head>
+    <meta http-equiv="refresh" content="0; URL=home.jsf"/>
+</head>
+</html>
\ No newline at end of file

Added: myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/resources/css/style.css
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/resources/css/style.css?rev=1090646&view=auto
==============================================================================
--- myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/resources/css/style.css (added)
+++ myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/resources/css/style.css Sat Apr  9 18:28:53 2011
@@ -0,0 +1,35 @@
+/*
+ * 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.
+ */
+
+body {
+    background-color: rgb(0, 35, 75);
+    font-family: tahoma, arial, helvetica, sans-serif;
+    font-size: 12px;
+}
+
+#container {
+    margin: 10px auto;
+    width: 900px;
+    background-color: white;
+    padding: 3px;
+}
+
+h1 {
+    font-size: 20px;
+}

Added: myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/resources/testcc/sayHelloCC.xhtml
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/resources/testcc/sayHelloCC.xhtml?rev=1090646&view=auto
==============================================================================
--- myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/resources/testcc/sayHelloCC.xhtml (added)
+++ myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/resources/testcc/sayHelloCC.xhtml Sat Apr  9 18:28:53 2011
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+      xmlns:ui="http://java.sun.com/jsf/facelets"
+      xmlns:f="http://java.sun.com/jsf/core"
+      xmlns:h="http://java.sun.com/jsf/html"
+      xmlns:c="http://java.sun.com/jsp/jstl/core"
+      xmlns:cc="http://java.sun.com/jsf/composite">
+<head>
+</head>
+<body>
+<cc:interface>
+    <cc:attribute name="firstName" shortDescription="User's first name."/>
+    <cc:attribute name="lastName" shortDescription="User's last name." />
+    <cc:attribute name="rendered" />
+</cc:interface>
+<cc:implementation><h:outputText value="#{msgs['hello']}"/> <h:outputText value=" #{cc.attrs.firstName}"/> <h:outputText value=" #{cc.attrs.lastName}"/></cc:implementation>
+</body>
+</html>

Added: myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/sayhello.xhtml
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/sayhello.xhtml?rev=1090646&view=auto
==============================================================================
--- myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/sayhello.xhtml (added)
+++ myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/sayhello.xhtml Sat Apr  9 18:28:53 2011
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html  xmlns="http://www.w3.org/1999/xhtml"
+    xmlns:ui="http://java.sun.com/jsf/facelets"
+    xmlns:f="http://java.sun.com/jsf/core"
+    xmlns:h="http://java.sun.com/jsf/html"
+    xmlns:c="http://java.sun.com/jsp/jstl/core"
+    xmlns:mycomp="http://www.myorganitzation.org/mycomponents">
+<!--
+    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.
+-->
+<head>
+</head>
+<body>
+<ui:decorate template="/META-INF/templates/example.xhtml">
+  <ui:define name="header">
+      <h1><h:outputText value="#{msgs['title']}"/></h1>
+      <h2><h:outputText value="#{msgs['demo_component']}"/></h2>    
+  </ui:define>
+  <ui:define name="content">
+  
+    <mycomp:sayHello firstName="John" lastName="Smith"/>
+
+    <h:outputText value="#{msgs['probably_not_you_i_know']}"/>
+
+    <hr/>
+
+    <h:form>
+        <h:panelGrid columns="2">
+            <h:outputLabel for="inputFirstName" value="#{msgs['input_first_name']}" />
+            <h:inputText id="inputFirstName" value="#{sayHelloBean.firstName}"/>
+
+            <h:outputLabel for="inputLastName" value="#{msgs['input_last_name']}" />
+            <h:inputText id="inputLastName" value="#{sayHelloBean.lastName}"/>
+        </h:panelGrid>
+
+        <h:panelGrid columns="1">
+
+            <h:commandButton value="#{msgs['say_hello']}" actionListener="#{sayHelloBean.sayIt}"/>
+
+            <mycomp:sayHello firstName="#{sayHelloBean.firstName}"
+                             lastName="#{sayHelloBean.lastName}"
+                             rendered="#{sayHelloBean.renderGreeting}"/>
+
+        </h:panelGrid>
+
+    </h:form>
+
+
+  </ui:define>
+</ui:decorate>
+</body>
+</html>

Added: myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/sayhellocc.xhtml
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/sayhellocc.xhtml?rev=1090646&view=auto
==============================================================================
--- myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/sayhellocc.xhtml (added)
+++ myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/sayhellocc.xhtml Sat Apr  9 18:28:53 2011
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html  xmlns="http://www.w3.org/1999/xhtml"
+    xmlns:ui="http://java.sun.com/jsf/facelets"
+    xmlns:f="http://java.sun.com/jsf/core"
+    xmlns:h="http://java.sun.com/jsf/html"
+    xmlns:c="http://java.sun.com/jsp/jstl/core"
+    xmlns:testcc="http://java.sun.com/jsf/composite/testcc">
+<!--
+    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.
+-->
+<head>
+</head>
+<body>
+<ui:decorate template="/META-INF/templates/example.xhtml">
+  <ui:define name="header">
+      <h1><h:outputText value="#{msgs['title']}"/></h1>
+      <h2><h:outputText value="#{msgs['demo_composite_component']}"/></h2>    
+  </ui:define>
+  <ui:define name="content">
+  
+    <testcc:sayHelloCC firstName="John" lastName="Smith"/>
+
+    <h:outputText value="#{msgs['probably_not_you_i_know']}"/>
+
+    <f:verbatim><hr/></f:verbatim>
+
+    <h:form>
+        <h:panelGrid columns="2">
+            <h:outputLabel for="inputFirstName" value="#{msgs['input_first_name']}" />
+            <h:inputText id="inputFirstName" value="#{sayHelloBean.firstName}"/>
+
+            <h:outputLabel for="inputLastName" value="#{msgs['input_last_name']}" />
+            <h:inputText id="inputLastName" value="#{sayHelloBean.lastName}"/>
+        </h:panelGrid>
+
+        <h:panelGrid columns="1">
+
+            <h:commandButton value="#{msgs['say_hello']}" actionListener="#{sayHelloBean.sayIt}"/>
+
+            <testcc:sayHelloCC firstName="#{sayHelloBean.firstName}"
+                             lastName="#{sayHelloBean.lastName}"
+                             rendered="#{sayHelloBean.renderGreeting}"/>
+
+        </h:panelGrid>
+
+    </h:form>
+
+  </ui:define>
+</ui:decorate>
+</body>
+</html>

Added: myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/validatorDemo.xhtml
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/validatorDemo.xhtml?rev=1090646&view=auto
==============================================================================
--- myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/validatorDemo.xhtml (added)
+++ myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/validatorDemo.xhtml Sat Apr  9 18:28:53 2011
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html  xmlns="http://www.w3.org/1999/xhtml"
+    xmlns:ui="http://java.sun.com/jsf/facelets"
+    xmlns:f="http://java.sun.com/jsf/core"
+    xmlns:h="http://java.sun.com/jsf/html"
+    xmlns:c="http://java.sun.com/jsp/jstl/core"
+    xmlns:mycomp="http://www.myorganitzation.org/mycomponents">
+<!--
+    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.
+-->
+<head>
+</head>
+<body>
+<ui:decorate template="/META-INF/templates/example.xhtml">
+  <ui:define name="header">
+      <h1><h:outputText value="#{msgs['title']}"/></h1>
+      <h2><h:outputText value="#{msgs['demo_validator']}"/></h2>    
+  </ui:define>
+  <ui:define name="content">
+  
+    <h:form>
+        <h:panelGrid columns="2">
+            <h:outputLabel for="num" value="#{msgs['input_odd_number']}" />
+            <h:inputText id="num" value="#{sayHelloBean.oddNumber}">
+                <mycomp:validateOddNum/>
+            </h:inputText>
+            <h:commandButton value="#{msgs['input_odd_number']}" action="#{sayHelloBean.submitOddNumber}"/>
+        </h:panelGrid>
+        <h:messages />
+    </h:form>
+
+  </ui:define>
+</ui:decorate>
+</body>
+</html>

Added: myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/validatorDemoResult.xhtml
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/validatorDemoResult.xhtml?rev=1090646&view=auto
==============================================================================
--- myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/validatorDemoResult.xhtml (added)
+++ myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/examples/src/main/webapp/validatorDemoResult.xhtml Sat Apr  9 18:28:53 2011
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html  xmlns="http://www.w3.org/1999/xhtml"
+    xmlns:ui="http://java.sun.com/jsf/facelets"
+    xmlns:f="http://java.sun.com/jsf/core"
+    xmlns:h="http://java.sun.com/jsf/html"
+    xmlns:c="http://java.sun.com/jsp/jstl/core"
+    xmlns:mycomp="http://www.myorganitzation.org/mycomponents">
+<!--
+    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.
+-->
+<head>
+</head>
+<body>
+<ui:decorate template="/META-INF/templates/example.xhtml">
+  <ui:define name="header">
+      <h1><h:outputText value="#{msgs['title']}"/></h1>
+      <h2><h:outputText value="#{msgs['demo_validator']}"/></h2>    
+  </ui:define>
+  <ui:define name="content">
+  
+    <h:form>
+        <h:panelGrid columns="2">
+            <h:outputLabel value="#{msgs['show_value_entered']}" for="oddNumber"/>
+            <h:outputText id="oddNumber" value="#{sayHelloBean.oddNumber}"/>
+        </h:panelGrid>
+    </h:form>
+
+  </ui:define>
+</ui:decorate>
+</body>
+</html>

Added: myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/pom.xml?rev=1090646&view=auto
==============================================================================
--- myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/pom.xml (added)
+++ myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/main/resources/archetype-resources/pom.xml Sat Apr  9 18:28:53 2011
@@ -0,0 +1,122 @@
+#set( $symbol_pound = '#' )
+#set( $symbol_dollar = '$' )
+#set( $symbol_escape = '\' )
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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.
+-->
+<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>
+  <groupId>${groupId}</groupId>
+  <artifactId>${artifactId}-project</artifactId>
+  <packaging>pom</packaging>
+  <name>My JSF Components Library Project</name>
+  <version>${version}</version>
+
+  <description>
+      This is the project for my funky components. This will build both the core and the examples
+  </description>
+  
+  <properties>
+    <jsf-myfaces.version>2.0.4</jsf-myfaces.version>
+    <jsf-ri.version>2.0.3-20100630</jsf-ri.version>
+    <maven.jetty.plugin.version>6.1.22</maven.jetty.plugin.version>
+  </properties>
+
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <source>1.5</source>
+          <target>1.5</target>
+        </configuration>
+      </plugin>
+    </plugins>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+            <groupId>org.apache.myfaces.buildtools</groupId>
+            <artifactId>myfaces-builder-plugin</artifactId>
+            <version>1.0.9</version>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
+  
+  <modules>
+      <module>core</module>
+      <module>examples</module>
+  </modules>
+  
+  <dependencyManagement>
+    <dependencies>
+    
+      <dependency>
+        <groupId>javax.servlet.jsp</groupId>
+        <artifactId>jsp-api</artifactId>
+        <version>2.1</version>
+        <scope>provided</scope>
+      </dependency>
+
+      <dependency>
+        <groupId>javax.servlet</groupId>
+        <artifactId>servlet-api</artifactId>
+        <version>2.5</version>
+        <scope>provided</scope>
+      </dependency>
+    
+      <dependency>
+        <groupId>org.apache.myfaces.buildtools</groupId>
+        <artifactId>myfaces-builder-annotations</artifactId> 
+        <version>1.0.8</version>
+        <scope>provided</scope>
+      </dependency>
+      
+      <dependency>
+        <groupId>org.apache.myfaces.core</groupId>
+        <artifactId>myfaces-api</artifactId>
+        <version>${symbol_dollar}{jsf-myfaces.version}</version>
+      </dependency>
+
+      <dependency>
+        <groupId>org.apache.myfaces.core</groupId>
+        <artifactId>myfaces-impl</artifactId>
+        <version>${symbol_dollar}{jsf-myfaces.version}</version>
+      </dependency>
+      
+      <dependency>
+        <groupId>junit</groupId>
+        <artifactId>junit</artifactId>
+        <version>4.8.1</version>
+        <scope>test</scope>
+      </dependency>
+      
+      <dependency>
+        <groupId>org.apache.myfaces.test</groupId>
+        <artifactId>myfaces-test20</artifactId>
+        <version>1.0.2</version>
+        <scope>test</scope>
+      </dependency>
+      
+    </dependencies>
+  </dependencyManagement>
+
+</project>

Added: myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/site/apt/index.apt
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/site/apt/index.apt?rev=1090646&view=auto
==============================================================================
--- myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/site/apt/index.apt (added)
+++ myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-jsfcomponents20/src/site/apt/index.apt Sat Apr  9 18:28:53 2011
@@ -0,0 +1,18 @@
+ ------
+ Myfaces JSF-components 2.0 Archetype
+ ------
+
+Overview
+
+  This project defines a Maven archetype. Running the archetype plugin with this archetype will
+  create a directory tree containing the files needed to quickly get started on a new JSF
+  component, converter or validator.
+
+Usage
+
+  Use the following maven command and then select myfaces-archetype-jsfcomponents from the options.
+
+
++------------------------------------------------------------------+
+mvn archetype:generate -DarchetypeCatalog=http://myfaces.apache.org
++------------------------------------------------------------------+

Modified: myfaces/myfaces-build-tools/trunk/maven2-archetypes/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/trunk/maven2-archetypes/pom.xml?rev=1090646&r1=1090645&r2=1090646&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/trunk/maven2-archetypes/pom.xml (original)
+++ myfaces/myfaces-build-tools/trunk/maven2-archetypes/pom.xml Sat Apr  9 18:28:53 2011
@@ -118,6 +118,7 @@
     <module>myfaces-archetype-trinidad</module>
     <module>myfaces-archetype-trinidad20</module>  
     <module>myfaces-archetype-jsfcomponents</module>
+    <module>myfaces-archetype-jsfcomponents20</module>
     <module>myfaces-archetype-codi-jsf12</module>
     <module>myfaces-archetype-codi-jsf20</module>
   </modules>