Weld SVN: r5333 - archetypes/trunk/jsf/jee-minimal.
by weld-commits@lists.jboss.org
Author: dan.j.allen
Date: 2009-12-17 13:23:30 -0500 (Thu, 17 Dec 2009)
New Revision: 5333
Modified:
archetypes/trunk/jsf/jee-minimal/pom.xml
Log:
update description
Modified: archetypes/trunk/jsf/jee-minimal/pom.xml
===================================================================
--- archetypes/trunk/jsf/jee-minimal/pom.xml 2009-12-17 18:22:44 UTC (rev 5332)
+++ archetypes/trunk/jsf/jee-minimal/pom.xml 2009-12-17 18:23:30 UTC (rev 5333)
@@ -11,7 +11,7 @@
<groupId>org.jboss.weld.archetypes</groupId>
<artifactId>weld-jsf-jee-minimal</artifactId>
<name>Minimal Java EE 6 Archteype</name>
- <description>Weld archetype for creating a minimal Java EE 6 application using JSF 2.0 and CDI 1.0 (no persistence unit)</description>
+ <description>Weld archetype for creating a minimal Java EE 6 application using JSF 2.0, CDI 1.0 and EJB 3.1 (no persistence unit included)</description>
<packaging>maven-archetype</packaging>
15 years, 2 months
Weld SVN: r5332 - archetypes/tags/1.0.0-BETA1/jsf/jee-minimal.
by weld-commits@lists.jboss.org
Author: dan.j.allen
Date: 2009-12-17 13:22:44 -0500 (Thu, 17 Dec 2009)
New Revision: 5332
Modified:
archetypes/tags/1.0.0-BETA1/jsf/jee-minimal/pom.xml
Log:
add EJB 3.1 to description
Modified: archetypes/tags/1.0.0-BETA1/jsf/jee-minimal/pom.xml
===================================================================
--- archetypes/tags/1.0.0-BETA1/jsf/jee-minimal/pom.xml 2009-12-17 18:17:17 UTC (rev 5331)
+++ archetypes/tags/1.0.0-BETA1/jsf/jee-minimal/pom.xml 2009-12-17 18:22:44 UTC (rev 5332)
@@ -11,7 +11,7 @@
<groupId>org.jboss.weld.archetypes</groupId>
<artifactId>weld-jsf-jee-minimal</artifactId>
<name>Minimal Java EE 6 Archteype</name>
- <description>Weld archetype for creating a minimal Java EE 6 application using JSF 2.0 and CDI 1.0 (no persistence unit)</description>
+ <description>Weld archetype for creating a minimal Java EE 6 application using JSF 2.0, CDI 1.0 and EJB 3.1 (persistence unit not included)</description>
<packaging>maven-archetype</packaging>
15 years, 2 months
Weld SVN: r5331 - in archetypes/tags/1.0.0-BETA1/jsf: jee/src/main/resources/archetype-resources and 4 other directories.
by weld-commits@lists.jboss.org
Author: dan.j.allen
Date: 2009-12-17 13:17:17 -0500 (Thu, 17 Dec 2009)
New Revision: 5331
Added:
archetypes/tags/1.0.0-BETA1/jsf/jee-minimal/src/main/resources/archetype-resources/readme.txt
archetypes/tags/1.0.0-BETA1/jsf/jee/src/main/resources/archetype-resources/readme.txt
archetypes/tags/1.0.0-BETA1/jsf/servlet-minimal/src/main/resources/archetype-resources/readme.txt
Modified:
archetypes/tags/1.0.0-BETA1/jsf/jee-minimal/src/main/resources/META-INF/maven/archetype-metadata.xml
archetypes/tags/1.0.0-BETA1/jsf/jee-minimal/src/main/resources/archetype-resources/pom.xml
archetypes/tags/1.0.0-BETA1/jsf/jee/src/main/resources/META-INF/maven/archetype-metadata.xml
archetypes/tags/1.0.0-BETA1/jsf/jee/src/main/resources/archetype-resources/pom.xml
archetypes/tags/1.0.0-BETA1/jsf/servlet-minimal/src/main/resources/META-INF/maven/archetype-metadata.xml
Log:
WELDX-59
WELDX-60
Modified: archetypes/tags/1.0.0-BETA1/jsf/jee/src/main/resources/META-INF/maven/archetype-metadata.xml
===================================================================
--- archetypes/tags/1.0.0-BETA1/jsf/jee/src/main/resources/META-INF/maven/archetype-metadata.xml 2009-12-17 18:15:03 UTC (rev 5330)
+++ archetypes/tags/1.0.0-BETA1/jsf/jee/src/main/resources/META-INF/maven/archetype-metadata.xml 2009-12-17 18:17:17 UTC (rev 5331)
@@ -7,6 +7,12 @@
</requiredProperties>
<fileSets>
<fileSet filtered="true" packaged="false">
+ <directory/>
+ <includes>
+ <include>readme.txt</include>
+ </includes>
+ </fileSet>
+ <fileSet filtered="true" packaged="false">
<directory>src/main/webapp</directory>
<includes>
<include>index.jsp</include>
Modified: archetypes/tags/1.0.0-BETA1/jsf/jee/src/main/resources/archetype-resources/pom.xml
===================================================================
--- archetypes/tags/1.0.0-BETA1/jsf/jee/src/main/resources/archetype-resources/pom.xml 2009-12-17 18:15:03 UTC (rev 5330)
+++ archetypes/tags/1.0.0-BETA1/jsf/jee/src/main/resources/archetype-resources/pom.xml 2009-12-17 18:17:17 UTC (rev 5331)
@@ -155,6 +155,9 @@
<configuration>
<jbossHome>${expr_start}jboss.home${expr_end}</jbossHome>
<serverName>${expr_start}jboss.domain${expr_end}</serverName>
+ <fileNames>
+ <fileName>${expr_start}project.buildDirectory${expr_end}/${expr_start}build.finalName${expr_end}.war</fileName>
+ </fileNames>
</configuration>
</plugin>
</plugins>
Added: archetypes/tags/1.0.0-BETA1/jsf/jee/src/main/resources/archetype-resources/readme.txt
===================================================================
--- archetypes/tags/1.0.0-BETA1/jsf/jee/src/main/resources/archetype-resources/readme.txt (rev 0)
+++ archetypes/tags/1.0.0-BETA1/jsf/jee/src/main/resources/archetype-resources/readme.txt 2009-12-17 18:17:17 UTC (rev 5331)
@@ -0,0 +1,109 @@
+ ${artifactId}
+
+ What is it?
+ ===========
+
+ This is your project! It's a sample, deployable Maven 2 project to help you
+ get your foot in the door developing with Java EE 6. This project is setup to
+ allow you to create a compliant Java EE 6 application using JSF 2.0, CDI 1.0,
+ EJB 3.1 and JPA 2.0) that can run on a certified application server (Full or
+ Web Profile). It includes a persistence unit and some sample persistence and
+ transaction code to help you get your feet wet with database access in
+ enterprise Java.
+
+ System requirements
+ ===================
+
+ All you need to run this project is Java 5.0 (Java SDK 1.5) or greator and
+ Maven 2.0.10 or greater. This application is setup to be run on a Java EE 6
+ certified application server. It has been tested with GlassFish V3 and JBoss
+ AS 6.0.
+
+ If you want to deploy the application to a standalone Servlet Container, then
+ you will need to set one up. Alternatively, you can use a Maven command to run
+ the application in place on an embedded version of GlassFish.
+
+ Deploying the application
+ =========================
+
+ You can deploy the application without moving any files around using the
+ embedded GlassFish application server.
+
+ To run the application using embedded GlassFish, execute this command:
+
+ mvn package embedded-glassfish:run
+
+ The application will be running at the following URL:
+
+ http://localhost:7070/${artifactId}
+
+ To deploy the application to JBoss AS (standalone), first make sure that the
+ JBOSS_HOME environment variable points to a JBoss AS 6.0 installation.
+ Alternatively, you can set the location of JBoss AS using the following
+ profile defintion in the .m2/settings.xml file in your home directory:
+
+<?xml version="1.0" encoding="UTF-8"?>
+<settings
+ 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/xsd/settings-1.0.0.xsd">
+
+ <profiles>
+ <profile>
+ <id>environment</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <properties>
+ <jboss.home>/path/to/jboss-as-6.0.0.M1</jboss.home>
+ </properties>
+ </profile>
+ </profiles>
+
+</settings>
+
+ You can now deploy to JBoss AS by executing the following command:
+
+ mvn package jboss:hard-deploy
+
+ Start JBoss AS. The application will be running at the following URL:
+
+ http://localhost:8080/${artifactId}
+
+ If you want to deploy to GlassFish (standalone), you can upload the
+ target/${artifactId}.war archive using the web-based administration console.
+
+ Importing the project into an IDE
+ =================================
+
+ If you created the project using the Maven 2 archetype wizard in your IDE
+ (Eclipse, NetBeans or IntelliJ IDEA), then there is nothing to do. You should
+ already have an IDE project.
+
+ If you created the project from the commandline using archetype:generate, then
+ you need to bring the project into your IDE. If you are using NetBeans 6.8 or
+ IntelliJ IDEA 9, then all you have to do is open the project as an existing
+ project. Both of these IDEs recognize Maven 2 projects natively.
+
+ To import into Eclipse, you first need to install the m2eclipse plugin. To get
+ started, add the m2eclipse update site (http://m2eclipse.sonatype.org/update/)
+ to Eclipse and install the m2eclipse plugin and required dependencies. Once
+ that is installed, you'll be ready to import the project into Eclipse.
+
+ Select File > Import... and select "Import... > Maven Projects" and select
+ your project directory. m2eclipse should take it from there.
+
+ Once in the IDE, you can execute the Maven commands through the IDE controls
+ to run the application on an embedded Servlet Container.
+
+ Resources
+ =========
+
+ Weld archetypes:
+ - Quickstart: http://seamframework.org/Documentation/WeldQuickstartForMavenUsers
+ - Issue tracker: https://jira.jboss.org/jira/browse/WELDX
+ - Source code: http://anonsvn.jboss.org/repos/weld/archetypes
+ - Forums: http://seamframework.org/Community/WeldUsers
+ JSR-299 overview: http://seamframework.org/Weld
+ JSF community site: http://www.javaserverfaces.org
+
Modified: archetypes/tags/1.0.0-BETA1/jsf/jee-minimal/src/main/resources/META-INF/maven/archetype-metadata.xml
===================================================================
--- archetypes/tags/1.0.0-BETA1/jsf/jee-minimal/src/main/resources/META-INF/maven/archetype-metadata.xml 2009-12-17 18:15:03 UTC (rev 5330)
+++ archetypes/tags/1.0.0-BETA1/jsf/jee-minimal/src/main/resources/META-INF/maven/archetype-metadata.xml 2009-12-17 18:17:17 UTC (rev 5331)
@@ -7,6 +7,12 @@
</requiredProperties>
<fileSets>
<fileSet filtered="true" packaged="false">
+ <directory/>
+ <includes>
+ <include>readme.txt</include>
+ </includes>
+ </fileSet>
+ <fileSet filtered="true" packaged="false">
<directory>src/main/webapp</directory>
<includes>
<include>index.jsp</include>
Modified: archetypes/tags/1.0.0-BETA1/jsf/jee-minimal/src/main/resources/archetype-resources/pom.xml
===================================================================
--- archetypes/tags/1.0.0-BETA1/jsf/jee-minimal/src/main/resources/archetype-resources/pom.xml 2009-12-17 18:15:03 UTC (rev 5330)
+++ archetypes/tags/1.0.0-BETA1/jsf/jee-minimal/src/main/resources/archetype-resources/pom.xml 2009-12-17 18:17:17 UTC (rev 5331)
@@ -23,7 +23,6 @@
<jboss.domain>default</jboss.domain>
<!-- The version of Weld extensions in use -->
<weld.extensions.version>1.0.0-CR2</weld.extensions.version>
-
</properties>
<repositories>
@@ -151,15 +150,18 @@
<configuration>
<jbossHome>${expr_start}jboss.home${expr_end}</jbossHome>
<serverName>${expr_start}jboss.domain${expr_end}</serverName>
+ <fileNames>
+ <fileName>${expr_start}project.buildDirectory${expr_end}/${expr_start}build.finalName${expr_end}.war</fileName>
+ </fileNames>
</configuration>
</plugin>
- <!-- Configure the Embedded GlassFish Maven plugin (for using embedded-glassfish:run) -->
+ <!-- Configure the Embedded GlassFish Maven plugin -->
<plugin>
<groupId>org.glassfish</groupId>
<artifactId>maven-embedded-glassfish-plugin</artifactId>
<version>3.0</version>
<configuration>
- <app>target/${expr_start}build.finalName${expr_end}.war</app>
+ <app>${expr_start}project.buildDirectory${expr_end}/${expr_start}build.finalName${expr_end}.war</app>
<port>7070</port>
<containerType>web</containerType>
</configuration>
Added: archetypes/tags/1.0.0-BETA1/jsf/jee-minimal/src/main/resources/archetype-resources/readme.txt
===================================================================
--- archetypes/tags/1.0.0-BETA1/jsf/jee-minimal/src/main/resources/archetype-resources/readme.txt (rev 0)
+++ archetypes/tags/1.0.0-BETA1/jsf/jee-minimal/src/main/resources/archetype-resources/readme.txt 2009-12-17 18:17:17 UTC (rev 5331)
@@ -0,0 +1,108 @@
+ ${artifactId}
+
+ What is it?
+ ===========
+
+ This is your project! It's a barebones, deployable Maven 2 project to help you
+ get your foot in the door developing with Java EE 6. This project is setup to
+ allow you to create a compliant Java EE 6 application using JSF 2.0, CDI 1.0
+ and EJB 3.1 that can run on a certified application server (Full or Web
+ Profile). A persistence unit configuration is absent from this project, but
+ you can easily add one.
+
+ System requirements
+ ===================
+
+ All you need to run this project is Java 5.0 (Java SDK 1.5) or greator and
+ Maven 2.0.10 or greater. This application is setup to be run on a Java EE 6
+ certified application server. It has been tested with GlassFish V3 and JBoss
+ AS 6.0.
+
+ If you want to deploy the application to a standalone Servlet Container, then
+ you will need to set one up. Alternatively, you can use a Maven command to run
+ the application in place on an embedded version of GlassFish.
+
+ Deploying the application
+ =========================
+
+ You can deploy the application without moving any files around using the
+ embedded GlassFish application server.
+
+ To run the application using embedded GlassFish, execute this command:
+
+ mvn package embedded-glassfish:run
+
+ The application will be running at the following URL:
+
+ http://localhost:7070/${artifactId}
+
+ To deploy the application to JBoss AS (standalone), first make sure that the
+ JBOSS_HOME environment variable points to a JBoss AS 6.0 installation.
+ Alternatively, you can set the location of JBoss AS using the following
+ profile defintion in the .m2/settings.xml file in your home directory:
+
+<?xml version="1.0" encoding="UTF-8"?>
+<settings
+ 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/xsd/settings-1.0.0.xsd">
+
+ <profiles>
+ <profile>
+ <id>environment</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <properties>
+ <jboss.home>/path/to/jboss-as-6.0.0.M1</jboss.home>
+ </properties>
+ </profile>
+ </profiles>
+
+</settings>
+
+ You can now deploy to JBoss AS by executing the following command:
+
+ mvn package jboss:hard-deploy
+
+ Start JBoss AS. The application will be running at the following URL:
+
+ http://localhost:8080/${artifactId}
+
+ If you want to deploy to GlassFish (standalone), you can upload the
+ target/${artifactId}.war archive using the web-based administration console.
+
+ Importing the project into an IDE
+ =================================
+
+ If you created the project using the Maven 2 archetype wizard in your IDE
+ (Eclipse, NetBeans or IntelliJ IDEA), then there is nothing to do. You should
+ already have an IDE project.
+
+ If you created the project from the commandline using archetype:generate, then
+ you need to bring the project into your IDE. If you are using NetBeans 6.8 or
+ IntelliJ IDEA 9, then all you have to do is open the project as an existing
+ project. Both of these IDEs recognize Maven 2 projects natively.
+
+ To import into Eclipse, you first need to install the m2eclipse plugin. To get
+ started, add the m2eclipse update site (http://m2eclipse.sonatype.org/update/)
+ to Eclipse and install the m2eclipse plugin and required dependencies. Once
+ that is installed, you'll be ready to import the project into Eclipse.
+
+ Select File > Import... and select "Import... > Maven Projects" and select
+ your project directory. m2eclipse should take it from there.
+
+ Once in the IDE, you can execute the Maven commands through the IDE controls
+ to run the application on an embedded Servlet Container.
+
+ Resources
+ =========
+
+ Weld archetypes:
+ - Quickstart: http://seamframework.org/Documentation/WeldQuickstartForMavenUsers
+ - Issue tracker: https://jira.jboss.org/jira/browse/WELDX
+ - Source code: http://anonsvn.jboss.org/repos/weld/archetypes
+ - Forums: http://seamframework.org/Community/WeldUsers
+ JSR-299 overview: http://seamframework.org/Weld
+ JSF community site: http://www.javaserverfaces.org
+
Modified: archetypes/tags/1.0.0-BETA1/jsf/servlet-minimal/src/main/resources/META-INF/maven/archetype-metadata.xml
===================================================================
--- archetypes/tags/1.0.0-BETA1/jsf/servlet-minimal/src/main/resources/META-INF/maven/archetype-metadata.xml 2009-12-17 18:15:03 UTC (rev 5330)
+++ archetypes/tags/1.0.0-BETA1/jsf/servlet-minimal/src/main/resources/META-INF/maven/archetype-metadata.xml 2009-12-17 18:17:17 UTC (rev 5331)
@@ -7,6 +7,12 @@
</requiredProperties>
<fileSets>
<fileSet filtered="true" packaged="false">
+ <directory/>
+ <includes>
+ <include>readme.txt</include>
+ </includes>
+ </fileSet>
+ <fileSet filtered="true" packaged="false">
<directory>src/main/webapp</directory>
<includes>
<include>index.jsp</include>
Added: archetypes/tags/1.0.0-BETA1/jsf/servlet-minimal/src/main/resources/archetype-resources/readme.txt
===================================================================
--- archetypes/tags/1.0.0-BETA1/jsf/servlet-minimal/src/main/resources/archetype-resources/readme.txt (rev 0)
+++ archetypes/tags/1.0.0-BETA1/jsf/servlet-minimal/src/main/resources/archetype-resources/readme.txt 2009-12-17 18:17:17 UTC (rev 5331)
@@ -0,0 +1,84 @@
+ ${artifactId}
+
+ What is it?
+ ===========
+
+ This is your project! It's a barebones, deployable Maven 2 project to help you
+ get your foot in the door developing with Java EE 6. Specifically, this
+ project is setup to allow you to create a JSF 2.0 and CDI 1.0 application that
+ can run on Servlet Containers like Tomcat 6 and Jetty 6. You may be satisfied
+ with this combination in the long run, or you may eventually migrate to a true
+ Java EE 6 environment to leverage EJB 3.1, JPA 2.0 and other platform
+ technologies.
+
+ System requirements
+ ===================
+
+ All you need to run this project is Java 5.0 (Java SDK 1.5) or greator and
+ Maven 2.0.10 or greater. This application is setup to be run on a Servlet
+ Container. The embedded Jetty and Tomcat containers get downloaded
+ automatically by the Maven commands.
+
+ If you want to deploy the application to a standalone Servlet Container, then
+ you will need to set one up.
+
+ Deploying the application
+ =========================
+
+ You can deploy the application without moving any files around using the
+ embedded Jetty or Tomcat containers.
+
+ To run the application using embedded Jetty, execute this command:
+
+ mvn jetty:run
+
+ To run the application using embedded Tomcat, execute this command:
+
+ mvn compile tomcat:run
+
+ The application will be running at the following URL:
+
+ http://localhost:9090/${artifactId}
+
+ To run the application on a standalone container, first execute this command:
+
+ mvn package
+
+ Then copy the archive target/${artifactId}.war to the hot deploy directory of
+ the container (e.g., the webapps directory of Tomcat). Of course, you also
+ need to start the container.
+
+ Importing the project into an IDE
+ =================================
+
+ If you created the project using the Maven 2 archetype wizard in your IDE
+ (Eclipse, NetBeans or IntelliJ IDEA), then there is nothing to do. You should
+ already have an IDE project.
+
+ If you created the project from the commandline using archetype:generate, then
+ you need to bring the project into your IDE. If you are using NetBeans 6.8 or
+ IntelliJ IDEA 9, then all you have to do is open the project as an existing
+ project. Both of these IDEs recognize Maven 2 projects natively.
+
+ To import into Eclipse, you first need to install the m2eclipse plugin. To get
+ started, add the m2eclipse update site (http://m2eclipse.sonatype.org/update/)
+ to Eclipse and install the m2eclipse plugin and required dependencies. Once
+ that is installed, you'll be ready to import the project into Eclipse.
+
+ Select File > Import... and select "Import... > Maven Projects" and select
+ your project directory. m2eclipse should take it from there.
+
+ Once in the IDE, you can execute the Maven commands through the IDE controls
+ to run the application on an embedded Servlet Container.
+
+ Resources
+ =========
+
+ Weld archetypes:
+ - Quickstart: http://seamframework.org/Documentation/WeldQuickstartForMavenUsers
+ - Issue tracker: https://jira.jboss.org/jira/browse/WELDX
+ - Source code: http://anonsvn.jboss.org/repos/weld/archetypes
+ - Forums: http://seamframework.org/Community/WeldUsers
+ JSR-299 overview: http://seamframework.org/Weld
+ JSF community site: http://www.javaserverfaces.org
+
15 years, 2 months
Weld SVN: r5330 - in archetypes/trunk/jsf: jee-minimal/src/main/resources/archetype-resources and 1 other directory.
by weld-commits@lists.jboss.org
Author: dan.j.allen
Date: 2009-12-17 13:15:03 -0500 (Thu, 17 Dec 2009)
New Revision: 5330
Modified:
archetypes/trunk/jsf/jee-minimal/src/main/resources/archetype-resources/pom.xml
archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/pom.xml
Log:
add file names to JBoss AS deploy plugin
Modified: archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/pom.xml
===================================================================
--- archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/pom.xml 2009-12-17 18:14:43 UTC (rev 5329)
+++ archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/pom.xml 2009-12-17 18:15:03 UTC (rev 5330)
@@ -155,6 +155,9 @@
<configuration>
<jbossHome>${expr_start}jboss.home${expr_end}</jbossHome>
<serverName>${expr_start}jboss.domain${expr_end}</serverName>
+ <fileNames>
+ <fileName>${expr_start}project.buildDirectory${expr_end}/${expr_start}build.finalName${expr_end}.war</fileName>
+ </fileNames>
</configuration>
</plugin>
</plugins>
Modified: archetypes/trunk/jsf/jee-minimal/src/main/resources/archetype-resources/pom.xml
===================================================================
--- archetypes/trunk/jsf/jee-minimal/src/main/resources/archetype-resources/pom.xml 2009-12-17 18:14:43 UTC (rev 5329)
+++ archetypes/trunk/jsf/jee-minimal/src/main/resources/archetype-resources/pom.xml 2009-12-17 18:15:03 UTC (rev 5330)
@@ -23,7 +23,6 @@
<jboss.domain>default</jboss.domain>
<!-- The version of Weld extensions in use -->
<weld.extensions.version>1.0.0-CR2</weld.extensions.version>
-
</properties>
<repositories>
@@ -151,15 +150,18 @@
<configuration>
<jbossHome>${expr_start}jboss.home${expr_end}</jbossHome>
<serverName>${expr_start}jboss.domain${expr_end}</serverName>
+ <fileNames>
+ <fileName>${expr_start}project.buildDirectory${expr_end}/${expr_start}build.finalName${expr_end}.war</fileName>
+ </fileNames>
</configuration>
</plugin>
- <!-- Configure the Embedded GlassFish Maven plugin (for using embedded-glassfish:run) -->
+ <!-- Configure the Embedded GlassFish Maven plugin -->
<plugin>
<groupId>org.glassfish</groupId>
<artifactId>maven-embedded-glassfish-plugin</artifactId>
<version>3.0</version>
<configuration>
- <app>target/${expr_start}build.finalName${expr_end}.war</app>
+ <app>${expr_start}project.buildDirectory${expr_end}/${expr_start}build.finalName${expr_end}.war</app>
<port>7070</port>
<containerType>web</containerType>
</configuration>
15 years, 2 months
Weld SVN: r5329 - in archetypes/trunk/jsf: jee-minimal/src/main/resources/archetype-resources and 1 other directory.
by weld-commits@lists.jboss.org
Author: dan.j.allen
Date: 2009-12-17 13:14:43 -0500 (Thu, 17 Dec 2009)
New Revision: 5329
Modified:
archetypes/trunk/jsf/jee-minimal/src/main/resources/archetype-resources/readme.txt
archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/readme.txt
Log:
remove variable references
Modified: archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/readme.txt
===================================================================
--- archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/readme.txt 2009-12-17 17:35:33 UTC (rev 5328)
+++ archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/readme.txt 2009-12-17 18:14:43 UTC (rev 5329)
@@ -40,7 +40,7 @@
To deploy the application to JBoss AS (standalone), first make sure that the
JBOSS_HOME environment variable points to a JBoss AS 6.0 installation.
Alternatively, you can set the location of JBoss AS using the following
- profile defintion in your $HOME/.m2/settings.xml file:
+ profile defintion in the .m2/settings.xml file in your home directory:
<?xml version="1.0" encoding="UTF-8"?>
<settings
@@ -55,7 +55,7 @@
<activeByDefault>true</activeByDefault>
</activation>
<properties>
- <jboss.home>${user.home}/opt/jboss-as-6.0.0.M1</jboss.home>
+ <jboss.home>/path/to/jboss-as-6.0.0.M1</jboss.home>
</properties>
</profile>
</profiles>
Modified: archetypes/trunk/jsf/jee-minimal/src/main/resources/archetype-resources/readme.txt
===================================================================
--- archetypes/trunk/jsf/jee-minimal/src/main/resources/archetype-resources/readme.txt 2009-12-17 17:35:33 UTC (rev 5328)
+++ archetypes/trunk/jsf/jee-minimal/src/main/resources/archetype-resources/readme.txt 2009-12-17 18:14:43 UTC (rev 5329)
@@ -39,7 +39,7 @@
To deploy the application to JBoss AS (standalone), first make sure that the
JBOSS_HOME environment variable points to a JBoss AS 6.0 installation.
Alternatively, you can set the location of JBoss AS using the following
- profile defintion in your $HOME/.m2/settings.xml file:
+ profile defintion in the .m2/settings.xml file in your home directory:
<?xml version="1.0" encoding="UTF-8"?>
<settings
@@ -54,7 +54,7 @@
<activeByDefault>true</activeByDefault>
</activation>
<properties>
- <jboss.home>${user.home}/opt/jboss-as-6.0.0.M1</jboss.home>
+ <jboss.home>/path/to/jboss-as-6.0.0.M1</jboss.home>
</properties>
</profile>
</profiles>
15 years, 2 months
Weld SVN: r5328 - in archetypes/trunk/jsf/jee/src/main/resources: archetype-resources and 1 other directory.
by weld-commits@lists.jboss.org
Author: dan.j.allen
Date: 2009-12-17 12:35:33 -0500 (Thu, 17 Dec 2009)
New Revision: 5328
Added:
archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/readme.txt
Modified:
archetypes/trunk/jsf/jee/src/main/resources/META-INF/maven/archetype-metadata.xml
Log:
add readme.txt to jee
Modified: archetypes/trunk/jsf/jee/src/main/resources/META-INF/maven/archetype-metadata.xml
===================================================================
--- archetypes/trunk/jsf/jee/src/main/resources/META-INF/maven/archetype-metadata.xml 2009-12-17 17:28:49 UTC (rev 5327)
+++ archetypes/trunk/jsf/jee/src/main/resources/META-INF/maven/archetype-metadata.xml 2009-12-17 17:35:33 UTC (rev 5328)
@@ -7,6 +7,12 @@
</requiredProperties>
<fileSets>
<fileSet filtered="true" packaged="false">
+ <directory/>
+ <includes>
+ <include>readme.txt</include>
+ </includes>
+ </fileSet>
+ <fileSet filtered="true" packaged="false">
<directory>src/main/webapp</directory>
<includes>
<include>index.jsp</include>
Added: archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/readme.txt
===================================================================
--- archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/readme.txt (rev 0)
+++ archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/readme.txt 2009-12-17 17:35:33 UTC (rev 5328)
@@ -0,0 +1,109 @@
+ ${artifactId}
+
+ What is it?
+ ===========
+
+ This is your project! It's a sample, deployable Maven 2 project to help you
+ get your foot in the door developing with Java EE 6. This project is setup to
+ allow you to create a compliant Java EE 6 application using JSF 2.0, CDI 1.0,
+ EJB 3.1 and JPA 2.0) that can run on a certified application server (Full or
+ Web Profile). It includes a persistence unit and some sample persistence and
+ transaction code to help you get your feet wet with database access in
+ enterprise Java.
+
+ System requirements
+ ===================
+
+ All you need to run this project is Java 5.0 (Java SDK 1.5) or greator and
+ Maven 2.0.10 or greater. This application is setup to be run on a Java EE 6
+ certified application server. It has been tested with GlassFish V3 and JBoss
+ AS 6.0.
+
+ If you want to deploy the application to a standalone Servlet Container, then
+ you will need to set one up. Alternatively, you can use a Maven command to run
+ the application in place on an embedded version of GlassFish.
+
+ Deploying the application
+ =========================
+
+ You can deploy the application without moving any files around using the
+ embedded GlassFish application server.
+
+ To run the application using embedded GlassFish, execute this command:
+
+ mvn package embedded-glassfish:run
+
+ The application will be running at the following URL:
+
+ http://localhost:7070/${artifactId}
+
+ To deploy the application to JBoss AS (standalone), first make sure that the
+ JBOSS_HOME environment variable points to a JBoss AS 6.0 installation.
+ Alternatively, you can set the location of JBoss AS using the following
+ profile defintion in your $HOME/.m2/settings.xml file:
+
+<?xml version="1.0" encoding="UTF-8"?>
+<settings
+ 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/xsd/settings-1.0.0.xsd">
+
+ <profiles>
+ <profile>
+ <id>environment</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <properties>
+ <jboss.home>${user.home}/opt/jboss-as-6.0.0.M1</jboss.home>
+ </properties>
+ </profile>
+ </profiles>
+
+</settings>
+
+ You can now deploy to JBoss AS by executing the following command:
+
+ mvn package jboss:hard-deploy
+
+ Start JBoss AS. The application will be running at the following URL:
+
+ http://localhost:8080/${artifactId}
+
+ If you want to deploy to GlassFish (standalone), you can upload the
+ target/${artifactId}.war archive using the web-based administration console.
+
+ Importing the project into an IDE
+ =================================
+
+ If you created the project using the Maven 2 archetype wizard in your IDE
+ (Eclipse, NetBeans or IntelliJ IDEA), then there is nothing to do. You should
+ already have an IDE project.
+
+ If you created the project from the commandline using archetype:generate, then
+ you need to bring the project into your IDE. If you are using NetBeans 6.8 or
+ IntelliJ IDEA 9, then all you have to do is open the project as an existing
+ project. Both of these IDEs recognize Maven 2 projects natively.
+
+ To import into Eclipse, you first need to install the m2eclipse plugin. To get
+ started, add the m2eclipse update site (http://m2eclipse.sonatype.org/update/)
+ to Eclipse and install the m2eclipse plugin and required dependencies. Once
+ that is installed, you'll be ready to import the project into Eclipse.
+
+ Select File > Import... and select "Import... > Maven Projects" and select
+ your project directory. m2eclipse should take it from there.
+
+ Once in the IDE, you can execute the Maven commands through the IDE controls
+ to run the application on an embedded Servlet Container.
+
+ Resources
+ =========
+
+ Weld archetypes:
+ - Quickstart: http://seamframework.org/Documentation/WeldQuickstartForMavenUsers
+ - Issue tracker: https://jira.jboss.org/jira/browse/WELDX
+ - Source code: http://anonsvn.jboss.org/repos/weld/archetypes
+ - Forums: http://seamframework.org/Community/WeldUsers
+ JSR-299 overview: http://seamframework.org/Weld
+ JSF community site: http://www.javaserverfaces.org
+
15 years, 2 months
Weld SVN: r5327 - in archetypes/trunk/jsf: jee-minimal/src/main/resources/archetype-resources and 2 other directories.
by weld-commits@lists.jboss.org
Author: dan.j.allen
Date: 2009-12-17 12:28:49 -0500 (Thu, 17 Dec 2009)
New Revision: 5327
Added:
archetypes/trunk/jsf/jee-minimal/src/main/resources/archetype-resources/readme.txt
archetypes/trunk/jsf/servlet-minimal/src/main/resources/archetype-resources/readme.txt
Modified:
archetypes/trunk/jsf/jee-minimal/src/main/resources/META-INF/maven/archetype-metadata.xml
archetypes/trunk/jsf/servlet-minimal/src/main/resources/META-INF/maven/archetype-metadata.xml
Log:
add readme.txt files
Modified: archetypes/trunk/jsf/jee-minimal/src/main/resources/META-INF/maven/archetype-metadata.xml
===================================================================
--- archetypes/trunk/jsf/jee-minimal/src/main/resources/META-INF/maven/archetype-metadata.xml 2009-12-17 15:08:03 UTC (rev 5326)
+++ archetypes/trunk/jsf/jee-minimal/src/main/resources/META-INF/maven/archetype-metadata.xml 2009-12-17 17:28:49 UTC (rev 5327)
@@ -7,6 +7,12 @@
</requiredProperties>
<fileSets>
<fileSet filtered="true" packaged="false">
+ <directory/>
+ <includes>
+ <include>readme.txt</include>
+ </includes>
+ </fileSet>
+ <fileSet filtered="true" packaged="false">
<directory>src/main/webapp</directory>
<includes>
<include>index.jsp</include>
Added: archetypes/trunk/jsf/jee-minimal/src/main/resources/archetype-resources/readme.txt
===================================================================
--- archetypes/trunk/jsf/jee-minimal/src/main/resources/archetype-resources/readme.txt (rev 0)
+++ archetypes/trunk/jsf/jee-minimal/src/main/resources/archetype-resources/readme.txt 2009-12-17 17:28:49 UTC (rev 5327)
@@ -0,0 +1,108 @@
+ ${artifactId}
+
+ What is it?
+ ===========
+
+ This is your project! It's a barebones, deployable Maven 2 project to help you
+ get your foot in the door developing with Java EE 6. This project is setup to
+ allow you to create a compliant Java EE 6 application using JSF 2.0, CDI 1.0
+ and EJB 3.1 that can run on a certified application server (Full or Web
+ Profile). A persistence unit configuration is absent from this project, but
+ you can easily add one.
+
+ System requirements
+ ===================
+
+ All you need to run this project is Java 5.0 (Java SDK 1.5) or greator and
+ Maven 2.0.10 or greater. This application is setup to be run on a Java EE 6
+ certified application server. It has been tested with GlassFish V3 and JBoss
+ AS 6.0.
+
+ If you want to deploy the application to a standalone Servlet Container, then
+ you will need to set one up. Alternatively, you can use a Maven command to run
+ the application in place on an embedded version of GlassFish.
+
+ Deploying the application
+ =========================
+
+ You can deploy the application without moving any files around using the
+ embedded GlassFish application server.
+
+ To run the application using embedded GlassFish, execute this command:
+
+ mvn package embedded-glassfish:run
+
+ The application will be running at the following URL:
+
+ http://localhost:7070/${artifactId}
+
+ To deploy the application to JBoss AS (standalone), first make sure that the
+ JBOSS_HOME environment variable points to a JBoss AS 6.0 installation.
+ Alternatively, you can set the location of JBoss AS using the following
+ profile defintion in your $HOME/.m2/settings.xml file:
+
+<?xml version="1.0" encoding="UTF-8"?>
+<settings
+ 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/xsd/settings-1.0.0.xsd">
+
+ <profiles>
+ <profile>
+ <id>environment</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <properties>
+ <jboss.home>${user.home}/opt/jboss-as-6.0.0.M1</jboss.home>
+ </properties>
+ </profile>
+ </profiles>
+
+</settings>
+
+ You can now deploy to JBoss AS by executing the following command:
+
+ mvn package jboss:hard-deploy
+
+ Start JBoss AS. The application will be running at the following URL:
+
+ http://localhost:8080/${artifactId}
+
+ If you want to deploy to GlassFish (standalone), you can upload the
+ target/${artifactId}.war archive using the web-based administration console.
+
+ Importing the project into an IDE
+ =================================
+
+ If you created the project using the Maven 2 archetype wizard in your IDE
+ (Eclipse, NetBeans or IntelliJ IDEA), then there is nothing to do. You should
+ already have an IDE project.
+
+ If you created the project from the commandline using archetype:generate, then
+ you need to bring the project into your IDE. If you are using NetBeans 6.8 or
+ IntelliJ IDEA 9, then all you have to do is open the project as an existing
+ project. Both of these IDEs recognize Maven 2 projects natively.
+
+ To import into Eclipse, you first need to install the m2eclipse plugin. To get
+ started, add the m2eclipse update site (http://m2eclipse.sonatype.org/update/)
+ to Eclipse and install the m2eclipse plugin and required dependencies. Once
+ that is installed, you'll be ready to import the project into Eclipse.
+
+ Select File > Import... and select "Import... > Maven Projects" and select
+ your project directory. m2eclipse should take it from there.
+
+ Once in the IDE, you can execute the Maven commands through the IDE controls
+ to run the application on an embedded Servlet Container.
+
+ Resources
+ =========
+
+ Weld archetypes:
+ - Quickstart: http://seamframework.org/Documentation/WeldQuickstartForMavenUsers
+ - Issue tracker: https://jira.jboss.org/jira/browse/WELDX
+ - Source code: http://anonsvn.jboss.org/repos/weld/archetypes
+ - Forums: http://seamframework.org/Community/WeldUsers
+ JSR-299 overview: http://seamframework.org/Weld
+ JSF community site: http://www.javaserverfaces.org
+
Modified: archetypes/trunk/jsf/servlet-minimal/src/main/resources/META-INF/maven/archetype-metadata.xml
===================================================================
--- archetypes/trunk/jsf/servlet-minimal/src/main/resources/META-INF/maven/archetype-metadata.xml 2009-12-17 15:08:03 UTC (rev 5326)
+++ archetypes/trunk/jsf/servlet-minimal/src/main/resources/META-INF/maven/archetype-metadata.xml 2009-12-17 17:28:49 UTC (rev 5327)
@@ -7,6 +7,12 @@
</requiredProperties>
<fileSets>
<fileSet filtered="true" packaged="false">
+ <directory/>
+ <includes>
+ <include>readme.txt</include>
+ </includes>
+ </fileSet>
+ <fileSet filtered="true" packaged="false">
<directory>src/main/webapp</directory>
<includes>
<include>index.jsp</include>
Added: archetypes/trunk/jsf/servlet-minimal/src/main/resources/archetype-resources/readme.txt
===================================================================
--- archetypes/trunk/jsf/servlet-minimal/src/main/resources/archetype-resources/readme.txt (rev 0)
+++ archetypes/trunk/jsf/servlet-minimal/src/main/resources/archetype-resources/readme.txt 2009-12-17 17:28:49 UTC (rev 5327)
@@ -0,0 +1,84 @@
+ ${artifactId}
+
+ What is it?
+ ===========
+
+ This is your project! It's a barebones, deployable Maven 2 project to help you
+ get your foot in the door developing with Java EE 6. Specifically, this
+ project is setup to allow you to create a JSF 2.0 and CDI 1.0 application that
+ can run on Servlet Containers like Tomcat 6 and Jetty 6. You may be satisfied
+ with this combination in the long run, or you may eventually migrate to a true
+ Java EE 6 environment to leverage EJB 3.1, JPA 2.0 and other platform
+ technologies.
+
+ System requirements
+ ===================
+
+ All you need to run this project is Java 5.0 (Java SDK 1.5) or greator and
+ Maven 2.0.10 or greater. This application is setup to be run on a Servlet
+ Container. The embedded Jetty and Tomcat containers get downloaded
+ automatically by the Maven commands.
+
+ If you want to deploy the application to a standalone Servlet Container, then
+ you will need to set one up.
+
+ Deploying the application
+ =========================
+
+ You can deploy the application without moving any files around using the
+ embedded Jetty or Tomcat containers.
+
+ To run the application using embedded Jetty, execute this command:
+
+ mvn jetty:run
+
+ To run the application using embedded Tomcat, execute this command:
+
+ mvn compile tomcat:run
+
+ The application will be running at the following URL:
+
+ http://localhost:9090/${artifactId}
+
+ To run the application on a standalone container, first execute this command:
+
+ mvn package
+
+ Then copy the archive target/${artifactId}.war to the hot deploy directory of
+ the container (e.g., the webapps directory of Tomcat). Of course, you also
+ need to start the container.
+
+ Importing the project into an IDE
+ =================================
+
+ If you created the project using the Maven 2 archetype wizard in your IDE
+ (Eclipse, NetBeans or IntelliJ IDEA), then there is nothing to do. You should
+ already have an IDE project.
+
+ If you created the project from the commandline using archetype:generate, then
+ you need to bring the project into your IDE. If you are using NetBeans 6.8 or
+ IntelliJ IDEA 9, then all you have to do is open the project as an existing
+ project. Both of these IDEs recognize Maven 2 projects natively.
+
+ To import into Eclipse, you first need to install the m2eclipse plugin. To get
+ started, add the m2eclipse update site (http://m2eclipse.sonatype.org/update/)
+ to Eclipse and install the m2eclipse plugin and required dependencies. Once
+ that is installed, you'll be ready to import the project into Eclipse.
+
+ Select File > Import... and select "Import... > Maven Projects" and select
+ your project directory. m2eclipse should take it from there.
+
+ Once in the IDE, you can execute the Maven commands through the IDE controls
+ to run the application on an embedded Servlet Container.
+
+ Resources
+ =========
+
+ Weld archetypes:
+ - Quickstart: http://seamframework.org/Documentation/WeldQuickstartForMavenUsers
+ - Issue tracker: https://jira.jboss.org/jira/browse/WELDX
+ - Source code: http://anonsvn.jboss.org/repos/weld/archetypes
+ - Forums: http://seamframework.org/Community/WeldUsers
+ JSR-299 overview: http://seamframework.org/Weld
+ JSF community site: http://www.javaserverfaces.org
+
15 years, 2 months
Weld SVN: r5326 - in examples/trunk/jsf/translator/ear: src and 2 other directories.
by weld-commits@lists.jboss.org
Author: kpiwko(a)redhat.com
Date: 2009-12-17 10:08:03 -0500 (Thu, 17 Dec 2009)
New Revision: 5326
Added:
examples/trunk/jsf/translator/ear/src/test/
examples/trunk/jsf/translator/ear/src/test/selenium/
examples/trunk/jsf/translator/ear/src/test/selenium/jboss5x.xml
Modified:
examples/trunk/jsf/translator/ear/pom.xml
Log:
WELD-344
Modified: examples/trunk/jsf/translator/ear/pom.xml
===================================================================
--- examples/trunk/jsf/translator/ear/pom.xml 2009-12-17 15:06:27 UTC (rev 5325)
+++ examples/trunk/jsf/translator/ear/pom.xml 2009-12-17 15:08:03 UTC (rev 5326)
@@ -56,7 +56,84 @@
</dependency>-->
</dependencies>
-
+
+ <profiles>
+ <profile>
+ <id>ftest-jboss-remote-51</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+
+ <properties>
+ <ftest.version>0.1${ftest.version.discriminator}</ftest.version>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.weld.examples.ftest</groupId>
+ <artifactId>ftest-translator</artifactId>
+ <version>${ftest.version}</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.cargo</groupId>
+ <artifactId>cargo-maven2-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>selenium-maven-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>ftest-jboss-remote-60</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+
+ <properties>
+ <ftest.version>0.1${ftest.version.discriminator}</ftest.version>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.weld.examples.ftest</groupId>
+ <artifactId>ftest-translator</artifactId>
+ <version>${ftest.version}</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.cargo</groupId>
+ <artifactId>cargo-maven2-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>selenium-maven-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
+ </profiles>
+
+
<build>
<finalName>weld-translator</finalName>
<plugins>
Added: examples/trunk/jsf/translator/ear/src/test/selenium/jboss5x.xml
===================================================================
--- examples/trunk/jsf/translator/ear/src/test/selenium/jboss5x.xml (rev 0)
+++ examples/trunk/jsf/translator/ear/src/test/selenium/jboss5x.xml 2009-12-17 15:08:03 UTC (rev 5326)
@@ -0,0 +1,29 @@
+
+ <!--
+ JBoss, Home of Professional Open Source Copyright 2008, Red Hat
+ Middleware LLC, and individual contributors by the @authors tag. See
+ the copyright.txt in the distribution for a full listing of individual
+ contributors. This is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of the
+ License, or (at your option) any later version. This software is
+ distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ License for more details. You should have received a copy of the GNU
+ Lesser General Public License along with this software; if not, write
+ to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ Boston, MA 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ -->
+<!DOCTYPE suite SYSTEM "http://beust.com/testng/testng-1.0.dtd" >
+<suite name="Weld JSF Translator example" verbose="2" parallel="false">
+ <listeners>
+ <listener class-name="org.jboss.weld.example.common.test.selenium.WeldFunctionalTestListener" />
+ </listeners>
+ <test name="translator_jboss5x">
+ <parameter name="example.context.path" value="/weld-translator" />
+ <packages>
+ <package name="org.jboss.weld.example.translator.test.selenium" />
+ </packages>
+ </test>
+</suite>
15 years, 2 months
Weld SVN: r5325 - in examples/trunk/jsf/login: src and 2 other directories.
by weld-commits@lists.jboss.org
Author: kpiwko(a)redhat.com
Date: 2009-12-17 10:06:27 -0500 (Thu, 17 Dec 2009)
New Revision: 5325
Added:
examples/trunk/jsf/login/src/test/
examples/trunk/jsf/login/src/test/selenium/
examples/trunk/jsf/login/src/test/selenium/jboss5x.xml
Modified:
examples/trunk/jsf/login/pom.xml
Log:
WELD-343
Modified: examples/trunk/jsf/login/pom.xml
===================================================================
--- examples/trunk/jsf/login/pom.xml 2009-12-17 15:05:48 UTC (rev 5324)
+++ examples/trunk/jsf/login/pom.xml 2009-12-17 15:06:27 UTC (rev 5325)
@@ -1,29 +1,30 @@
<?xml version="1.0"?>
-<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.jboss.weld.examples</groupId>
<artifactId>weld-examples-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
-
+
<groupId>org.jboss.weld.examples.jsf</groupId>
<artifactId>weld-jsf-login</artifactId>
<packaging>war</packaging>
<name>Weld Examples: Login</name>
-
+
<pluginRepositories>
- <pluginRepository>
- <id>codehaus snapshot repository</id>
- <url>http://snapshots.repository.codehaus.org/</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- </pluginRepository>
- </pluginRepositories>
-
+ <pluginRepository>
+ <id>codehaus snapshot repository</id>
+ <url>http://snapshots.repository.codehaus.org/</url>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </pluginRepository>
+ </pluginRepositories>
+
<dependencies>
<dependency>
<groupId>org.testng</groupId>
@@ -31,30 +32,26 @@
<scope>test</scope>
<classifier>jdk15</classifier>
</dependency>
-
+
<dependency>
<groupId>javax.enterprise</groupId>
<artifactId>cdi-api</artifactId>
<scope>provided</scope>
</dependency>
-
+
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
<scope>provided</scope>
</dependency>
-
- <!-- <dependency>
- <groupId>org.jboss.el</groupId>
- <artifactId>jboss-el</artifactId>
- <exclusions>
- <exclusion>
- <groupId>javax.el</groupId>
- <artifactId>el-api</artifactId>
- </exclusion>
- </exclusions>
- </dependency>-->
-
+
+ <!--
+ <dependency> <groupId>org.jboss.el</groupId>
+ <artifactId>jboss-el</artifactId> <exclusions> <exclusion>
+ <groupId>javax.el</groupId> <artifactId>el-api</artifactId>
+ </exclusion> </exclusions> </dependency>
+ -->
+
<dependency>
<groupId>org.glassfish.web</groupId>
<artifactId>el-impl</artifactId>
@@ -65,12 +62,88 @@
</exclusion>
</exclusions>
</dependency>
-
+
</dependencies>
-
+
<build>
<finalName>weld-login</finalName>
</build>
-
+
+ <profiles>
+ <profile>
+ <id>ftest-jboss-remote-51</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+
+ <properties>
+ <ftest.version>0.1${ftest.version.discriminator}</ftest.version>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.weld.examples.ftest</groupId>
+ <artifactId>ftest-login</artifactId>
+ <version>${ftest.version}</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.cargo</groupId>
+ <artifactId>cargo-maven2-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>selenium-maven-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>ftest-jboss-remote-60</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+
+ <properties>
+ <ftest.version>0.1${ftest.version.discriminator}</ftest.version>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.weld.examples.ftest</groupId>
+ <artifactId>ftest-login</artifactId>
+ <version>${ftest.version}</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.cargo</groupId>
+ <artifactId>cargo-maven2-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>selenium-maven-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
+ </profiles>
+
</project>
Added: examples/trunk/jsf/login/src/test/selenium/jboss5x.xml
===================================================================
--- examples/trunk/jsf/login/src/test/selenium/jboss5x.xml (rev 0)
+++ examples/trunk/jsf/login/src/test/selenium/jboss5x.xml 2009-12-17 15:06:27 UTC (rev 5325)
@@ -0,0 +1,29 @@
+
+ <!--
+ JBoss, Home of Professional Open Source Copyright 2008, Red Hat
+ Middleware LLC, and individual contributors by the @authors tag. See
+ the copyright.txt in the distribution for a full listing of individual
+ contributors. This is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of the
+ License, or (at your option) any later version. This software is
+ distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ License for more details. You should have received a copy of the GNU
+ Lesser General Public License along with this software; if not, write
+ to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ Boston, MA 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ -->
+<!DOCTYPE suite SYSTEM "http://beust.com/testng/testng-1.0.dtd" >
+<suite name="Weld JSF Login example" verbose="2" parallel="false">
+ <listeners>
+ <listener class-name="org.jboss.weld.example.common.test.selenium.WeldFunctionalTestListener" />
+ </listeners>
+ <test name="login_jboss5x">
+ <parameter name="example.context.path" value="/weld-login" />
+ <packages>
+ <package name="org.jboss.weld.example.login.test.selenium" />
+ </packages>
+ </test>
+</suite>
15 years, 2 months
Weld SVN: r5324 - in examples/trunk/jsf/numberguess: src and 2 other directories.
by weld-commits@lists.jboss.org
Author: kpiwko(a)redhat.com
Date: 2009-12-17 10:05:48 -0500 (Thu, 17 Dec 2009)
New Revision: 5324
Added:
examples/trunk/jsf/numberguess/src/test/
examples/trunk/jsf/numberguess/src/test/selenium/
examples/trunk/jsf/numberguess/src/test/selenium/jboss5x.xml
Modified:
examples/trunk/jsf/numberguess/pom.xml
Log:
WELD-342
Modified: examples/trunk/jsf/numberguess/pom.xml
===================================================================
--- examples/trunk/jsf/numberguess/pom.xml 2009-12-17 14:57:52 UTC (rev 5323)
+++ examples/trunk/jsf/numberguess/pom.xml 2009-12-17 15:05:48 UTC (rev 5324)
@@ -1,5 +1,6 @@
<?xml version="1.0"?>
-<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>
@@ -232,7 +233,7 @@
<profile>
<id>gae</id>
<dependencies>
-
+
<!-- Use JSF 1.2, JSF 2 has issues on GAE still -->
<dependency>
@@ -399,9 +400,9 @@
</dependency>
</dependencies>
-
+
<build>
-
+
<resources>
<resource>
<directory>src/jetty/resources</directory>
@@ -434,9 +435,82 @@
</configuration>
</plugin>
</plugins>
-
+
</build>
</profile>
+
+ <profile>
+ <id>ftest-jboss-remote-51</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+
+ <properties>
+ <ftest.version>0.1${ftest.version.discriminator}</ftest.version>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.weld.examples.ftest</groupId>
+ <artifactId>ftest-numberguess</artifactId>
+ <version>${ftest.version}</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.cargo</groupId>
+ <artifactId>cargo-maven2-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>selenium-maven-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>ftest-jboss-remote-60</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+
+ <properties>
+ <ftest.version>0.1${ftest.version.discriminator}</ftest.version>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.weld.examples.ftest</groupId>
+ <artifactId>ftest-numberguess</artifactId>
+ <version>${ftest.version}</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.cargo</groupId>
+ <artifactId>cargo-maven2-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>selenium-maven-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
<build>
@@ -523,7 +597,8 @@
<artifactId>maven-jetty-plugin</artifactId>
<configuration>
<connectors>
- <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
+ <connector
+ implementation="org.mortbay.jetty.nio.SelectChannelConnector">
<port>${jetty.http.port}</port>
<maxIdleTime>3600000</maxIdleTime>
</connector>
Added: examples/trunk/jsf/numberguess/src/test/selenium/jboss5x.xml
===================================================================
--- examples/trunk/jsf/numberguess/src/test/selenium/jboss5x.xml (rev 0)
+++ examples/trunk/jsf/numberguess/src/test/selenium/jboss5x.xml 2009-12-17 15:05:48 UTC (rev 5324)
@@ -0,0 +1,29 @@
+
+ <!--
+ JBoss, Home of Professional Open Source Copyright 2008, Red Hat
+ Middleware LLC, and individual contributors by the @authors tag. See
+ the copyright.txt in the distribution for a full listing of individual
+ contributors. This is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of the
+ License, or (at your option) any later version. This software is
+ distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ License for more details. You should have received a copy of the GNU
+ Lesser General Public License along with this software; if not, write
+ to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ Boston, MA 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ -->
+<!DOCTYPE suite SYSTEM "http://beust.com/testng/testng-1.0.dtd" >
+<suite name="Weld JSF Numberguess example" verbose="2" parallel="false">
+ <listeners>
+ <listener class-name="org.jboss.weld.example.common.test.selenium.WeldFunctionalTestListener" />
+ </listeners>
+ <test name="numberguess_jboss5x">
+ <parameter name="example.context.path" value="/weld-numberguess" />
+ <packages>
+ <package name="org.jboss.weld.example.numberguess.test.selenium" />
+ </packages>
+ </test>
+</suite>
15 years, 2 months