You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by mf...@apache.org on 2010/05/26 23:14:11 UTC
svn commit: r948593 - in /myfaces/portlet-bridge/core/trunk/examples:
blank/pom.xml carstore/pom.xml facelets-guess/pom.xml guessNumber/pom.xml
guessNumberMojarraFilter/pom.xml guessNumberMyFacesFilter/pom.xml
helloDuke/pom.xml
Author: mfreedman
Date: Wed May 26 21:14:10 2010
New Revision: 948593
URL: http://svn.apache.org/viewvc?rev=948593&view=rev
Log:
Examples poms had some errors in it that prevented the guessNumber-jsp-filter examples from compiling. In addition updated some names in the poms to be correct/consistent.
Modified:
myfaces/portlet-bridge/core/trunk/examples/blank/pom.xml
myfaces/portlet-bridge/core/trunk/examples/carstore/pom.xml
myfaces/portlet-bridge/core/trunk/examples/facelets-guess/pom.xml
myfaces/portlet-bridge/core/trunk/examples/guessNumber/pom.xml
myfaces/portlet-bridge/core/trunk/examples/guessNumberMojarraFilter/pom.xml
myfaces/portlet-bridge/core/trunk/examples/guessNumberMyFacesFilter/pom.xml
myfaces/portlet-bridge/core/trunk/examples/helloDuke/pom.xml
Modified: myfaces/portlet-bridge/core/trunk/examples/blank/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/portlet-bridge/core/trunk/examples/blank/pom.xml?rev=948593&r1=948592&r2=948593&view=diff
==============================================================================
--- myfaces/portlet-bridge/core/trunk/examples/blank/pom.xml (original)
+++ myfaces/portlet-bridge/core/trunk/examples/blank/pom.xml Wed May 26 21:14:10 2010
@@ -1,195 +1,248 @@
-<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>
- <name>MyFaces Portlet Bridge Blank Project</name>
- <artifactId>portlet-bridge-blank</artifactId>
- <packaging>war</packaging>
-
- <parent>
- <groupId>org.apache.myfaces.portlet-bridge</groupId>
- <artifactId>portlet-bridge-examples</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </parent>
-
- <dependencies>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- </dependency>
-
- <dependency>
- <groupId>javax.servlet.jsp</groupId>
- <artifactId>jsp-api</artifactId>
- </dependency>
-
- <dependency>
- <groupId>portlet-api</groupId>
- <artifactId>portlet-api</artifactId>
- </dependency>
-
- <dependency>
- <groupId>${pom.groupId}</groupId>
- <artifactId>portlet-bridge-api</artifactId>
- </dependency>
-
- <dependency>
- <groupId>${pom.groupId}</groupId>
- <artifactId>portlet-bridge-impl</artifactId>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-jdev-plugin</artifactId>
- <groupId>org.apache.myfaces.trinidadbuild</groupId>
- <configuration>
- <libraries>
- <library>JSP Runtime</library>
- </libraries>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
- <profiles>
- <!-- sets up the webapp for deployment to pluto "mvn clean install -Ppluto" -->
- <profile>
- <id>pluto</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.pluto</groupId>
- <artifactId>maven-pluto-plugin</artifactId>
- <version>1.1.4</version>
- <executions>
- <execution>
- <phase>generate-resources</phase>
- <goals>
- <goal>assemble</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
-
- <!-- To run jetty, issue "mvn clean -PjettyConfig jetty:run" -->
- <profile>
- <id>jettyConfig</id>
- <dependencies>
- <dependency>
- <groupId>com.bekk.boss</groupId>
- <artifactId>maven-jetty-pluto-embedded</artifactId>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>maven-jetty-plugin</artifactId>
- <configuration>
- <webXml>${project.build.directory}/pluto-resources/web.xml</webXml>
- <webDefaultXml>src/main/webapp/WEB-INF/jetty-pluto-web-default.xml</webDefaultXml>
- <systemProperties>
- <systemProperty>
- <name>org.apache.pluto.embedded.portletId</name>
- <value>portlet-bridge-blank</value>
- </systemProperty>
- </systemProperties>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.pluto</groupId>
- <artifactId>maven-pluto-plugin</artifactId>
- <version>1.1.4</version>
- <executions>
- <execution>
- <phase>generate-resources</phase>
- <goals>
- <goal>assemble</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
-
- <!-- By default the war examples use myfaces! :) -->
- <profile>
- <id>myfaces</id>
- <activation>
- <property>
- <name>!jsf</name>
- </property>
- </activation>
- <dependencies>
- <dependency>
- <groupId>org.apache.myfaces.core</groupId>
- <artifactId>myfaces-api</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.apache.myfaces.core</groupId>
- <artifactId>myfaces-impl</artifactId>
- </dependency>
- </dependencies>
- </profile>
-
- <!-- To use the examples using the Sun's JSF Reference Implementation: mvn clean install -Djsf=ri -->
- <profile>
- <id>jsfri</id>
- <activation>
- <property>
- <name>jsf</name>
- <value>ri</value>
- </property>
- </activation>
- <dependencies>
- <dependency>
- <groupId>javax.faces</groupId>
- <artifactId>jsf-api</artifactId>
- </dependency>
- </dependencies>
- <properties>
- <jsf_implementation>JSF-RI</jsf_implementation>
- </properties>
- </profile>
-
- <profile>
- <id>jsfri-provided</id>
- <activation>
- <property>
- <name>jsf</name>
- <value>ri-provided</value>
- </property>
- </activation>
-
- <repositories>
- <repository>
- <id>java.net</id>
- <name>java.net Maven 1 Repository</name>
- <url>https://maven-repository.dev.java.net/nonav/repository</url>
- <layout>legacy</layout>
- </repository>
- </repositories>
- <dependencies>
- <dependency>
- <groupId>javax.faces</groupId>
- <artifactId>jsf-api</artifactId>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>javax.faces</groupId>
- <artifactId>jsf-impl</artifactId>
- <version>${jsf.version}</version>
- <scope>runtime</scope>
- </dependency>
- </dependencies>
- <properties>
- <jsf_implementation>JSF-RI</jsf_implementation>
- </properties>
- </profile>
- </profiles>
+<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>
+ <name>MyFaces Portlet Bridge Blank Project</name>
+ <artifactId>portlet-bridge-blank</artifactId>
+ <packaging>war</packaging>
+
+ <parent>
+ <groupId>org.apache.myfaces.portlet-bridge</groupId>
+ <artifactId>portlet-bridge-examples</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </parent>
+
+ <dependencies>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.servlet.jsp</groupId>
+ <artifactId>jsp-api</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>portlet-api</groupId>
+ <artifactId>portlet-api</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>${pom.groupId}</groupId>
+ <artifactId>portlet-bridge-api</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>${pom.groupId}</groupId>
+ <artifactId>portlet-bridge-impl</artifactId>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-jdev-plugin</artifactId>
+ <groupId>org.apache.myfaces.trinidadbuild</groupId>
+ <configuration>
+ <libraries>
+ <library>JSP Runtime</library>
+ </libraries>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <profiles>
+ <!-- sets up the webapp for deployment to pluto "mvn clean install -Ppluto" -->
+ <profile>
+ <id>pluto</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.pluto</groupId>
+ <artifactId>maven-pluto-plugin</artifactId>
+ <version>1.1.4</version>
+ <executions>
+ <execution>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>assemble</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
+ <!-- To run jetty, issue "mvn clean -PjettyConfig jetty:run" -->
+ <profile>
+ <id>jettyConfig</id>
+ <dependencies>
+ <dependency>
+ <groupId>com.bekk.boss</groupId>
+ <artifactId>maven-jetty-pluto-embedded</artifactId>
+ </dependency>
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.mortbay.jetty</groupId>
+ <artifactId>maven-jetty-plugin</artifactId>
+ <configuration>
+ <webXml>${project.build.directory}/pluto-resources/web.xml</webXml>
+ <webDefaultXml>src/main/webapp/WEB-INF/jetty-pluto-web-default.xml</webDefaultXml>
+ <systemProperties>
+ <systemProperty>
+ <name>org.apache.pluto.embedded.portletIds</name>
+ <value>portlet-bridge-blank</value>
+ </systemProperty>
+ </systemProperties>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.pluto</groupId>
+ <artifactId>maven-pluto-plugin</artifactId>
+ <version>1.1.4</version>
+ <executions>
+ <execution>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>assemble</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
+ <!-- By default the war examples use myfaces! :) -->
+ <profile>
+ <id>myfaces</id>
+ <activation>
+ <property>
+ <name>!jsf</name>
+ </property>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.myfaces.core</groupId>
+ <artifactId>myfaces-api</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.myfaces.core</groupId>
+ <artifactId>myfaces-impl</artifactId>
+ </dependency>
+ </dependencies>
+ </profile>
+
+ <!-- By default the war examples uses mojarra and packages for a nonjavaee environment (includes the Faces jars)! :) -->
+
+ <!-- If you are running in a nonJavaEE environment (i.e. Faces isn't already deployed) and hence need to have Mojarra packaged in the war: -->
+ <profile>
+ <id>mojarra-nonjavaee</id>
+ <activation>
+ <property>
+ <name>!jsf</name>
+ </property>
+ </activation>
+
+ <dependencies>
+ <dependency>
+ <groupId>javax.faces</groupId>
+ <artifactId>jsf-api</artifactId>
+ <version>${mojarra.version}</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.faces</groupId>
+ <artifactId>jsf-impl</artifactId>
+ <version>${mojarra.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
+ <properties>
+ <jsf_implementation>JSF-RI</jsf_implementation>
+ </properties>
+ </profile>
+
+ <!-- If you are running in a JavaEE environment (i.e. Faces is already deployed) and hence don't need to have Mojarra packaged in the war: -->
+ <!-- mvn install -Djsf=mojarra-javaee -->
+ <profile>
+ <id>mojarra-javaee</id>
+ <activation>
+ <property>
+ <name>jsf</name>
+ <value>mojarra-javaee</value>
+ </property>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>javax.faces</groupId>
+ <artifactId>jsf-api</artifactId>
+ </dependency>
+ </dependencies>
+ <properties>
+ <jsf_implementation>JSF-RI</jsf_implementation>
+ </properties>
+ </profile>
+
+
+ <!-- To use this examples using the MyFacesImplementation: mvn clean install -Djsf=myfaces-javaee -->
+ <!-- Note: currently carstore doesn't work properly in a myfaces environment -->
+ <profile>
+ <id>myfaces-javaee</id>
+ <activation>
+ <property>
+ <name>jsf</name>
+ <value>myfaces-javaee</value>
+ </property>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.myfaces.core</groupId>
+ <artifactId>myfaces-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.myfaces.core</groupId>
+ <artifactId>myfaces-impl</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+ </profile>
+
+
+
+ <!-- If you are running in a nonJavaEE environment (i.e. Faces isn't already deployed) and hence need to have MyFaces packaged in the war: -->
+ <!-- mvn install -Djsf=myfaces-nonjavaee -->
+ <!-- Note: currently carstore doesn't work properly in a myfaces environment -->
+ <profile>
+ <id>myfaces-nonjavaee</id>
+ <activation>
+ <property>
+ <name>jsf</name>
+ <value>myfaces-nonjavaee</value>
+ </property>
+ </activation>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.myfaces.core</groupId>
+ <artifactId>myfaces-api</artifactId>
+ <version>${myfaces.version}</version>
+ <scope>compile</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.myfaces.core</groupId>
+ <artifactId>myfaces-impl</artifactId>
+ <version>${myfaces.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
+ </profile>
+ </profiles>
</project>
\ No newline at end of file
Modified: myfaces/portlet-bridge/core/trunk/examples/carstore/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/portlet-bridge/core/trunk/examples/carstore/pom.xml?rev=948593&r1=948592&r2=948593&view=diff
==============================================================================
--- myfaces/portlet-bridge/core/trunk/examples/carstore/pom.xml (original)
+++ myfaces/portlet-bridge/core/trunk/examples/carstore/pom.xml Wed May 26 21:14:10 2010
@@ -199,9 +199,9 @@
</profile>
<!-- If you are running in a JavaEE environment (i.e. Faces is already deployed) and hence don't need to have Mojarra packaged in the war: -->
- <!-- mvn install -Djsf=mojarra-nonjavaee -->
+ <!-- mvn install -Djsf=mojarra-javaee -->
<profile>
- <id>mojarra</id>
+ <id>mojarra-javaee</id>
<activation>
<property>
<name>jsf</name>
@@ -220,7 +220,7 @@
</profile>
- <!-- To use this examples using the MyFacesImplementation: mvn clean install -Djsf=myfaces -->
+ <!-- To use this examples using the MyFacesImplementation: mvn clean install -Djsf=myfaces-javaee -->
<!-- Note: currently carstore doesn't work properly in a myfaces environment -->
<profile>
<id>myfaces-javaee</id>
Modified: myfaces/portlet-bridge/core/trunk/examples/facelets-guess/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/portlet-bridge/core/trunk/examples/facelets-guess/pom.xml?rev=948593&r1=948592&r2=948593&view=diff
==============================================================================
--- myfaces/portlet-bridge/core/trunk/examples/facelets-guess/pom.xml (original)
+++ myfaces/portlet-bridge/core/trunk/examples/facelets-guess/pom.xml Wed May 26 21:14:10 2010
@@ -197,9 +197,9 @@
</profile>
<!-- If you are running in a JavaEE environment (i.e. Faces is already deployed) and hence don't need to have Mojarra packaged in the war: -->
- <!-- mvn install -Djsf=mojarra-nonjavaee -->
+ <!-- mvn install -Djsf=mojarra-javaee -->
<profile>
- <id>mojarra</id>
+ <id>mojarra=javaee</id>
<activation>
<property>
<name>jsf</name>
@@ -218,7 +218,7 @@
</profile>
- <!-- To use this examples using the MyFacesImplementation: mvn clean install -Djsf=myfaces -->
+ <!-- To use this examples using the MyFacesImplementation: mvn clean install -Djsf=myfaces-javaee -->
<!-- Note: currently carstore doesn't work properly in a myfaces environment -->
<profile>
<id>myfaces-javaee</id>
Modified: myfaces/portlet-bridge/core/trunk/examples/guessNumber/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/portlet-bridge/core/trunk/examples/guessNumber/pom.xml?rev=948593&r1=948592&r2=948593&view=diff
==============================================================================
--- myfaces/portlet-bridge/core/trunk/examples/guessNumber/pom.xml (original)
+++ myfaces/portlet-bridge/core/trunk/examples/guessNumber/pom.xml Wed May 26 21:14:10 2010
@@ -196,9 +196,9 @@
</profile>
<!-- If you are running in a JavaEE environment (i.e. Faces is already deployed) and hence don't need to have Mojarra packaged in the war: -->
- <!-- mvn install -Djsf=mojarra-nonjavaee -->
+ <!-- mvn install -Djsf=mojarra-javaee -->
<profile>
- <id>mojarra</id>
+ <id>mojarra-javaee</id>
<activation>
<property>
<name>jsf</name>
@@ -217,7 +217,7 @@
</profile>
- <!-- To use this examples using the MyFacesImplementation: mvn clean install -Djsf=myfaces -->
+ <!-- To use this examples using the MyFacesImplementation: mvn clean install -Djsf=myfaces-javaee -->
<!-- Note: currently carstore doesn't work properly in a myfaces environment -->
<profile>
<id>myfaces-javaee</id>
Modified: myfaces/portlet-bridge/core/trunk/examples/guessNumberMojarraFilter/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/portlet-bridge/core/trunk/examples/guessNumberMojarraFilter/pom.xml?rev=948593&r1=948592&r2=948593&view=diff
==============================================================================
--- myfaces/portlet-bridge/core/trunk/examples/guessNumberMojarraFilter/pom.xml (original)
+++ myfaces/portlet-bridge/core/trunk/examples/guessNumberMojarraFilter/pom.xml Wed May 26 21:14:10 2010
@@ -187,7 +187,7 @@
<groupId>javax.faces</groupId>
<artifactId>jsf-impl</artifactId>
<version>${mojarra.version}</version>
- <scope>runtime</scope>
+ <scope>compile</scope>
</dependency>
</dependencies>
<properties>
@@ -196,7 +196,7 @@
</profile>
<!-- If you are running in a JavaEE environment (i.e. Faces is already deployed) and hence don't need to have Mojarra packaged in the war: -->
- <!-- mvn install -Djsf=mojarra-nonjavaee -->
+ <!-- mvn install -Djsf=mojarra-javaee -->
<profile>
<id>mojarra</id>
<activation>
Modified: myfaces/portlet-bridge/core/trunk/examples/guessNumberMyFacesFilter/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/portlet-bridge/core/trunk/examples/guessNumberMyFacesFilter/pom.xml?rev=948593&r1=948592&r2=948593&view=diff
==============================================================================
--- myfaces/portlet-bridge/core/trunk/examples/guessNumberMyFacesFilter/pom.xml (original)
+++ myfaces/portlet-bridge/core/trunk/examples/guessNumberMyFacesFilter/pom.xml Wed May 26 21:14:10 2010
@@ -191,7 +191,7 @@
<groupId>org.apache.myfaces.core</groupId>
<artifactId>myfaces-impl</artifactId>
<version>${myfaces.version}</version>
- <scope>runtime</scope>
+ <scope>compile</scope>
</dependency>
</dependencies>
</profile>
@@ -202,7 +202,7 @@
<activation>
<property>
<name>jsf</name>
- <value>myfaces-nonjavaee</value>
+ <value>myfaces-javaee</value>
</property>
</activation>
<dependencies>
Modified: myfaces/portlet-bridge/core/trunk/examples/helloDuke/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/portlet-bridge/core/trunk/examples/helloDuke/pom.xml?rev=948593&r1=948592&r2=948593&view=diff
==============================================================================
--- myfaces/portlet-bridge/core/trunk/examples/helloDuke/pom.xml (original)
+++ myfaces/portlet-bridge/core/trunk/examples/helloDuke/pom.xml Wed May 26 21:14:10 2010
@@ -191,9 +191,9 @@
</profile>
<!-- If you are running in a JavaEE environment (i.e. Faces is already deployed) and hence don't need to have Mojarra packaged in the war: -->
- <!-- mvn install -Djsf=mojarra-nonjavaee -->
+ <!-- mvn install -Djsf=mojarra-javaee -->
<profile>
- <id>mojarra</id>
+ <id>mojarra-javaee</id>
<activation>
<property>
<name>jsf</name>
@@ -212,7 +212,7 @@
</profile>
- <!-- To use this examples using the MyFacesImplementation: mvn clean install -Djsf=myfaces -->
+ <!-- To use this examples using the MyFacesImplementation: mvn clean install -Djsf=myfaces-javaee -->
<!-- Note: currently carstore doesn't work properly in a myfaces environment -->
<profile>
<id>myfaces-javaee</id>