[seam-commits] Seam SVN: r14422 - branches/community/Seam_2_3/examples-ee6/contactlist/contactlist-ear.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Fri Mar 16 18:22:45 EDT 2012


Author: dhinojosa
Date: 2012-03-16 18:22:45 -0400 (Fri, 16 Mar 2012)
New Revision: 14422

Modified:
   branches/community/Seam_2_3/examples-ee6/contactlist/contactlist-ear/pom.xml
Log:
added new jboss-as-plugin to pom.xml of contactlist-ear

Modified: branches/community/Seam_2_3/examples-ee6/contactlist/contactlist-ear/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/contactlist/contactlist-ear/pom.xml	2012-03-16 21:33:41 UTC (rev 14421)
+++ branches/community/Seam_2_3/examples-ee6/contactlist/contactlist-ear/pom.xml	2012-03-16 22:22:45 UTC (rev 14422)
@@ -82,17 +82,40 @@
                     </modules>
                 </configuration>
             </plugin>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>jboss-maven-plugin</artifactId>
-                <configuration>
-                    <jbossHome>${jboss.home}</jbossHome>
-                    <serverName>${jboss.domain}</serverName>
-                    <fileNames>
-                        <param>${project.build.directory}/${project.build.finalName}.${project.packaging}</param>
-                    </fileNames>
-                </configuration>
-            </plugin>
+           <plugin>
+              <groupId>org.jboss.as.plugins</groupId>
+              <artifactId>jboss-as-maven-plugin</artifactId>
+              <version>7.1.1.Final</version>
+              <executions>
+                 <!-- This requires to be enabled manually as <enabled>true</enabled> doesn't
+                work -->
+                 <!-- <execution> -->
+                 <!-- <id>add-datasource</id> -->
+                 <!-- <phase>package</phase> -->
+                 <!-- <configuration> -->
+                 <!-- <address>subsystem=datasources,data-source=java:/bookingDatasource</address> -->
+                 <!-- <properties> -->
+                 <!-- <connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1</connection-url> -->
+                 <!-- <jndi-name>java:/bookingDatasource</jndi-name> -->
+                 <!-- <enabled>true</enabled> -->
+                 <!-- <pool-name>bookingDSPool</pool-name> -->
+                 <!-- <user-name>sa</user-name> -->
+                 <!-- <driver-name>h2</driver-name> -->
+                 <!-- </properties> -->
+                 <!-- </configuration> -->
+                 <!-- <goals> -->
+                 <!-- <goal>add-resource</goal> -->
+                 <!-- </goals> -->
+                 <!-- </execution> -->
+                 <!-- Datasource has to be created before running deploy -->
+                 <execution>
+                    <phase>install</phase>
+                    <goals>
+                       <goal>deploy</goal>
+                    </goals>
+                 </execution>
+              </executions>
+           </plugin>
         </plugins>
     </build>
 



More information about the seam-commits mailing list