You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by ha...@apache.org on 2010/12/08 06:19:32 UTC
svn commit: r1043303 - in /geronimo/devtools/eclipse-plugin/branches/2.2: ./
testsuite/eclipse/ testsuite/launcher/
testsuite/plugins/org.apache.geronimo.testsuite.common/
testsuite/plugins/org.apache.geronimo.testsuite.v20/
testsuite/plugins/org.apach...
Author: hanhongfang
Date: Wed Dec 8 05:19:31 2010
New Revision: 1043303
URL: http://svn.apache.org/viewvc?rev=1043303&view=rev
Log:
GERONIMODEVTOOLS-686 Create a new profile to skip the test suite executions when releasing GEP
Modified:
geronimo/devtools/eclipse-plugin/branches/2.2/pom.xml
geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/eclipse/build.xml
geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/eclipse/pom.xml
geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/launcher/build.xml
geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/launcher/pom.xml
geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/plugins/org.apache.geronimo.testsuite.common/pom.xml
geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/plugins/org.apache.geronimo.testsuite.v20/pom.xml
geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/plugins/org.apache.geronimo.testsuite.v21/pom.xml
geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/plugins/org.apache.geronimo.testsuite.v22/pom.xml
geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/server/pom.xml
Modified: geronimo/devtools/eclipse-plugin/branches/2.2/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.2/pom.xml?rev=1043303&r1=1043302&r2=1043303&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.2/pom.xml (original)
+++ geronimo/devtools/eclipse-plugin/branches/2.2/pom.xml Wed Dec 8 05:19:31 2010
@@ -552,7 +552,18 @@
<module>testsuite</module>
</modules>
</profile>
-
+
+ <profile>
+ <id>allsubproject</id>
+ <modules>
+ <module>eclipse</module>
+ <module>plugins</module>
+ <module>features</module>
+ <module>assembly</module>
+ <module>testsuite</module>
+ </modules>
+ </profile>
+
<profile>
<id>apache-release</id>
<build>
Modified: geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/eclipse/build.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/eclipse/build.xml?rev=1043303&r1=1043302&r2=1043303&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/eclipse/build.xml (original)
+++ geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/eclipse/build.xml Wed Dec 8 05:19:31 2010
@@ -321,5 +321,13 @@
dest="${test_eclipse}eclipse/features/org.apache.geronimo.v22.feature_${gep_version}"
overwrite="true"/>
</target>
+
+ <target name="skip" description="Skip the build.xml">
+ <echo>#################################################################################</echo>
+ <echo>## </echo>
+ <echo>## Skip testsuite\eclipse\build.xml </echo>
+ <echo>## </echo>
+ <echo>#################################################################################</echo>
+ </target>
</project>
Modified: geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/eclipse/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/eclipse/pom.xml?rev=1043303&r1=1043302&r2=1043303&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/eclipse/pom.xml (original)
+++ geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/eclipse/pom.xml Wed Dec 8 05:19:31 2010
@@ -107,6 +107,33 @@
<eclipsePlatformFamily>macos</eclipsePlatformFamily>
</properties>
</profile>
- </profiles>
-
+ <profile>
+ <id>allsubproject</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>create-launcher-eclipse</id>
+ <phase>validate</phase>
+ <configuration>
+ <tasks>
+ <property name="LOCAL_M2_REPO" value="${settings.localRepository}"/>
+ <ant antfile="${basedir}/build.xml">
+ <target name="skip"></target>
+ </ant>
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
Modified: geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/launcher/build.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/launcher/build.xml?rev=1043303&r1=1043302&r2=1043303&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/launcher/build.xml (original)
+++ geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/launcher/build.xml Wed Dec 8 05:19:31 2010
@@ -110,6 +110,14 @@
<arg value="-Darch=x86"/>
</java>
</target>
+
+ <target name="skip" description="Skip the build.xml">
+ <echo>#################################################################################</echo>
+ <echo>## </echo>
+ <echo>## Skip testsuite\launcher\build.xml </echo>
+ <echo>## </echo>
+ <echo>#################################################################################</echo>
+ </target>
</project>
Modified: geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/launcher/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/launcher/pom.xml?rev=1043303&r1=1043302&r2=1043303&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/launcher/pom.xml (original)
+++ geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/launcher/pom.xml Wed Dec 8 05:19:31 2010
@@ -109,6 +109,32 @@
<eclipsePlatformFamily>macos</eclipsePlatformFamily>
</properties>
</profile>
- </profiles>
-
+ <profile>
+ <id>allsubproject</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>run-testsuite</id>
+ <phase>install</phase>
+ <configuration>
+ <tasks>
+ <ant antfile="${basedir}/build.xml">
+ <target name="skip"></target>
+ </ant>
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
Modified: geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/plugins/org.apache.geronimo.testsuite.common/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/plugins/org.apache.geronimo.testsuite.common/pom.xml?rev=1043303&r1=1043302&r2=1043303&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/plugins/org.apache.geronimo.testsuite.common/pom.xml (original)
+++ geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/plugins/org.apache.geronimo.testsuite.common/pom.xml Wed Dec 8 05:19:31 2010
@@ -64,48 +64,7 @@
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
- </plugin>
-
- <!--
- |
- | Unzip the resulting plugin jar into the launcher eclipse directory for later usage
- |
- -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <id>unzip-common</id>
- <phase>generate-resources</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <tasks>
- <unzip src="${settings.localRepository}/org/openqa/selenium/client-drivers/selenium-java-client-driver/1.0-beta-1/selenium-java-client-driver-1.0-beta-1.jar"
- dest="${project.build.directory}/classes"/>
- <unzip src="${settings.localRepository}/org/openqa/selenium/server/selenium-server/1.0-beta-1/selenium-server-1.0-beta-1-standalone.jar"
- dest="${project.build.directory}/classes"/>
- </tasks>
- </configuration>
- </execution>
- <execution>
- <id>unzip-selenium</id>
- <phase>package</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <tasks>
- <mkdir dir="${basedir}/../../launcher/eclipse/eclipse/plugins/org.apache.geronimo.testsuite.common-2.2.1"/>
- <unzip src="${project.build.directory}/org.apache.geronimo.testsuite.common-2.2.1.jar"
- dest="${basedir}/../../launcher/eclipse/eclipse/plugins/org.apache.geronimo.testsuite.common-2.2.1"/>
- </tasks>
- </configuration>
- </execution>
- </executions>
- </plugin>
+ </plugin>
<!-- Exclude tutorial java files -->
<plugin>
@@ -192,4 +151,60 @@
</dependency>
</dependencies>
+ <profiles>
+ <profile>
+ <id>default</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <!--
+ |
+ | Unzip the resulting plugin jar into the launcher eclipse directory for later usage
+ |
+ -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>unzip-common</id>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <unzip src="${settings.localRepository}/org/openqa/selenium/client-drivers/selenium-java-client-driver/1.0-beta-1/selenium-java-client-driver-1.0-beta-1.jar"
+ dest="${project.build.directory}/classes"/>
+ <unzip src="${settings.localRepository}/org/openqa/selenium/server/selenium-server/1.0-beta-1/selenium-server-1.0-beta-1-standalone.jar"
+ dest="${project.build.directory}/classes"/>
+ </tasks>
+ </configuration>
+ </execution>
+ <execution>
+ <id>unzip-selenium</id>
+ <phase>package</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <mkdir dir="${basedir}/../../launcher/eclipse/eclipse/plugins/org.apache.geronimo.testsuite.common-2.2.1"/>
+ <unzip src="${project.build.directory}/org.apache.geronimo.testsuite.common-2.2.1.jar"
+ dest="${basedir}/../../launcher/eclipse/eclipse/plugins/org.apache.geronimo.testsuite.common-2.2.1"/>
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>allsubproject</id>
+ </profile>
+ </profiles>
+
</project>
Modified: geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/plugins/org.apache.geronimo.testsuite.v20/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/plugins/org.apache.geronimo.testsuite.v20/pom.xml?rev=1043303&r1=1043302&r2=1043303&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/plugins/org.apache.geronimo.testsuite.v20/pom.xml (original)
+++ geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/plugins/org.apache.geronimo.testsuite.v20/pom.xml Wed Dec 8 05:19:31 2010
@@ -64,32 +64,7 @@
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
- </plugin>
-
- <!--
- |
- | Unzip the resulting plugin jar into the launcher eclipse directory for later usage
- |
- -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <tasks>
- <mkdir dir="${basedir}/../../launcher/eclipse/eclipse/plugins/org.apache.geronimo.testsuite.v20-2.2.1"/>
- <unzip src="${project.build.directory}/org.apache.geronimo.testsuite.v20-2.2.1.jar"
- dest="${basedir}/../../launcher/eclipse/eclipse/plugins/org.apache.geronimo.testsuite.v20-2.2.1"/>
- </tasks>
- </configuration>
- </execution>
- </executions>
- </plugin>
+ </plugin>
<!-- Exclude tutorial java files -->
<plugin>
@@ -167,4 +142,44 @@
</dependency>
</dependencies>
+ <profiles>
+ <profile>
+ <id>default</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <!--
+ |
+ | Unzip the resulting plugin jar into the launcher eclipse directory for later usage
+ |
+ -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <mkdir dir="${basedir}/../../launcher/eclipse/eclipse/plugins/org.apache.geronimo.testsuite.v20-2.2.1"/>
+ <unzip src="${project.build.directory}/org.apache.geronimo.testsuite.v20-2.2.1.jar"
+ dest="${basedir}/../../launcher/eclipse/eclipse/plugins/org.apache.geronimo.testsuite.v20-2.2.1"/>
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>allsubproject</id>
+ </profile>
+ </profiles>
+
</project>
Modified: geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/plugins/org.apache.geronimo.testsuite.v21/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/plugins/org.apache.geronimo.testsuite.v21/pom.xml?rev=1043303&r1=1043302&r2=1043303&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/plugins/org.apache.geronimo.testsuite.v21/pom.xml (original)
+++ geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/plugins/org.apache.geronimo.testsuite.v21/pom.xml Wed Dec 8 05:19:31 2010
@@ -64,32 +64,7 @@
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
- </plugin>
-
- <!--
- |
- | Unzip the resulting plugin jar into the launcher eclipse directory for later usage
- |
- -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <tasks>
- <mkdir dir="${basedir}/../../launcher/eclipse/eclipse/plugins/org.apache.geronimo.testsuite.v21-2.2.1"/>
- <unzip src="${project.build.directory}/org.apache.geronimo.testsuite.v21-2.2.1.jar"
- dest="${basedir}/../../launcher/eclipse/eclipse/plugins/org.apache.geronimo.testsuite.v21-2.2.1"/>
- </tasks>
- </configuration>
- </execution>
- </executions>
- </plugin>
+ </plugin>
<!-- Exclude tutorial java files -->
<plugin>
@@ -167,4 +142,44 @@
</dependency>
</dependencies>
+ <profiles>
+ <profile>
+ <id>default</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <!--
+ |
+ | Unzip the resulting plugin jar into the launcher eclipse directory for later usage
+ |
+ -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <mkdir dir="${basedir}/../../launcher/eclipse/eclipse/plugins/org.apache.geronimo.testsuite.v21-2.2.1"/>
+ <unzip src="${project.build.directory}/org.apache.geronimo.testsuite.v21-2.2.1.jar"
+ dest="${basedir}/../../launcher/eclipse/eclipse/plugins/org.apache.geronimo.testsuite.v21-2.2.1"/>
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>allsubproject</id>
+ </profile>
+ </profiles>
+
</project>
Modified: geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/plugins/org.apache.geronimo.testsuite.v22/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/plugins/org.apache.geronimo.testsuite.v22/pom.xml?rev=1043303&r1=1043302&r2=1043303&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/plugins/org.apache.geronimo.testsuite.v22/pom.xml (original)
+++ geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/plugins/org.apache.geronimo.testsuite.v22/pom.xml Wed Dec 8 05:19:31 2010
@@ -64,32 +64,7 @@
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
- </plugin>
-
- <!--
- |
- | Unzip the resulting plugin jar into the launcher eclipse directory for later usage
- |
- -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <tasks>
- <mkdir dir="${basedir}/../../launcher/eclipse/eclipse/plugins/org.apache.geronimo.testsuite.v22-2.2.1"/>
- <unzip src="${project.build.directory}/org.apache.geronimo.testsuite.v22-2.2.1.jar"
- dest="${basedir}/../../launcher/eclipse/eclipse/plugins/org.apache.geronimo.testsuite.v22-2.2.1"/>
- </tasks>
- </configuration>
- </execution>
- </executions>
- </plugin>
+ </plugin>
<!-- Exclude tutorial java files -->
<plugin>
@@ -181,4 +156,43 @@
</dependency>
</dependencies>
+ <profiles>
+ <profile>
+ <id>default</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <!--
+ |
+ | Unzip the resulting plugin jar into the launcher eclipse directory for later usage
+ |
+ -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <mkdir dir="${basedir}/../../launcher/eclipse/eclipse/plugins/org.apache.geronimo.testsuite.v22-2.2.1"/>
+ <unzip src="${project.build.directory}/org.apache.geronimo.testsuite.v22-2.2.1.jar"
+ dest="${basedir}/../../launcher/eclipse/eclipse/plugins/org.apache.geronimo.testsuite.v22-2.2.1"/>
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>allsubproject</id>
+ </profile>
+ </profiles>
</project>
Modified: geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/server/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/server/pom.xml?rev=1043303&r1=1043302&r2=1043303&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/server/pom.xml (original)
+++ geronimo/devtools/eclipse-plugin/branches/2.2/testsuite/server/pom.xml Wed Dec 8 05:19:31 2010
@@ -34,73 +34,83 @@
<version>2.2.1</version>
</parent>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <id>create-geronimo-server</id>
- <phase>validate</phase>
- <configuration>
- <tasks>
- <!--
- |
- | Unzip and rename the testsuite Geronimo server v2.2.1
- |
- -->
- <property name="geronimo_install1" value="${basedir}/../launcher/"/>
- <property name="geronimo_assembly1" value="org/apache/geronimo/assemblies"/>
- <property name="geronimo_name1" value="geronimo-tomcat6-javaee5"/>
- <property name="geronimoVersion_1" value="2.2.1"/>
- <mkdir dir="${geronimo_install1}"/>
- <unzip src="${settings.localRepository}/${geronimo_assembly1}/${geronimo_name1}/${geronimoVersion_1}/${geronimo_name1}-${geronimoVersion_1}-bin.zip"
- dest="${geronimo_install1}"/>
- <move todir="${geronimo_install1}server_v2.2">
- <fileset dir="${geronimo_install1}/${geronimo_name1}-${geronimoVersion_1}"/>
- </move>
-
- <!--
- |
- | Unzip and rename the testsuite Geronimo server v2.1.7
- |
- -->
- <property name="geronimo_install2" value="${basedir}/../launcher/"/>
- <property name="geronimo_assembly2" value="org/apache/geronimo/assemblies"/>
- <property name="geronimo_name2" value="geronimo-tomcat6-javaee5"/>
- <property name="geronimoVersion_2" value="2.1.7"/>
- <mkdir dir="${geronimo_install2}"/>
- <unzip src="${settings.localRepository}/${geronimo_assembly2}/${geronimo_name2}/${geronimoVersion_2}/${geronimo_name2}-${geronimoVersion_2}-bin.zip"
- dest="${geronimo_install2}"/>
- <move todir="${geronimo_install2}server_v2.1">
- <fileset dir="${geronimo_install2}/${geronimo_name2}-${geronimoVersion_2}"/>
- </move>
-
- <!--
- |
- | Unzip and rename the testsuite Geronimo server v2.0.2
- |
- -->
- <property name="geronimo_install3" value="${basedir}/../launcher/"/>
- <property name="geronimo_assembly3" value="org/apache/geronimo/assemblies"/>
- <property name="geronimo_name3" value="geronimo-tomcat6-jee5"/>
- <property name="geronimoVersion_3" value="2.0.2"/>
- <mkdir dir="${geronimo_install3}"/>
- <unzip src="${settings.localRepository}/${geronimo_assembly3}/${geronimo_name3}/${geronimoVersion_3}/${geronimo_name3}-${geronimoVersion_3}-bin.zip"
- dest="${geronimo_install3}"/>
- <move todir="${geronimo_install3}server_v2.0">
- <fileset dir="${geronimo_install3}/${geronimo_name3}-${geronimoVersion_3}"/>
- </move>
- </tasks>
- </configuration>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
+ <profiles>
+ <profile>
+ <id>default</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>create-geronimo-server</id>
+ <phase>validate</phase>
+ <configuration>
+ <tasks>
+ <!--
+ |
+ | Unzip and rename the testsuite Geronimo server v2.2.1
+ |
+ -->
+ <property name="geronimo_install1" value="${basedir}/../launcher/"/>
+ <property name="geronimo_assembly1" value="org/apache/geronimo/assemblies"/>
+ <property name="geronimo_name1" value="geronimo-tomcat6-javaee5"/>
+ <property name="geronimoVersion_1" value="2.2.1"/>
+ <mkdir dir="${geronimo_install1}"/>
+ <unzip src="${settings.localRepository}/${geronimo_assembly1}/${geronimo_name1}/${geronimoVersion_1}/${geronimo_name1}-${geronimoVersion_1}-bin.zip"
+ dest="${geronimo_install1}"/>
+ <move todir="${geronimo_install1}server_v2.2">
+ <fileset dir="${geronimo_install1}/${geronimo_name1}-${geronimoVersion_1}"/>
+ </move>
+
+ <!--
+ |
+ | Unzip and rename the testsuite Geronimo server v2.1.7
+ |
+ -->
+ <property name="geronimo_install2" value="${basedir}/../launcher/"/>
+ <property name="geronimo_assembly2" value="org/apache/geronimo/assemblies"/>
+ <property name="geronimo_name2" value="geronimo-tomcat6-javaee5"/>
+ <property name="geronimoVersion_2" value="2.1.7"/>
+ <mkdir dir="${geronimo_install2}"/>
+ <unzip src="${settings.localRepository}/${geronimo_assembly2}/${geronimo_name2}/${geronimoVersion_2}/${geronimo_name2}-${geronimoVersion_2}-bin.zip"
+ dest="${geronimo_install2}"/>
+ <move todir="${geronimo_install2}server_v2.1">
+ <fileset dir="${geronimo_install2}/${geronimo_name2}-${geronimoVersion_2}"/>
+ </move>
+
+ <!--
+ |
+ | Unzip and rename the testsuite Geronimo server v2.0.2
+ |
+ -->
+ <property name="geronimo_install3" value="${basedir}/../launcher/"/>
+ <property name="geronimo_assembly3" value="org/apache/geronimo/assemblies"/>
+ <property name="geronimo_name3" value="geronimo-tomcat6-jee5"/>
+ <property name="geronimoVersion_3" value="2.0.2"/>
+ <mkdir dir="${geronimo_install3}"/>
+ <unzip src="${settings.localRepository}/${geronimo_assembly3}/${geronimo_name3}/${geronimoVersion_3}/${geronimo_name3}-${geronimoVersion_3}-bin.zip"
+ dest="${geronimo_install3}"/>
+ <move todir="${geronimo_install3}server_v2.0">
+ <fileset dir="${geronimo_install3}/${geronimo_name3}-${geronimoVersion_3}"/>
+ </move>
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>allsubproject</id>
+ </profile>
+ </profiles>
</project>