Author: amarkhel
Date: 2008-09-17 11:55:43 -0400 (Wed, 17 Sep 2008)
New Revision: 10473
Added:
trunk/cdk/maven-archetype-seam-app/
trunk/cdk/maven-archetype-seam-app/HOW_TO_USE.doc
trunk/cdk/maven-archetype-seam-app/pom.xml
trunk/cdk/maven-archetype-seam-app/src/
trunk/cdk/maven-archetype-seam-app/src/main/
trunk/cdk/maven-archetype-seam-app/src/main/resources/
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ear/
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ear/pom.xml
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ear/src/
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ear/src/main/
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ear/src/main/application/
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ear/src/main/application/META-INF/
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ear/src/main/application/META-INF/jboss-app.xml
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ear/src/main/application/security.drl
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/pom.xml
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/src/
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/src/main/
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/src/main/java/
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/src/main/java/org/
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/src/main/java/org/richfaces/
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/src/main/java/org/richfaces/helloworld/
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/src/main/java/org/richfaces/helloworld/service/
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/src/main/java/org/richfaces/helloworld/service/Authenticator.java
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/src/main/resources/
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/src/main/resources/META-INF/
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/src/main/resources/META-INF/ejb-jar.xml
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/src/main/resources/META-INF/persistence.xml
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/src/main/resources/components.properties
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/src/main/resources/helloworld-ds.xml
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/src/main/resources/import.sql
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/src/main/resources/seam.properties
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/pom.xml
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/web/
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/web/pom.xml
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/web/src/
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/web/src/main/
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/web/src/main/resources/
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/web/src/main/resources/messages_en.properties
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/web/src/main/webapp/
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/web/src/main/webapp/error.xhtml
Log:
Add maven-archetype-seam-app
Added: trunk/cdk/maven-archetype-seam-app/HOW_TO_USE.doc
===================================================================
(Binary files differ)
Property changes on: trunk/cdk/maven-archetype-seam-app/HOW_TO_USE.doc
___________________________________________________________________
Name: svn:mime-type
+ application/msword
Added: trunk/cdk/maven-archetype-seam-app/pom.xml
===================================================================
--- trunk/cdk/maven-archetype-seam-app/pom.xml (rev 0)
+++ trunk/cdk/maven-archetype-seam-app/pom.xml 2008-09-17 15:55:43 UTC (rev 10473)
@@ -0,0 +1,12 @@
+<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">
+ <parent>
+ <artifactId>cdk</artifactId>
+ <groupId>org.richfaces</groupId>
+ <version>3.3.0-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.richfaces.cdk</groupId>
+ <artifactId>maven-archetype-seam-app</artifactId>
+ <version>3.3.0-SNAPSHOT</version>
+ <name>Archetype - maven-archetype-seam-app</name>
+</project>
\ No newline at end of file
Property changes on: trunk/cdk/maven-archetype-seam-app/pom.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added:
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ear/pom.xml
===================================================================
--- trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ear/pom.xml
(rev 0)
+++
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ear/pom.xml 2008-09-17
15:55:43 UTC (rev 10473)
@@ -0,0 +1,134 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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>${groupId}</groupId>
+ <artifactId>${projectName}</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+ <artifactId>${projectName}-ear</artifactId>
+ <name>EAR module</name>
+ <packaging>ear</packaging>
+ <dependencies>
+ <dependency>
+ <groupId>${groupId}</groupId>
+ <artifactId>${projectName}-web</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <type>war</type>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.framework</groupId>
+ <artifactId>richfaces-api</artifactId>
+ <version>${richfacesVersion}</version>
+ </dependency>
+
+ <!-- EJB -->
+ <dependency>
+ <groupId>org.jboss.seam</groupId>
+ <artifactId>jboss-seam</artifactId>
+ <version>${seamVersion}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.el</groupId>
+ <artifactId>el-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>commons-collections</groupId>
+ <artifactId>commons-collections</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.jboss.seam</groupId>
+ <artifactId>jboss-seam-pdf</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>dom4j</groupId>
+ <artifactId>dom4j</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>jboss</groupId>
+ <artifactId>javassist</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>xerces</groupId>
+ <artifactId>xercesImpl</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>xml-apis</groupId>
+ <artifactId>xml-apis</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>${groupId}</groupId>
+ <artifactId>${projectName}-ejb</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <type>ejb</type>
+ </dependency>
+ </dependencies>
+ <build>
+ <finalName>${projectName}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-ear-plugin</artifactId>
+ <version>2.3.1</version>
+ <configuration>
+ <generateApplicationXml>true</generateApplicationXml>
+ <includeJar>false</includeJar>
+ <defaultLibBundleDir>lib</defaultLibBundleDir>
+ <modules>
+ <webModule>
+ <groupId>${groupId}</groupId>
+ <artifactId>${projectName}-web</artifactId>
+ <contextRoot>/${projectName}</contextRoot>
+ </webModule>
+ <ejbModule>
+ <groupId>${groupId}</groupId>
+ <artifactId>${projectName}-ejb</artifactId>
+ </ejbModule>
+ </modules>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.cargo</groupId>
+ <artifactId>cargo-maven2-plugin</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>deployer-deploy</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>start-container</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>start</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <container>
+ <containerId>jboss4x</containerId>
+ <zipUrlInstaller>
+ <url>${jbossDownloadURL}</url>
+ <installDir>${installDir}</installDir>
+ </zipUrlInstaller>
+
<output>${project.build.directory}/jboss4x.log</output>
+ <log>${project.build.directory}/cargo.log</log>
+ </container>
+ <configuration>
+ <type>existing</type>
+ <home>${installDir}/${jbossDeployDir}</home>
+ <properties>
+
<cargo.servlet.port>8080</cargo.servlet.port>
+ <cargo.jboss.configuration>default</cargo.jboss.configuration>
+ </properties>
+ </configuration>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
\ No newline at end of file
Property changes on:
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ear/pom.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added:
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ear/src/main/application/META-INF/jboss-app.xml
===================================================================
---
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ear/src/main/application/META-INF/jboss-app.xml
(rev 0)
+++
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ear/src/main/application/META-INF/jboss-app.xml 2008-09-17
15:55:43 UTC (rev 10473)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+ <!DOCTYPE jboss-app
+ PUBLIC "-//JBoss//DTD J2EE Application 4.2//EN"
+ "http://www.jboss.org/j2ee/dtd/jboss-app_4_2.dtd">
+
+<jboss-app>
+ <loader-repository>
+ seam.jboss.org:loader=helloworld-ear.ear
+ </loader-repository>
+</jboss-app>
\ No newline at end of file
Property changes on:
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ear/src/main/application/META-INF/jboss-app.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added:
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ear/src/main/application/security.drl
===================================================================
---
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ear/src/main/application/security.drl
(rev 0)
+++
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ear/src/main/application/security.drl 2008-09-17
15:55:43 UTC (rev 10473)
@@ -0,0 +1,6 @@
+package Permissions;
+
+import java.security.Principal;
+
+import org.jboss.seam.security.PermissionCheck;
+import org.jboss.seam.security.Role;
\ No newline at end of file
Added:
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/pom.xml
===================================================================
--- trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/pom.xml
(rev 0)
+++
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/pom.xml 2008-09-17
15:55:43 UTC (rev 10473)
@@ -0,0 +1,147 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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>${groupId}</groupId>
+ <artifactId>${projectName}</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+ <artifactId>${projectName}-ejb</artifactId>
+ <name>EJB module</name>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>ejb</packaging>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.seam</groupId>
+ <artifactId>jboss-seam-remoting</artifactId>
+ <version>${seamVersion}</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>javassist</artifactId>
+ <groupId>jboss</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.seam</groupId>
+ <artifactId>jboss-seam-ui</artifactId>
+ <version>${seamVersion}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.seam</groupId>
+ <artifactId>jboss-seam-debug</artifactId>
+ <version>${seamVersion}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.el</groupId>
+ <artifactId>el-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>commons-collections</groupId>
+ <artifactId>commons-collections</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.jboss.seam</groupId>
+ <artifactId>jboss-seam-pdf</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>com.sun.facelets</groupId>
+ <artifactId>jsf-facelets</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.facelets</groupId>
+ <artifactId>jsf-facelets</artifactId>
+ <version>${faceletsVersion}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.framework</groupId>
+ <artifactId>richfaces-impl</artifactId>
+ <version>${richfacesVersion}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>richfaces-ui</artifactId>
+ <version>${richfacesVersion}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.drools</groupId>
+ <artifactId>drools-core</artifactId>
+ <version>${droolsVersion}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>xerces</groupId>
+ <artifactId>xercesImpl</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>xml-apis</groupId>
+ <artifactId>xml-apis</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.drools</groupId>
+ <artifactId>drools-compiler</artifactId>
+ <version>${droolsVersion}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>xerces</groupId>
+ <artifactId>xercesImpl</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>xml-apis</groupId>
+ <artifactId>xml-apis</artifactId>
+ </exclusion>
+ </exclusions>
+
+ </dependency>
+
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>1.2.14</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.ejb</groupId>
+ <artifactId>ejb-api</artifactId>
+ <version>3.0</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.persistence</groupId>
+ <artifactId>persistence-api</artifactId>
+ <version>1.0</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-validator</artifactId>
+ <version>3.0.0.ga</version>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-ejb-plugin</artifactId>
+ <configuration>
+ <ejbVersion>3.0</ejbVersion>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.4</version>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
Property changes on:
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/pom.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added:
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/src/main/java/org/richfaces/helloworld/service/Authenticator.java
===================================================================
---
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/src/main/java/org/richfaces/helloworld/service/Authenticator.java
(rev 0)
+++
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/src/main/java/org/richfaces/helloworld/service/Authenticator.java 2008-09-17
15:55:43 UTC (rev 10473)
@@ -0,0 +1,26 @@
+package org.richfaces.helloworld.service;
+
+import org.jboss.seam.annotations.In;
+import org.jboss.seam.annotations.Logger;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.log.Log;
+import org.jboss.seam.security.Identity;
+
+
+@Name("authenticator")
+public class Authenticator
+{
+ @Logger Log log;
+
+ @In Identity identity;
+
+ public boolean authenticate()
+ {
+ log.info("authenticating #0", identity.getUsername());
+ //write your authentication logic here,
+ //return true if the authentication was
+ //successful, false otherwise
+ identity.addRole("admin");
+ return true;
+ }
+}
Property changes on:
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/src/main/java/org/richfaces/helloworld/service/Authenticator.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Author Id Revision Date
Name: svn:eol-style
+ native
Added:
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/src/main/resources/META-INF/ejb-jar.xml
===================================================================
---
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/src/main/resources/META-INF/ejb-jar.xml
(rev 0)
+++
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/src/main/resources/META-INF/ejb-jar.xml 2008-09-17
15:55:43 UTC (rev 10473)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ejb-jar
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/ejb-jar_3_0.xsd"
+ version="3.0">
+
+ <interceptors>
+ <interceptor>
+
<interceptor-class>org.jboss.seam.ejb.SeamInterceptor</interceptor-class>
+ </interceptor>
+ </interceptors>
+
+ <assembly-descriptor>
+ <interceptor-binding>
+ <ejb-name>*</ejb-name>
+
<interceptor-class>org.jboss.seam.ejb.SeamInterceptor</interceptor-class>
+ </interceptor-binding>
+ </assembly-descriptor>
+
+</ejb-jar>
\ No newline at end of file
Property changes on:
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/src/main/resources/META-INF/ejb-jar.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added:
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/src/main/resources/META-INF/persistence.xml
===================================================================
---
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/src/main/resources/META-INF/persistence.xml
(rev 0)
+++
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/src/main/resources/META-INF/persistence.xml 2008-09-17
15:55:43 UTC (rev 10473)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Persistence deployment descriptor for dev profile -->
+<persistence
xmlns="http://java.sun.com/xml/ns/persistence"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
+ version="1.0">
+
+ <persistence-unit name="helloworld">
+ <provider>org.hibernate.ejb.HibernatePersistence</provider>
+ <jta-data-source>java:/helloworldDatasource</jta-data-source>
+ <properties>
+ <property name="hibernate.dialect"
value="org.hibernate.dialect.HSQLDialect"/>
+ <property name="hibernate.hbm2ddl.auto"
value="create-drop"/>
+ <property name="hibernate.show_sql" value="true"/>
+ <property name="hibernate.format_sql" value="true"/>
+ <property name="jboss.entity.manager.factory.jndi.name"
value="java:/helloworldEntityManagerFactory"/>
+ </properties>
+ </persistence-unit>
+
+</persistence>
Property changes on:
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/src/main/resources/META-INF/persistence.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added:
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/src/main/resources/components.properties
===================================================================
---
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/src/main/resources/components.properties
(rev 0)
+++
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/src/main/resources/components.properties 2008-09-17
15:55:43 UTC (rev 10473)
@@ -0,0 +1,4 @@
+#
+#Mon Sep 15 14:29:32 EEST 2008
+jndiPattern=helloworld-ear/\#{ejbName}/local
+embeddedEjb=false
Property changes on:
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/src/main/resources/components.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added:
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/src/main/resources/helloworld-ds.xml
===================================================================
---
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/src/main/resources/helloworld-ds.xml
(rev 0)
+++
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/src/main/resources/helloworld-ds.xml 2008-09-17
15:55:43 UTC (rev 10473)
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE datasources
+ PUBLIC "-//JBoss//DTD JBOSS JCA Config 1.5//EN"
+ "http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd">
+
+<datasources>
+
+ <local-tx-datasource>
+ <jndi-name>helloworldDatasource</jndi-name>
+ <connection-url>jdbc:hsqldb:.</connection-url>
+ <driver-class>org.hsqldb.jdbcDriver</driver-class>
+ <user-name>sa</user-name>
+ <password></password>
+<!--
+ <exception-sorter-class-name>
+ org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter
+ </exception-sorter-class-name>
+ <metadata>
+ <type-mapping>mySQL</type-mapping>
+ </metadata>
+-->
+ </local-tx-datasource>
+
+</datasources>
+
Property changes on:
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/src/main/resources/helloworld-ds.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added:
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/src/main/resources/import.sql
===================================================================
Property changes on:
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/src/main/resources/import.sql
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added:
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/src/main/resources/seam.properties
===================================================================
Property changes on:
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/ejb/src/main/resources/seam.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/pom.xml
===================================================================
--- trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/pom.xml
(rev 0)
+++
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/pom.xml 2008-09-17
15:55:43 UTC (rev 10473)
@@ -0,0 +1,79 @@
+<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}</artifactId>
+ <packaging>pom</packaging>
+ <version>1.0-SNAPSHOT</version>
+ <name>sample application</name>
+ <properties>
+ <projectName>${artifactId}</projectName>
+ <richfacesVersion>3.3.0-SNAPSHOT</richfacesVersion>
+ <seamVersion>2.0.1.GA</seamVersion>
+ <
jbossDownloadURL>http://downloads.sourceforge.net/jboss/jboss-4.2.3.GA...
+ <jbossDeployDir>jboss-4.2.3.GA/jboss-4.2.3.GA/server/default/</jbossDeployDir>
+ <droolsVersion>4.0.0</droolsVersion>
+ <faceletsVersion>1.1.14</faceletsVersion>
+ <installDir>E:/apps/jboss</installDir>
+ </properties>
+ <repositories>
+ <repository>
+ <id>repository.jboss.com</id>
+ <name>Jboss Repository for Maven</name>
+ <
url>http://repository.jboss.com/maven2/</url>
+ </repository>
+ <repository>
+ <id>repository.exadel.com</id>
+ <name>Exadel Maven 2 Repository</name>
+ <
url>http://repository.exadel.com/</url>
+ </repository>
+ </repositories>
+
+ <modules>
+ <module>ear</module>
+ <module>ejb</module>
+ <module>web</module>
+ </modules>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-ejb-plugin</artifactId>
+ <configuration>
+ <ejbVersion>3.0</ejbVersion>
+ </configuration>
+ </plugin>
+ </plugins>
+
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-eclipse-plugin</artifactId>
+ <version>2.5</version>
+ <configuration>
+ <downloadSources>true</downloadSources>
+ <downloadJavadocs>false</downloadJavadocs>
+ <projectNameTemplate>[artifactId]-[version]</projectNameTemplate>
+ <wtpmanifest>true</wtpmanifest>
+ <wtpapplicationxml>true</wtpapplicationxml>
+ <wtpversion>2.0</wtpversion>
+ <classpathContainers>
+ <classpathContainer>org.eclipse.jdt.launching.JDK_CONTAINER</classpathContainer>
+ </classpathContainers>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+
+</project>
\ No newline at end of file
Property changes on:
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/pom.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added:
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/web/pom.xml
===================================================================
--- trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/web/pom.xml
(rev 0)
+++
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/web/pom.xml 2008-09-17
15:55:43 UTC (rev 10473)
@@ -0,0 +1,20 @@
+<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>${groupId}</groupId>
+ <artifactId>${projectName}</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+ <artifactId>${projectName}-web</artifactId>
+ <name>WAR module</name>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>war</packaging>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-war-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Property changes on:
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/web/pom.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added:
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/web/src/main/resources/messages_en.properties
===================================================================
---
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/web/src/main/resources/messages_en.properties
(rev 0)
+++
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/web/src/main/resources/messages_en.properties 2008-09-17
15:55:43 UTC (rev 10473)
@@ -0,0 +1,90 @@
+up=\u2191
+down=\u2193
+left=\u2039
+right=\u203A
+
+validator.assertFalse=validation failed
+validator.assertTrue=validation failed
+validator.future=must be a future date
+validator.length=length must be between {min} and {max}
+validator.max=must be less than or equal to {value}
+validator.min=must be greater than or equal to {value}
+validator.notNull=may not be null
+validator.past=must be a past date
+validator.pattern=must match "{regex}"
+validator.range=must be between {min} and {max}
+validator.size=size must be between {min} and {max}
+validator.email=must be a well-formed email address
+
+org.jboss.seam.loginFailed=Login failed
+org.jboss.seam.loginSuccessful=Welcome, #0
+
+org.jboss.seam.TransactionFailed=Transaction failed
+org.jboss.seam.NoConversation=The conversation ended, timed out or was processing another
request
+org.jboss.seam.IllegalNavigation=Illegal navigation
+org.jboss.seam.ProcessEnded=Process #0 already ended
+org.jboss.seam.ProcessNotFound=Process #0 not found
+org.jboss.seam.TaskEnded=Task #0 already ended
+org.jboss.seam.TaskNotFound=Task #0 not found
+org.jboss.seam.NotLoggedIn=Please log in first
+
+javax.faces.component.UIInput.CONVERSION=value could not be converted to the expected
type
+javax.faces.component.UIInput.REQUIRED=value is required
+javax.faces.component.UIInput.UPDATE=an error occurred when processing your submitted
information
+javax.faces.component.UISelectOne.INVALID=value is not valid
+javax.faces.component.UISelectMany.INVALID=value is not valid
+
+javax.faces.converter.BigDecimalConverter.DECIMAL=value must be a number
+javax.faces.converter.BigDecimalConverter.DECIMAL_detail=value must be a signed decimal
number consisting of zero or more digits, optionally followed by a decimal point and
fraction, eg. {1}
+javax.faces.converter.BigIntegerConverter.BIGINTEGER=value must be an integer
+javax.faces.converter.BigIntegerConverter.BIGINTEGER_detail=value must be a signed
integer number consisting of zero or more digits
+javax.faces.converter.BooleanConverter.BOOLEAN=value must be true or false
+javax.faces.converter.BooleanConverter.BOOLEAN_detail=value must be true or false (any
value other than true will evaluate to false)
+javax.faces.converter.ByteConverter.BYTE=value must be a number between 0 and 255
+javax.faces.converter.ByteConverter.BYTE_detail=value must be a number between 0 and 255
+javax.faces.converter.CharacterConverter.CHARACTER=value must be a character
+javax.faces.converter.CharacterConverter.CHARACTER_detail=value must be a valid ASCII
character
+javax.faces.converter.DateTimeConverter.DATE=value must be a date
+javax.faces.converter.DateTimeConverter.DATE_detail=value must be a date, eg. {1}
+javax.faces.converter.DateTimeConverter.TIME=value must be a time
+javax.faces.converter.DateTimeConverter.TIME_detail=value must be a time, eg. {1}
+javax.faces.converter.DateTimeConverter.DATETIME=value must be a date and time
+javax.faces.converter.DateTimeConverter.DATETIME_detail=value must be a date and time,
eg. {1}
+javax.faces.converter.DateTimeConverter.PATTERN_TYPE=a pattern or type attribute must be
specified to convert the value
+javax.faces.converter.DoubleConverter.DOUBLE=value must be a number
+javax.faces.converter.DoubleConverter.DOUBLE_detail=value must be a number between
4.9E-324 and 1.7976931348623157E308
+javax.faces.converter.EnumConverter.ENUM=value must be convertible to an enum
+javax.faces.converter.EnumConverter.ENUM_detail=value must be convertible to an enum or
from the enum that contains the constant {1}
+javax.faces.converter.EnumConverter.ENUM_NO_CLASS=value must be convertible to an enum or
from the enum, but no enum class provided
+javax.faces.converter.EnumConverter.ENUM_NO_CLASS_detail=value must be convertible to an
enum or from the enum, but no enum class provided
+javax.faces.converter.FloatConverter.FLOAT=value must be a number
+javax.faces.converter.FloatConverter.FLOAT_detail=value must be a number between 1.4E-45
and 3.4028235E38
+javax.faces.converter.IntegerConverter.INTEGER=value must be an integer
+javax.faces.converter.IntegerConverter.INTEGER_detail=value must be an integer number
between -2147483648 and 2147483647
+javax.faces.converter.LongConverter.LONG=value must be an integer
+javax.faces.converter.LongConverter.LONG_detail=must be an integer number between
-9223372036854775808 and 9223372036854775807
+javax.faces.converter.NumberConverter.CURRENCY=value must be a currency amount
+javax.faces.converter.NumberConverter.CURRENCY_detail=value must be a currency amount,
eg. {1}
+javax.faces.converter.NumberConverter.PERCENT=value must be a percentage amount
+javax.faces.converter.NumberConverter.PERCENT_detail=value must be a percentage amount,
eg. {1}
+javax.faces.converter.NumberConverter.NUMBER=value must be a number
+javax.faces.converter.NumberConverter.NUMBER_detail=value must be a number
+javax.faces.converter.NumberConverter.PATTERN=value must be a number
+javax.faces.converter.NumberConverter.PATTERN_detail=value must be a number
+javax.faces.converter.ShortConverter.SHORT=value must be an integer
+javax.faces.converter.ShortConverter.SHORT_detail=value must be an integer number between
-32768 and 32767
+
+javax.faces.validator.DoubleRangeValidator.MAXIMUM=value must be less than or equal to
{0}
+javax.faces.validator.DoubleRangeValidator.MINIMUM=value must be greater than or equal to
{0}
+javax.faces.validator.DoubleRangeValidator.NOT_IN_RANGE=value must be between {0} and
{1}
+javax.faces.validator.DoubleRangeValidator.TYPE=value is not of the correct type
+javax.faces.validator.LengthValidator.MAXIMUM=value is must be shorter than or equal to
{0} characters
+javax.faces.validator.LengthValidator.MINIMUM=value is must be longer than or equal to
{0} characters
+javax.faces.validator.LongRangeValidator.MAXIMUM=value must be less than or equal to {0}
+javax.faces.validator.LongRangeValidator.MINIMUM=value must be greater than or equal to
{0}
+javax.faces.validator.LongRangeValidator.NOT_IN_RANGE=value must be between {0} and {1}
+javax.faces.validator.LongRangeValidator.TYPE=value is not of the correct type
+
+javax.faces.validator.NOT_IN_RANGE=value must be between {0} and {1}
+javax.faces.converter.STRING=value could not be converted to a string
+
Property changes on:
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/web/src/main/resources/messages_en.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added:
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/web/src/main/webapp/error.xhtml
===================================================================
(Binary files differ)
Property changes on:
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/web/src/main/webapp/error.xhtml
___________________________________________________________________
Name: svn:mime-type
+ application/xhtml+xml