geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r712367 - /geronimo/server/trunk/plugins/activemq5/activemq5-server/pom.xml
Date Sat, 08 Nov 2008 09:01:00 GMT
Author: djencks
Date: Sat Nov  8 01:01:00 2008
New Revision: 712367

URL: http://svn.apache.org/viewvc?rev=712367&view=rev
Log:
GERONIMO-4337 set up a profile that runs the server for future integration tests

Modified:
    geronimo/server/trunk/plugins/activemq5/activemq5-server/pom.xml

Modified: geronimo/server/trunk/plugins/activemq5/activemq5-server/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/activemq5/activemq5-server/pom.xml?rev=712367&r1=712366&r2=712367&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/activemq5/activemq5-server/pom.xml (original)
+++ geronimo/server/trunk/plugins/activemq5/activemq5-server/pom.xml Sat Nov  8 01:01:00 2008
@@ -47,6 +47,106 @@
     </dependencies>
 
     <build>
+        <pluginManagement>
+            <plugins>
+                <plugin>
+                    <groupId>org.apache.geronimo.buildsupport</groupId>
+                    <artifactId>geronimo-maven-plugin</artifactId>
+                    <version>${geronimoVersion}</version>
+
+                    <configuration>
+                        <!--<assemblies>-->
+                            <!--<assembly>-->
+                                <!--<id>activemq5</id>-->
+                                <!--<groupId>org.apache.geronimo.plugins</groupId>-->
+                                <!--<artifactId>activemq5-server</artifactId>-->
+                                <!--<version>${geronimoVersion}</version>-->
+                                <!--<classifier>bin</classifier>-->
+                                <!--<type>zip</type>-->
+                            <!--</assembly>-->
+                        <!--</assemblies>-->
+
+                        <!--<defaultAssemblyId>activemq5</defaultAssemblyId>-->
+                       <assemblyArchive>${project.build.directory}/${pom.artifactId}-${pom.version}-bin.zip</assemblyArchive>
+                        <optionSets>
+                            <optionSet>
+                                <id>morememory</id>
+                                <options>
+                                    <option>-Xmx512m</option>
+                                    <option>-XX:MaxPermSize=128m</option>
+                                </options>
+                            </optionSet>
+
+                            <optionSet>
+                                <id>debug</id>
+                                <options>
+                                    <option>-Xdebug</option>
+                                    <option>-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n</option>
+                                </options>
+                            </optionSet>
+                        </optionSets>
+                    </configuration>
+                    <executions>
+                         <execution>
+                             <id>start</id>
+                             <phase>pre-integration-test</phase>
+                             <goals>
+                                 <goal>start-server</goal>
+                             </goals>
+                             <configuration>
+                                 <assemblyId>${it-server}</assemblyId>
+                                 <logOutput>true</logOutput>
+                                 <background>true</background>
+                                 <verifyTimeout>300</verifyTimeout>
+                                 <refresh>true</refresh>
+                                 <optionSets>
+                                     <optionSet>
+                                         <id>default</id>
+                                         <options>
+                                            <option>-XX:MaxPermSize=128m</option>
+                                         </options>
+                                     </optionSet>
+
+                                     <optionSet>
+                                          <id>morememory</id>
+                                          <options>
+                                              <option>-Xmx512m</option>
+                                              <option>-XX:MaxPermSize=128m</option>
+                                          </options>
+                                      </optionSet>
+
+                                      <optionSet>
+                                          <id>debug</id>
+                                          <options>
+                                              <option>-Xdebug</option>
+                                              <option>-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n</option>
+                                          </options>
+                                      </optionSet>
+                                 </optionSets>
+                             </configuration>
+                         </execution>
+                         <!--<execution>-->
+                             <!--<id>install-plugin</id>-->
+                             <!--<phase>install</phase>-->
+                             <!--<goals>-->
+                                 <!--<goal>install-plugin</goal>-->
+                             <!--</goals>-->
+                             <!--<configuration>-->
+                                 <!--<defaultGeronimoRepository>http://geronimo.apache.org/plugins/geronimo-${geronimoVersion}/</defaultGeronimoRepository>-->
+                             <!--</configuration>-->
+                         <!--</execution>-->
+                         <execution>
+                             <id>stop</id>
+                             <phase>install</phase>
+                             <goals>
+                                 <goal>stop-server</goal>
+                             </goals>
+                         </execution>
+                     </executions>
+                </plugin>
+
+            </plugins>
+        </pluginManagement>
         <plugins>
             <plugin>
                 <groupId>org.apache.geronimo.buildsupport</groupId>
@@ -84,4 +184,22 @@
             </plugin>
         </plugins>
     </build>
+
+    <profiles>
+        <profile>
+            <id>it</id>
+            <!--<properties>-->
+            <!--<it-server>jetty</it-server>-->
+            <!--</properties>-->
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.geronimo.buildsupport</groupId>
+                        <artifactId>geronimo-maven-plugin</artifactId>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
+
 </project>
\ No newline at end of file



Mime
View raw message