Skip to content

Commit

Permalink
whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
pmuir committed Aug 24, 2010
1 parent 8078e8e commit 601f5c1
Showing 1 changed file with 61 additions and 35 deletions.
96 changes: 61 additions & 35 deletions examples/pom.xml
@@ -1,5 +1,6 @@
<?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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.jboss.weld</groupId>
Expand Down Expand Up @@ -103,7 +104,7 @@
<selenium.timeout>30000</selenium.timeout>
<selenium.debug>false</selenium.debug>
<selenium.log.dir>${project.build.directory}/ftest-logs</selenium.log.dir>
<application.deploy.timeout>300</application.deploy.timeout>
<application.deploy.timeout>300</application.deploy.timeout>
<richfaces.selenium.version>1.5.0.Final</richfaces.selenium.version>
<ftest-classes-dir>${project.build.directory}/ftest</ftest-classes-dir>
<ftest-sources-dir>src/ftest/java</ftest-sources-dir>
Expand All @@ -127,7 +128,7 @@
<selenium.timeout.model>30000</selenium.timeout.model>
<test.source.dir>${basedir}/src/test/java</test.source.dir>
<test.output.dir>${basedir}/target/test-classes</test.output.dir>
</properties>
</properties>

<dependencyManagement>
<dependencies>
Expand Down Expand Up @@ -229,14 +230,17 @@
<plugins>
<!-- skip unit tests when running functional tests -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>

<!-- compile functional tests (testSourceDirectory and testOutputDirectory are used) -->

<!--
compile functional tests (testSourceDirectory and
testOutputDirectory are used)
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
Expand Down Expand Up @@ -304,7 +308,7 @@
</execution>
</executions>
</plugin>

<!-- run functional tests -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
Expand Down Expand Up @@ -418,8 +422,12 @@
<phase>post-integration-test</phase>
<configuration>
<tasks>
<echo taskname="selenium-shutdown" message="DGF Errors during shutdown are expected" />
<get taskname="selenium-shutdown" src="http://${selenium.server.host}:${selenium.server.port}/selenium-server/driver/?cmd=shutDownSeleniumServer" ignoreerrors="true" dest="${selenium.log.dir}/selenium.stop.msg" />
<echo taskname="selenium-shutdown"
message="DGF Errors during shutdown are expected" />
<get taskname="selenium-shutdown"
src="http://${selenium.server.host}:${selenium.server.port}/selenium-server/driver/?cmd=shutDownSeleniumServer"
ignoreerrors="true"
dest="${selenium.log.dir}/selenium.stop.msg" />
</tasks>
</configuration>
<goals>
Expand All @@ -432,7 +440,7 @@
</pluginManagement>
</build>
</profile>

<!-- PROFILE USED TO RUN CLUSTERING FTESTS ON JBOSS AS 6.0.* -->
<profile>
<id>ftest-jboss-cluster-60</id>
Expand All @@ -442,7 +450,7 @@

<test.source.dir>${ftest-sources-dir}</test.source.dir>
<test.output.dir>${ftest-classes-dir}</test.output.dir>
</properties>
</properties>
<dependencies>
<dependency>
<groupId>org.seleniumhq.selenium.client-drivers</groupId>
Expand All @@ -462,14 +470,17 @@
<plugins>
<!-- skip unit tests when running functional tests -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>

<!-- compile functional tests (testSourceDirectory and testOutputDirectory are used) -->

<!--
compile functional tests (testSourceDirectory and
testOutputDirectory are used)
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
Expand Down Expand Up @@ -506,7 +517,7 @@
</execution>
</executions>
</plugin>

<!-- run functional tests -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
Expand Down Expand Up @@ -618,49 +629,64 @@
<artifactId>maven-antrun-plugin</artifactId>

<executions>
<!-- deploy application to farm directory and waiting for the application to be ready -->
<!--
deploy application to farm directory and
waiting for the application to be ready
-->
<execution>
<id>farm-example</id>
<phase>pre-integration-test</phase>
<configuration>
<tasks>
<property name="url.to.wait" value="http://localhost:8180/${project.build.finalName}" />
<copy file="${project.build.directory}/${project.build.finalName}.${project.packaging}" toDir="${jboss.master.configuration}/farm" />
<echo message="Waiting for application at ${url.to.wait}" />
<waitfor maxwait="${application.deploy.timeout}" maxwaitunit="second">
<http url="${url.to.wait}" errorsBeginAt="404" />
<property name="url.to.wait"
value="http://localhost:8180/${project.build.finalName}" />
<copy
file="${project.build.directory}/${project.build.finalName}.${project.packaging}"
toDir="${jboss.master.configuration}/farm" />
<echo
message="Waiting for application at ${url.to.wait}" />
<waitfor
maxwait="${application.deploy.timeout}"
maxwaitunit="second">
<http url="${url.to.wait}"
errorsBeginAt="404" />
</waitfor>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>

<!-- this ant script runs testng natively -->
<execution>
<id>stop-selenium</id>
<phase>post-integration-test</phase>
<configuration>
<tasks>
<echo message="Undeploying application." />
<delete file="${jboss.master.configuration}/farm/${project.build.finalName}.${project.packaging}" />
<get taskname="selenium-shutdown" src="http://${selenium.host}:${selenium.port}/selenium-server/driver/?cmd=shutDownSeleniumServer" ignoreerrors="true" dest="${selenium.log.dir}/selenium.stop.msg" />
<echo taskname="selenium-shutdown" message="DGF Errors during shutdown are expected." />
<delete
file="${jboss.master.configuration}/farm/${project.build.finalName}.${project.packaging}" />
<get taskname="selenium-shutdown"
src="http://${selenium.host}:${selenium.port}/selenium-server/driver/?cmd=shutDownSeleniumServer"
ignoreerrors="true"
dest="${selenium.log.dir}/selenium.stop.msg" />
<echo taskname="selenium-shutdown"
message="DGF Errors during shutdown are expected." />
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>

</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>

</profiles>
</project>

0 comments on commit 601f5c1

Please sign in to comment.