Author: tchemit Date: 2012-08-26 19:04:35 +0200 (Sun, 26 Aug 2012) New Revision: 3633 Url: http://chorem.org/repositories/revision/pollen/3633 Log: remove old selenium configuration + add it reporting Modified: trunk/pollen-ui-struts2/pom.xml Modified: trunk/pollen-ui-struts2/pom.xml =================================================================== --- trunk/pollen-ui-struts2/pom.xml 2012-08-26 16:34:56 UTC (rev 3632) +++ trunk/pollen-ui-struts2/pom.xml 2012-08-26 17:04:35 UTC (rev 3633) @@ -620,6 +620,14 @@ </property> </activation> + <reporting> + <plugins> + <plugin> + <artifactId>maven-invoker-plugin</artifactId> + </plugin> + </plugins> + </reporting> + <build> <plugins> <plugin> @@ -648,237 +656,6 @@ </profile> - <profile> - <id>selenium</id> - <!--activation> - <property> - <name>maven.test.skip</name> - <value>!true</value> - </property> - </activation--> - <properties> - <pollenTestServerPort>8765</pollenTestServerPort> - <pollenTestUrl> - http://localhost:${pollenTestServerPort}/${defaultWebContextPath} - </pollenTestUrl> - </properties> - - <build> - <defaultGoal>post-integration-test</defaultGoal> - <plugins> - <plugin> - <groupId>org.mortbay.jetty</groupId> - <artifactId>jetty-maven-plugin</artifactId> - <executions> - - <execution> - <id>start-pollen</id> - <phase>pre-integration-test</phase> - <goals> - <goal>start</goal> - </goals> - <configuration> - <daemon>true</daemon> - <webAppConfig> - <descriptor> - ${basedir}/src/test/resources/web-test.xml - </descriptor> - <contextPath>/${defaultWebContextPath}</contextPath> - - </webAppConfig> - <useTestClasspath>true</useTestClasspath> - <systemProperties> - <systemProperty> - <name>siteUrl</name> - <value>${pollenTestUrl}</value> - </systemProperty> - <systemProperty> - <name>jetty.port</name> - <value>${pollenTestServerPort}</value> - </systemProperty> - </systemProperties> - </configuration> - </execution> - - <execution> - <id>stop-pollen</id> - <phase>post-integration-test</phase> - <goals> - <goal>stop</goal> - </goals> - </execution> - </executions> - </plugin> - - <plugin> - <artifactId>maven-surefire-plugin</artifactId> - <executions> - - <execution> - <phase>integration-test</phase> - <goals> - <goal>test</goal> - </goals> - <configuration> - <environmentVariables> - <siteUrl>${pollenTestUrl}</siteUrl> - </environmentVariables> - <includes> - <include>**/LoginSIT.java</include> - </includes> - </configuration> - </execution> - </executions> - </plugin> - - </plugins> - </build> - </profile> - - <profile> - <id>selenium2</id> - <!--activation> - <property> - <name>maven.test.skip</name> - <value>!true</value> - </property> - </activation--> - <properties> - <pollenTestServerPort>8765</pollenTestServerPort> - <pollenTestUrl> - http://localhost:${pollenTestServerPort}/${defaultWebContextPath} - </pollenTestUrl> - </properties> - - <build> - <defaultGoal>post-integration-test</defaultGoal> - <plugins> - <plugin> - <groupId>org.mortbay.jetty</groupId> - <artifactId>jetty-maven-plugin</artifactId> - <executions> - - <execution> - <id>start-pollen</id> - <phase>pre-integration-test</phase> - <goals> - <goal>start</goal> - </goals> - <configuration> - <daemon>true</daemon> - <webAppConfig> - <descriptor> - ${basedir}/src/test/resources/web-test.xml - </descriptor> - <contextPath>/${defaultWebContextPath}</contextPath> - - </webAppConfig> - <useTestClasspath>true</useTestClasspath> - <systemProperties> - <systemProperty> - <name>siteUrl</name> - <value>${pollenTestUrl}</value> - </systemProperty> - <systemProperty> - <name>jetty.port</name> - <value>${pollenTestServerPort}</value> - </systemProperty> - </systemProperties> - </configuration> - </execution> - - <execution> - <id>stop-pollen</id> - <phase>post-integration-test</phase> - <goals> - <goal>stop</goal> - </goals> - </execution> - </executions> - </plugin> - - <plugin> - <artifactId>maven-surefire-plugin</artifactId> - <executions> - - <execution> - <phase>integration-test</phase> - <goals> - <goal>test</goal> - </goals> - <configuration> - <environmentVariables> - <siteUrl>${pollenTestUrl}</siteUrl> - </environmentVariables> - <includes> - <include>**/*T.java</include> - </includes> - <excludes> - <exclude>**/*SIT.java</exclude> - </excludes> - </configuration> - </execution> - </executions> - </plugin> - - </plugins> - </build> - </profile> - - <profile> - <id>selenium-server</id> - <properties> - <pollenTestServerPort>8765</pollenTestServerPort> - <pollenTestUrl> - http://localhost:${pollenTestServerPort}/${defaultWebContextPath} - </pollenTestUrl> - <maven.test.skip>true</maven.test.skip> - </properties> - - <build> - <defaultGoal>pre-integration-test</defaultGoal> - <plugins> - <plugin> - <groupId>org.mortbay.jetty</groupId> - <artifactId>jetty-maven-plugin</artifactId> - <executions> - - <execution> - <id>start-pollen</id> - <phase>pre-integration-test</phase> - <goals> - <goal>start</goal> - </goals> - <configuration> - <daemon>false</daemon> - <webAppConfig> - <descriptor> - ${basedir}/src/test/resources/web-test.xml - </descriptor> - <contextPath>/${defaultWebContextPath}</contextPath> - - </webAppConfig> - <useTestClasspath>true</useTestClasspath> - <systemProperties> - <systemProperty> - <name>siteUrl</name> - <value>${pollenTestUrl}</value> - </systemProperty> - <systemProperty> - <name>jetty.port</name> - <value>${pollenTestServerPort}</value> - </systemProperty> - </systemProperties> - </configuration> - </execution> - - </executions> - </plugin> - - </plugins> - </build> - </profile> - </profiles> </project>