This repository has been archived by the owner on Apr 1, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
469 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,182 @@ | ||
<?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> | ||
<groupId>org.springframework.webflow.samples</groupId> | ||
<artifactId>SWF-1571</artifactId> | ||
<packaging>war</packaging> | ||
<name>Test project for SWF-1571</name> | ||
<version>1.0</version> | ||
<properties> | ||
<spring-version>3.1.1.RELEASE</spring-version> | ||
<webflow-version>2.4.0.BUILD-SNAPSHOT</webflow-version> | ||
<jsf-version>2.1.8</jsf-version> | ||
<richfaces-version>4.3.0.20120802-M1</richfaces-version> | ||
</properties> | ||
<dependencyManagement> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.richfaces</groupId> | ||
<artifactId>richfaces-bom</artifactId> | ||
<version>${richfaces-version}</version> | ||
<scope>import</scope> | ||
<type>pom</type> | ||
</dependency> | ||
</dependencies> | ||
</dependencyManagement> | ||
<dependencies> | ||
<!-- Spring --> | ||
<dependency> | ||
<groupId>org.springframework</groupId> | ||
<artifactId>spring-context</artifactId> | ||
<version>${spring-version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.springframework</groupId> | ||
<artifactId>spring-jdbc</artifactId> | ||
<version>${spring-version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.springframework</groupId> | ||
<artifactId>spring-orm</artifactId> | ||
<version>${spring-version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.springframework</groupId> | ||
<artifactId>spring-webmvc</artifactId> | ||
<version>${spring-version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.springframework.webflow</groupId> | ||
<artifactId>spring-faces</artifactId> | ||
<version>${webflow-version}</version> | ||
</dependency> | ||
<!-- RichFaces --> | ||
<dependency> | ||
<groupId>org.richfaces.ui</groupId> | ||
<artifactId>richfaces-components-ui</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.richfaces.core</groupId> | ||
<artifactId>richfaces-core-impl</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>javax.xml.bind</groupId> | ||
<artifactId>jaxb-api</artifactId> | ||
<version>2.1</version> | ||
</dependency> | ||
</dependencies> | ||
<profiles> | ||
<profile> | ||
<id>myfaces</id> | ||
<activation> | ||
<property> | ||
<name>myfaces</name> | ||
</property> | ||
</activation> | ||
<properties> | ||
<jsf-impl>myfaces</jsf-impl> | ||
</properties> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.apache.myfaces.core</groupId> | ||
<artifactId>myfaces-api</artifactId> | ||
<version>${jsf-version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.myfaces.core</groupId> | ||
<artifactId>myfaces-impl</artifactId> | ||
<version>${jsf-version}</version> | ||
</dependency> | ||
</dependencies> | ||
</profile> | ||
<profile> | ||
<id>mojarra</id> | ||
<activation> | ||
<activeByDefault>true</activeByDefault> | ||
</activation> | ||
<properties> | ||
<jsf-impl>mojarra</jsf-impl> | ||
</properties> | ||
<dependencies> | ||
<dependency> | ||
<groupId>com.sun.faces</groupId> | ||
<artifactId>jsf-api</artifactId> | ||
<version>${jsf-version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.sun.faces</groupId> | ||
<artifactId>jsf-impl</artifactId> | ||
<version>${jsf-version}</version> | ||
</dependency> | ||
</dependencies> | ||
</profile> | ||
</profiles> | ||
<repositories> | ||
<!-- Maven Central --> | ||
<repository> | ||
<id>org.maven.central</id> | ||
<name>Maven Central Repository</name> | ||
<url>http://repo1.maven.org/maven2</url> | ||
<snapshots><enabled>false</enabled></snapshots> | ||
</repository> | ||
<!-- For testing against latest Spring snapshots --> | ||
<repository> | ||
<id>org.springframework.maven.snapshot</id> | ||
<name>Spring Maven Snapshot Repository</name> | ||
<url>http://maven.springframework.org/snapshot</url> | ||
<releases><enabled>false</enabled></releases> | ||
<snapshots><enabled>true</enabled></snapshots> | ||
</repository> | ||
<!-- For developing against latest Spring milestones --> | ||
<repository> | ||
<id>org.springframework.maven.milestone</id> | ||
<name>Spring Maven Milestone Repository</name> | ||
<url>http://maven.springframework.org/milestone</url> | ||
<snapshots><enabled>false</enabled></snapshots> | ||
</repository> | ||
<!-- For Mojarra 2.x --> | ||
<repository> | ||
<id>java.net.release</id> | ||
<name>Repository for Projects On Hosted on java.net</name> | ||
<url>http://download.java.net/maven/2</url> | ||
</repository> | ||
<repository> | ||
<id>jboss-public-repository-group</id> | ||
<name>JBoss Public Maven Repository Group</name> | ||
<url>https://repository.jboss.org/nexus/content/groups/public-jboss</url> | ||
<layout>default</layout> | ||
</repository> | ||
</repositories> | ||
<build> | ||
<finalName>swf2-rf4</finalName> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<configuration> | ||
<source>1.5</source> | ||
<target>1.5</target> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-eclipse-plugin</artifactId> | ||
<version>2.8</version> | ||
<configuration> | ||
<downloadSources>true</downloadSources> | ||
<downloadJavadocs>false</downloadJavadocs> | ||
<wtpversion>2.0</wtpversion> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-war-plugin</artifactId> | ||
<version>2.2</version> | ||
<configuration> | ||
<webXml>${project.build.outputDirectory}/${jsf-impl}/web.xml</webXml> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
<?xml version="1.0" encoding="ISO-8859-1"?> | ||
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:javaee="http://java.sun.com/xml/ns/javaee" | ||
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" | ||
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" | ||
version="2.4"> | ||
|
||
<context-param> | ||
<param-name>contextConfigLocation</param-name> | ||
<param-value> | ||
/WEB-INF/webflow-config.xml | ||
</param-value> | ||
</context-param> | ||
<context-param> | ||
<param-name>javax.faces.DEFAULT_SUFFIX</param-name> | ||
<param-value>.xhtml</param-value> | ||
</context-param> | ||
<context-param> | ||
<param-name>javax.faces.PROJECT_STAGE</param-name> | ||
<param-value>Development</param-value> | ||
</context-param> | ||
<context-param> | ||
<param-name>javax.faces.FACELETS_REFRESH_PERIOD</param-name> | ||
<param-value>1</param-value> | ||
</context-param> | ||
<context-param> | ||
<param-name>javax.faces.PARTIAL_STATE_SAVING</param-name> | ||
<param-value>false</param-value> | ||
</context-param> | ||
<listener> | ||
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> | ||
</listener> | ||
<servlet> | ||
<servlet-name>Spring MVC Dispatcher Servlet</servlet-name> | ||
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> | ||
<init-param> | ||
<param-name>contextConfigLocation</param-name> | ||
<param-value></param-value> | ||
</init-param> | ||
<load-on-startup>2</load-on-startup> | ||
</servlet> | ||
<servlet-mapping> | ||
<servlet-name>Spring MVC Dispatcher Servlet</servlet-name> | ||
<url-pattern>/spring/*</url-pattern> | ||
</servlet-mapping> | ||
<servlet> | ||
<servlet-name>Faces Servlet</servlet-name> | ||
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class> | ||
<load-on-startup>1</load-on-startup> | ||
</servlet> | ||
<servlet-mapping> | ||
<servlet-name>Faces Servlet</servlet-name> | ||
<url-pattern>*.xhtml</url-pattern> | ||
</servlet-mapping> | ||
<welcome-file-list> | ||
<welcome-file>index.html</welcome-file> | ||
</welcome-file-list> | ||
<context-param> | ||
<param-name>org.richfaces.skin</param-name> | ||
<param-value>wine</param-value> | ||
</context-param> | ||
</web-app> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<?xml version="1.0" encoding="ISO-8859-1"?> | ||
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:javaee="http://java.sun.com/xml/ns/javaee" | ||
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" | ||
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" | ||
version="2.4"> | ||
|
||
<listener> | ||
<listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class> | ||
</listener> | ||
|
||
<context-param> | ||
<param-name>contextConfigLocation</param-name> | ||
<param-value> | ||
/WEB-INF/webflow-config.xml | ||
</param-value> | ||
</context-param> | ||
<context-param> | ||
<param-name>javax.faces.DEFAULT_SUFFIX</param-name> | ||
<param-value>.xhtml</param-value> | ||
</context-param> | ||
<context-param> | ||
<param-name>javax.faces.PROJECT_STAGE</param-name> | ||
<param-value>Development</param-value> | ||
</context-param> | ||
<context-param> | ||
<param-name>javax.faces.FACELETS_REFRESH_PERIOD</param-name> | ||
<param-value>1</param-value> | ||
</context-param> | ||
<context-param> | ||
<param-name>javax.faces.PARTIAL_STATE_SAVING</param-name> | ||
<param-value>false</param-value> | ||
</context-param> | ||
<listener> | ||
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> | ||
</listener> | ||
<servlet> | ||
<servlet-name>Spring MVC Dispatcher Servlet</servlet-name> | ||
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> | ||
<init-param> | ||
<param-name>contextConfigLocation</param-name> | ||
<param-value></param-value> | ||
</init-param> | ||
<load-on-startup>2</load-on-startup> | ||
</servlet> | ||
<servlet-mapping> | ||
<servlet-name>Spring MVC Dispatcher Servlet</servlet-name> | ||
<url-pattern>/spring/*</url-pattern> | ||
</servlet-mapping> | ||
<servlet> | ||
<servlet-name>Faces Servlet</servlet-name> | ||
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class> | ||
<load-on-startup>1</load-on-startup> | ||
</servlet> | ||
<servlet-mapping> | ||
<servlet-name>Faces Servlet</servlet-name> | ||
<url-pattern>*.xhtml</url-pattern> | ||
</servlet-mapping> | ||
<welcome-file-list> | ||
<welcome-file>index.html</welcome-file> | ||
</welcome-file-list> | ||
<context-param> | ||
<param-name>org.richfaces.skin</param-name> | ||
<param-value>wine</param-value> | ||
</context-param> | ||
</web-app> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<faces-config xmlns="http://java.sun.com/xml/ns/javaee" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd" | ||
version="2.0"> | ||
|
||
</faces-config> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
<?xml version="1.0" encoding="ISO-8859-1"?> | ||
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:javaee="http://java.sun.com/xml/ns/javaee" | ||
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" | ||
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" | ||
version="2.4"> | ||
|
||
<context-param> | ||
<param-name>contextConfigLocation</param-name> | ||
<param-value> | ||
/WEB-INF/webflow-config.xml | ||
</param-value> | ||
</context-param> | ||
<context-param> | ||
<param-name>javax.faces.DEFAULT_SUFFIX</param-name> | ||
<param-value>.xhtml</param-value> | ||
</context-param> | ||
<context-param> | ||
<param-name>javax.faces.PROJECT_STAGE</param-name> | ||
<param-value>Development</param-value> | ||
</context-param> | ||
<context-param> | ||
<param-name>javax.faces.FACELETS_REFRESH_PERIOD</param-name> | ||
<param-value>1</param-value> | ||
</context-param> | ||
<context-param> | ||
<param-name>javax.faces.PARTIAL_STATE_SAVING</param-name> | ||
<param-value>false</param-value> | ||
</context-param> | ||
<listener> | ||
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> | ||
</listener> | ||
<servlet> | ||
<servlet-name>Spring MVC Dispatcher Servlet</servlet-name> | ||
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> | ||
<init-param> | ||
<param-name>contextConfigLocation</param-name> | ||
<param-value></param-value> | ||
</init-param> | ||
<load-on-startup>2</load-on-startup> | ||
</servlet> | ||
<servlet-mapping> | ||
<servlet-name>Spring MVC Dispatcher Servlet</servlet-name> | ||
<url-pattern>/spring/*</url-pattern> | ||
</servlet-mapping> | ||
<servlet> | ||
<servlet-name>Faces Servlet</servlet-name> | ||
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class> | ||
<load-on-startup>1</load-on-startup> | ||
</servlet> | ||
<servlet-mapping> | ||
<servlet-name>Faces Servlet</servlet-name> | ||
<url-pattern>*.xhtml</url-pattern> | ||
</servlet-mapping> | ||
<welcome-file-list> | ||
<welcome-file>index.html</welcome-file> | ||
</welcome-file-list> | ||
<context-param> | ||
<param-name>org.richfaces.skin</param-name> | ||
<param-value>wine</param-value> | ||
</context-param> | ||
</web-app> |
Oops, something went wrong.