You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltaspike.apache.org by gp...@apache.org on 2013/04/22 00:09:43 UTC

git commit: DELTASPIKE-306 cleanup and profile for tomee

Updated Branches:
  refs/heads/master 45770596d -> e5ca8b74a


DELTASPIKE-306 cleanup and profile for tomee


Project: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/commit/e5ca8b74
Tree: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/tree/e5ca8b74
Diff: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/diff/e5ca8b74

Branch: refs/heads/master
Commit: e5ca8b74a497bf33021d4369983c05debf9bdbab
Parents: 4577059
Author: gpetracek <gp...@apache.org>
Authored: Mon Apr 22 00:04:13 2013 +0200
Committer: gpetracek <gp...@apache.org>
Committed: Mon Apr 22 00:08:45 2013 +0200

----------------------------------------------------------------------
 deltaspike/examples/jsf-examples/pom.xml           |   24 ++++++++++++++-
 .../jsf-examples/src/main/webapp/WEB-INF/web.xml   |    4 +-
 2 files changed, 25 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/blob/e5ca8b74/deltaspike/examples/jsf-examples/pom.xml
----------------------------------------------------------------------
diff --git a/deltaspike/examples/jsf-examples/pom.xml b/deltaspike/examples/jsf-examples/pom.xml
index f645402..d205ff1 100644
--- a/deltaspike/examples/jsf-examples/pom.xml
+++ b/deltaspike/examples/jsf-examples/pom.xml
@@ -26,7 +26,6 @@
         <version>0.4-incubating-SNAPSHOT</version>
     </parent>
 
-    <groupId>org.apache.deltaspike.examples</groupId>
     <artifactId>deltaspike-jsf-example</artifactId>
 
     <name>Apache DeltaSpike JSF Examples</name>
@@ -38,6 +37,29 @@
     </properties>
 
     <profiles>
+        <profile>
+            <!-- run it with: mvn clean package tomee:run -PtomeeConfig-->
+            <id>tomeeConfig</id>
+            <build>
+                <defaultGoal>install</defaultGoal>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-compiler-plugin</artifactId>
+                        <version>3.0</version>
+                        <configuration>
+                            <source>1.6</source>
+                            <target>1.6</target>
+                        </configuration>
+                    </plugin>
+                    <plugin>
+                        <groupId>org.apache.openejb.maven</groupId>
+                        <artifactId>tomee-maven-plugin</artifactId>
+                        <version>${tomee.version}</version>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
 
     </profiles>
 

http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/blob/e5ca8b74/deltaspike/examples/jsf-examples/src/main/webapp/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/deltaspike/examples/jsf-examples/src/main/webapp/WEB-INF/web.xml b/deltaspike/examples/jsf-examples/src/main/webapp/WEB-INF/web.xml
index 1024bda..8f43fff 100644
--- a/deltaspike/examples/jsf-examples/src/main/webapp/WEB-INF/web.xml
+++ b/deltaspike/examples/jsf-examples/src/main/webapp/WEB-INF/web.xml
@@ -32,10 +32,10 @@
 
     <servlet-mapping>
         <servlet-name>Faces Servlet</servlet-name>
-        <url-pattern>*.jsf</url-pattern>
+        <url-pattern>*.xhtml</url-pattern>
     </servlet-mapping>
 
     <welcome-file-list>
-        <welcome-file>index.jsf</welcome-file>
+        <welcome-file>index.xhtml</welcome-file>
     </welcome-file-list>
 </web-app>
\ No newline at end of file