You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by pl...@apache.org on 2006/05/05 22:31:27 UTC
svn commit: r400168 - in /incubator/webwork2/webapps: pom.xml
showcase/pom.xml
Author: plightbo
Date: Fri May 5 13:31:27 2006
New Revision: 400168
URL: http://svn.apache.org/viewcvs?rev=400168&view=rev
Log:
more modular hostedqa configuraion (for when we support the other sample apps)
Modified:
incubator/webwork2/webapps/pom.xml
incubator/webwork2/webapps/showcase/pom.xml
Modified: incubator/webwork2/webapps/pom.xml
URL: http://svn.apache.org/viewcvs/incubator/webwork2/webapps/pom.xml?rev=400168&r1=400167&r2=400168&view=diff
==============================================================================
--- incubator/webwork2/webapps/pom.xml (original)
+++ incubator/webwork2/webapps/pom.xml Fri May 5 13:31:27 2006
@@ -18,6 +18,75 @@
<module>showcase</module>
<module>starter</module>
</modules>
+ <profiles>
+ <profile>
+ <id>hostedqa</id>
+ <dependencies>
+ <dependency>
+ <groupId>com.hostedqa</groupId>
+ <artifactId>hostedqa-remote-ant</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ <repositories>
+ <repository>
+ <id>codehaus</id>
+ <name>codehaus</name>
+ <url>http://dist.codehaus.org</url>
+ <layout>legacy</layout>
+ </repository>
+ <repository>
+ <id>maven-hostedqa</id>
+ <name>maven-hostedqa</name>
+ <snapshots>
+ <enabled>true</enabled>
+ <updatePolicy>always</updatePolicy>
+ <checksumPolicy>ignore</checksumPolicy>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <url>http://maven.hostedqa.com</url>
+ </repository>
+ </repositories>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <groupId>org.apache.maven.plugins</groupId>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <taskdef resource="hostedqatasks" classpathref="maven.plugin.classpath"/>
+ <upload file="${project.build.directory}/${project.build.finalName}.war"
+ account="struts" email="${email}"
+ password="${password}" resourceId="${resourceId}"/>
+
+ <playsuite suiteId="${suiteId}" clientConfigs="${clientConfigs}" appConfigs="${appConfigs}" account="struts"
+ email="${email}"
+ password="${password}"/>
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>com.hostedqa</groupId>
+ <artifactId>hostedqa-remote-ant</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
<dependencies>
<dependency>
<groupId>org.apache.struts.action2</groupId>
Modified: incubator/webwork2/webapps/showcase/pom.xml
URL: http://svn.apache.org/viewcvs/incubator/webwork2/webapps/showcase/pom.xml?rev=400168&r1=400167&r2=400168&view=diff
==============================================================================
--- incubator/webwork2/webapps/showcase/pom.xml (original)
+++ incubator/webwork2/webapps/showcase/pom.xml Fri May 5 13:31:27 2006
@@ -14,70 +14,12 @@
<profiles>
<profile>
<id>hostedqa</id>
- <dependencies>
- <dependency>
- <groupId>com.hostedqa</groupId>
- <artifactId>hostedqa-remote-ant</artifactId>
- <version>1.0-SNAPSHOT</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <repositories>
- <repository>
- <id>codehaus</id>
- <name>codehaus</name>
- <url>http://dist.codehaus.org</url>
- <layout>legacy</layout>
- </repository>
- <repository>
- <id>maven-hostedqa</id>
- <name>maven-hostedqa</name>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- <checksumPolicy>ignore</checksumPolicy>
- </snapshots>
- <releases>
- <enabled>true</enabled>
- </releases>
- <url>http://maven.hostedqa.com</url>
- </repository>
- </repositories>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <groupId>org.apache.maven.plugins</groupId>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <tasks>
- <taskdef resource="hostedqatasks" classpathref="maven.plugin.classpath"/>
- <upload file="${project.build.directory}/${project.build.finalName}.war"
- account="struts" email="${email}"
- password="${password}" resourceId="12"/>
-
- <playsuite suiteId="9" clientConfigs="8" appConfigs="7" account="struts"
- email="${email}"
- password="${password}"/>
- </tasks>
- </configuration>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>com.hostedqa</groupId>
- <artifactId>hostedqa-remote-ant</artifactId>
- <version>1.0-SNAPSHOT</version>
- </dependency>
- </dependencies>
- </plugin>
- </plugins>
- </build>
+ <properties>
+ <resourceId>12</resourceId>
+ <suiteId>9</suiteId>
+ <clientConfigs>8</clientConfigs>
+ <appConfigs>7</appConfigs>
+ </properties>
</profile>
</profiles>
<dependencies>