[seam-commits] Seam SVN: r14246 - branches/community/Seam_2_3/examples/jpa/jpa-web.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu Dec 15 17:08:18 EST 2011


Author: manaRH
Date: 2011-12-15 17:08:18 -0500 (Thu, 15 Dec 2011)
New Revision: 14246

Modified:
   branches/community/Seam_2_3/examples/jpa/jpa-web/pom.xml
Log:
added commented adding datasource

Modified: branches/community/Seam_2_3/examples/jpa/jpa-web/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/jpa/jpa-web/pom.xml	2011-11-06 13:34:57 UTC (rev 14245)
+++ branches/community/Seam_2_3/examples/jpa/jpa-web/pom.xml	2011-12-15 22:08:18 UTC (rev 14246)
@@ -156,10 +156,31 @@
                     <plugin>
                         <groupId>org.jboss.as.plugins</groupId>
                         <artifactId>jboss-as-maven-plugin</artifactId>
-                        <version>7.0.0.Final</version>
+                        <version>7.0.2.Final</version>
                         <configuration>
                             <filename>${project.build.finalName}.war</filename>
                         </configuration>
+<!--                         <executions> -->
+<!--                             <execution> -->
+<!--                                 <id>add-datasource</id> -->
+<!--                                 <phase>install</phase> -->
+<!--                                 <configuration> -->
+<!--                                     <address>subsystem=datasources,data-source=bookingDatasource</address> -->
+<!--                                     <properties> -->
+<!--                                         <connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1</connection-url> -->
+<!--                                         <jndi-name>bookingDatabase</jndi-name> -->
+<!--                                         <enabled>true</enabled> -->
+<!--                                         <pool-name>myJPAPool</pool-name> -->
+<!--                                         <user-name>sa</user-name> -->
+<!--                                         <password></password> -->
+<!--                                         <driver-name>h2</driver-name> -->
+<!--                                     </properties> -->
+<!--                                 </configuration> -->
+<!--                                 <goals> -->
+<!--                                     <goal>add-resource</goal> -->
+<!--                                 </goals> -->
+<!--                             </execution> -->
+<!--                         </executions> -->
                     </plugin>
                 </plugins>
             </build>



More information about the seam-commits mailing list