[jboss-cvs] JBossAS SVN: r84943 - in projects/ejb3/trunk/docs/tutorial: shutdown and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Mar 2 05:41:44 EST 2009


Author: jaikiran
Date: 2009-03-02 05:41:44 -0500 (Mon, 02 Mar 2009)
New Revision: 84943

Modified:
   projects/ejb3/trunk/docs/tutorial/init/pom.xml
   projects/ejb3/trunk/docs/tutorial/shutdown/pom.xml
Log:
EJBTHREE-1748 Moved the server startup part to the appropriate profile to avoid server startup during release

Modified: projects/ejb3/trunk/docs/tutorial/init/pom.xml
===================================================================
--- projects/ejb3/trunk/docs/tutorial/init/pom.xml	2009-03-02 10:36:43 UTC (rev 84942)
+++ projects/ejb3/trunk/docs/tutorial/init/pom.xml	2009-03-02 10:41:44 UTC (rev 84943)
@@ -2,15 +2,15 @@
 
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
 
-  
 
-  
-   
+
+
+
   <!-- Model Version -->
   <modelVersion>4.0.0</modelVersion>
 
   <properties>
-    
+
     <!--  Versions -->
     <version.maven-jboss-as-control-plugin>0.1.1</version.maven-jboss-as-control-plugin>
   </properties>
@@ -23,9 +23,9 @@
   </parent>
 
 
-  
 
 
+
   <artifactId>jboss-ejb3-tutorial-init</artifactId>
   <version>0.1.1-SNAPSHOT</version>
   <packaging>pom</packaging>
@@ -34,9 +34,12 @@
   <description>
     Initializes the environment required for running the EJB3 tutorials
   </description>
-  
+
+  <profiles>
+   <profile>
+    <id>RunAll</id>
 	<build>
-  		
+
    		<plugins>
 			<!--  JBossAS Maven plugin for startup/shutdown
 			and other AS control -->
@@ -44,12 +47,12 @@
           		<groupId>org.jboss.maven.plugins.jbossas</groupId>
             		<artifactId>maven-jboss-as-control-plugin</artifactId>
 	            	<version>${version.maven-jboss-as-control-plugin}</version>
-            	
+
             		<!-- Executions -->
-            		<!-- 
+            		<!--
                 		Start the server
               		-->
-            	
+
                		 <executions>
               		<execution>
 	                	<id>start-jbossas</id>
@@ -74,11 +77,8 @@
 			</executions>
 
 			</plugin>
-
-		  
-      
 		</plugins>
-  
-  
   </build>
+  </profile>
+  </profiles>
 </project>

Modified: projects/ejb3/trunk/docs/tutorial/shutdown/pom.xml
===================================================================
--- projects/ejb3/trunk/docs/tutorial/shutdown/pom.xml	2009-03-02 10:36:43 UTC (rev 84942)
+++ projects/ejb3/trunk/docs/tutorial/shutdown/pom.xml	2009-03-02 10:41:44 UTC (rev 84943)
@@ -1,17 +1,17 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
 
-  
 
-  
-   
+
+
+
   <!-- Model Version -->
   <modelVersion>4.0.0</modelVersion>
 
   <properties>
-    
+
     <!--  Versions -->
     <version.maven-jboss-as-control-plugin>0.1.1</version.maven-jboss-as-control-plugin>
   </properties>
@@ -24,9 +24,9 @@
     <relativePath>../build</relativePath>
   </parent>
 
-  
 
 
+
   <artifactId>jboss-ejb3-tutorial-shutdown</artifactId>
   <version>0.1.0-SNAPSHOT</version>
   <packaging>pom</packaging>
@@ -35,9 +35,11 @@
   <description>
     Initializes the environment required for running the EJB3 tutorials
   </description>
-  
+
+ <profiles>
+   <profile>
+    <id>RunAll</id>
 	<build>
-  		
    		<plugins>
 			<!--  JBossAS Maven plugin for startup/shutdown
 			and other AS control -->
@@ -45,12 +47,12 @@
 	          		<groupId>org.jboss.maven.plugins.jbossas</groupId>
 	            		<artifactId>maven-jboss-as-control-plugin</artifactId>
 		            	<version>${version.maven-jboss-as-control-plugin}</version>
-	            	
+
 	            		<!-- Executions -->
-	            		<!-- 
+	            		<!--
 	                		Stop the server
 	              		-->
-	            	
+
 	               		 <executions>
 	              			<execution>
 	                			<id>stop-jbossas</id>
@@ -62,18 +64,15 @@
 	                  				<serverConfigName>${jboss.server.config}</serverConfigName>
 	                  				<jboss.test.run>true</jboss.test.run>
 	                			</configuration>
-	              			</execution> 
+	              			</execution>
 
 				</executions>
 
 			</plugin>
-
-		  
-      
 		</plugins>
-  
-  
   </build>
+  </profile>
+  </profiles>
 
 
 </project>




More information about the jboss-cvs-commits mailing list