[seam-commits] Seam SVN: r14197 - in branches/community/Seam_2_3: examples/booking/booking-ear and 3 other directories.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Mon Sep 26 11:51:39 EDT 2011


Author: manaRH
Date: 2011-09-26 11:51:39 -0400 (Mon, 26 Sep 2011)
New Revision: 14197

Modified:
   branches/community/Seam_2_3/examples/booking/booking-ear/pom.xml
   branches/community/Seam_2_3/examples/pom.xml
   branches/community/Seam_2_3/jboss-seam-parent/pom.xml
   branches/community/Seam_2_3/jboss-seam-ui/pom.xml
   branches/community/Seam_2_3/jboss-seam/pom.xml
Log:
replaced version.seam variable by project.version, added jboss-as-maven-plugin for booking example in jbossas7 profile

Modified: branches/community/Seam_2_3/examples/booking/booking-ear/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/booking/booking-ear/pom.xml	2011-09-23 12:19:05 UTC (rev 14196)
+++ branches/community/Seam_2_3/examples/booking/booking-ear/pom.xml	2011-09-26 15:51:39 UTC (rev 14197)
@@ -217,6 +217,40 @@
             <build>
             	<plugins>
 	            	<plugin>
+			            <groupId>org.jboss.as.plugins</groupId>
+			            <artifactId>jboss-as-maven-plugin</artifactId>
+			            <version>7.0.1.Final</version>
+                        <executions>
+<!--  This fails with NullPointerException -->                        
+<!-- 			                <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> -->
+<!-- 					                    <password></password> -->
+<!-- 					                    <driver-name>h2</driver-name> -->
+<!-- 					                </properties> -->
+<!-- 					            </configuration> -->
+<!-- 					            <goals> -->
+<!-- 					                <goal>add-resource</goal> -->
+<!-- 					            </goals> -->
+<!-- 					        </execution> -->
+<!--  Datasource has to be created before running deploy -->
+					         <execution>
+                                <phase>package</phase>
+                                <goals>
+                                    <goal>deploy</goal>
+                                </goals>
+                            </execution>
+				        </executions>
+			        </plugin>
+	            	<plugin>
 		                <groupId>org.apache.maven.plugins</groupId>
 		                <artifactId>maven-ear-plugin</artifactId>
 		                <version>2.3.2</version>

Modified: branches/community/Seam_2_3/examples/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/pom.xml	2011-09-23 12:19:05 UTC (rev 14196)
+++ branches/community/Seam_2_3/examples/pom.xml	2011-09-26 15:51:39 UTC (rev 14197)
@@ -83,27 +83,6 @@
     <dependencyManagement>
         <dependencies>
             <dependency>
-                <groupId>cz.mana.myseamproj</groupId>
-                <artifactId>seamtemplateproj-util</artifactId>
-                <version>${project.version}</version>
-                <type>jar</type>
-                <scope>compile</scope>
-            </dependency>
-            <dependency>
-                <groupId>cz.mana.myseamproj</groupId>
-                <artifactId>seamtemplateproj-ejb</artifactId>
-                <version>${project.version}</version>
-                <type>ejb</type>
-                <scope>compile</scope>
-            </dependency>
-            <dependency>
-                <groupId>cz.mana.myseamproj</groupId>
-                <artifactId>seamtemplateproj-web</artifactId>
-                <version>${project.version}</version>
-                <type>war</type>
-                <scope>compile</scope>
-            </dependency>
-            <dependency>
                 <groupId>org.richfaces.ui</groupId>
                 <artifactId>richfaces-ui</artifactId>
                 <version>${richfaces.version}</version>
@@ -136,7 +115,7 @@
             <dependency>
                 <groupId>org.jboss.seam</groupId>
                 <artifactId>jboss-seam</artifactId>
-                <version>${version.seam}</version>
+                <version>${project.version}</version>
                 <type>ejb</type>
                 <scope>provided</scope>
                 <exclusions>

Modified: branches/community/Seam_2_3/jboss-seam/pom.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam/pom.xml	2011-09-23 12:19:05 UTC (rev 14196)
+++ branches/community/Seam_2_3/jboss-seam/pom.xml	2011-09-26 15:51:39 UTC (rev 14197)
@@ -44,7 +44,7 @@
                      <keywords>true</keywords>
                      <author>true</author>
                      <stylesheetfile>jdstyle.css</stylesheetfile>
-                     <doctitle>JBoss Seam ${project.name} API ${version.seam}</doctitle> <!-- Used by javadoc:javadoc goal -->
+                     <doctitle>JBoss Seam ${project.name} API ${project.version}</doctitle> <!-- Used by javadoc:javadoc goal -->
                      <detectOfflineLinks>false</detectOfflineLinks>
                  </configuration>
                  <executions>

Modified: branches/community/Seam_2_3/jboss-seam-parent/pom.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-parent/pom.xml	2011-09-23 12:19:05 UTC (rev 14196)
+++ branches/community/Seam_2_3/jboss-seam-parent/pom.xml	2011-09-26 15:51:39 UTC (rev 14197)
@@ -46,7 +46,6 @@
 		<version.testng>5.10</version.testng>
 		<version.resteasy>2.0-beta-2</version.resteasy>
 		<version.spring>2.5.6.SEC02</version.spring>
-<!--		<version.seam>${project.version}</version.seam> -->
 		<version.jbossembedded>beta3.SP10</version.jbossembedded>
         <version.emma>2.0.5312</version.emma>
 
@@ -56,7 +55,6 @@
 		<jboss.releases.repo.url>https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/</jboss.releases.repo.url>
 		<jboss.snapshots.repo.url>https://repository.jboss.org/nexus/content/repositories/snapshots/</jboss.snapshots.repo.url>
 		<maven.build.timestamp.format>yyyyMMdd-HHmm</maven.build.timestamp.format>
-		<dist.dir>${project.build.directory}/jboss-seam-${project.version}</dist.dir>
 	</properties>
 
 	<dependencyManagement>

Modified: branches/community/Seam_2_3/jboss-seam-ui/pom.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-ui/pom.xml	2011-09-23 12:19:05 UTC (rev 14196)
+++ branches/community/Seam_2_3/jboss-seam-ui/pom.xml	2011-09-26 15:51:39 UTC (rev 14197)
@@ -51,7 +51,7 @@
                      <keywords>true</keywords>
                      <author>true</author>
                      <stylesheetfile>jdstyle.css</stylesheetfile>
-                     <doctitle>JBoss Seam ${project.name} API ${version.seam}</doctitle> <!-- Used by javadoc:javadoc goal -->
+                     <doctitle>JBoss Seam ${project.name} API ${project.version}</doctitle> <!-- Used by javadoc:javadoc goal -->
                      <detectOfflineLinks>false</detectOfflineLinks>
                  </configuration>
                  <executions>



More information about the seam-commits mailing list