[seam-commits] Seam SVN: r13144 - in examples/trunk/booking-simplified: src/main/resources/META-INF and 1 other directory.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Mon Jun 14 12:54:56 EDT 2010


Author: lincolnthree
Date: 2010-06-14 12:54:55 -0400 (Mon, 14 Jun 2010)
New Revision: 13144

Modified:
   examples/trunk/booking-simplified/pom.xml
   examples/trunk/booking-simplified/src/main/resources/META-INF/persistence.xml
Log:
Fixed POM and persistence.xml for glassfish profile.

Modified: examples/trunk/booking-simplified/pom.xml
===================================================================
--- examples/trunk/booking-simplified/pom.xml	2010-06-14 15:38:31 UTC (rev 13143)
+++ examples/trunk/booking-simplified/pom.xml	2010-06-14 16:54:55 UTC (rev 13144)
@@ -29,9 +29,9 @@
       <webapp.directory>src/main/webapp</webapp.directory>
       <jboss.home>${env.JBOSS_HOME}</jboss.home>
       <jboss.domain>default</jboss.domain>
-      <seam.faces.version>3.0.0-SNAPSHOT</seam.faces.version>
+      <seam.faces.version>3.0.0.Alpha3</seam.faces.version>
       <jpamodelgen.version>1.0.0.Final</jpamodelgen.version>
-      <arquillian.version>1.0.0-SNAPSHOT</arquillian.version>
+      <arquillian.version>1.0.0.Alpha2</arquillian.version>
    </properties>
 
    <dependencies>
@@ -158,6 +158,27 @@
    <profiles>
       <profile>
          <id>glassfish</id>
+         <dependencies>
+            <dependency>
+               <groupId>org.slf4j</groupId>
+               <artifactId>slf4j-api</artifactId>
+            </dependency>
+            <dependency>
+               <groupId>org.slf4j</groupId>
+               <artifactId>slf4j-simple</artifactId>
+               <version>1.5.10</version>
+            </dependency>
+            <dependency>
+               <groupId>org.jboss.spec</groupId>
+               <artifactId>jboss-javaee-6.0</artifactId>
+               <version>1.0.0.Beta4</version>
+               <type>pom</type>
+               <scope>provided</scope>
+            </dependency>
+         </dependencies>
+      </profile>
+      <profile>
+         <id>glassfish-embedded</id>
          <build>
             <plugins>
                <!-- Configure the Embedded GlassFish Maven plugin -->
@@ -181,6 +202,11 @@
                <artifactId>slf4j-api</artifactId>
             </dependency>
             <dependency>
+               <groupId>org.slf4j</groupId>
+               <artifactId>slf4j-impl</artifactId>
+               <version>1.5.10</version>
+            </dependency>
+            <dependency>
                <groupId>org.jboss.spec</groupId>
                <artifactId>jboss-javaee-6.0</artifactId>
                <version>1.0.0.Beta4</version>

Modified: examples/trunk/booking-simplified/src/main/resources/META-INF/persistence.xml
===================================================================
--- examples/trunk/booking-simplified/src/main/resources/META-INF/persistence.xml	2010-06-14 15:38:31 UTC (rev 13143)
+++ examples/trunk/booking-simplified/src/main/resources/META-INF/persistence.xml	2010-06-14 16:54:55 UTC (rev 13144)
@@ -4,8 +4,8 @@
    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" 
    version="1.0">
    <persistence-unit name="booking">
+      <!--
       <provider>org.hibernate.ejb.HibernatePersistence</provider>
-      <!--
       -->
       <jta-data-source>jdbc/__default</jta-data-source>
       <!--



More information about the seam-commits mailing list