[
http://jira.codehaus.org/browse/MSELENIUM-19?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jason Dillon closed MSELENIUM-19.
---------------------------------
Resolution: Incomplete
Aight, then I'm closing this as a non-issue... or at least nothing to be done
for the plugin to support that behavior. Re-open if I'm missing something and
there is still some plugin changes required.
> Unable to override firefoxDefaultPath from command line or pom
> --------------------------------------------------------------
>
> Key: MSELENIUM-19
> URL: http://jira.codehaus.org/browse/MSELENIUM-19
> Project: Maven 2.x Selenium Plugin
> Issue Type: Bug
> Components: start-server
> Affects Versions: 1.0-beta-1
> Environment: x64, Linux
> Reporter: John Kew
> Assignee: Jason Dillon
>
> I am unable to modify the default path for firefox with the -D option, or
> through the pom file (unless I'm missing some critical insight). The firefox
> tests run fine when I modify the PATH environment variable, but ideally I
> would like to modify the java.system.firefoxDefaultPath property so I can
> easily integrate the tests with continuum.
> Would like to do this:
> mvn -P selen-test,tomcat-ci
> -Djava.system.firefoxDefaultPath=/usr/lib64/firefox-1.5.0.12/firefox-bin
> clean install
> Or do this:
> <profile>
> <id>selen-test</id>
> <build>
> <plugins>
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>selenium-maven-plugin</artifactId>
> <version>1.0-beta-2-SNAPSHOT</version>
> <executions>
> <execution>
> <id>start</id>
> <phase>pre-integration-test</phase>
> <goals>
> <goal>xvfb</goal>
> <goal>start-server</goal>
> </goals>
> <!-- WOULD LIKE TO DO THIS:
> <properties>
> <property>
> <name>java.system.firefoxDefaultPath</name>
> <value>/usr/lib64/firefox-1.5.0.12/firefox-bin</value>
> </property>
> </properties>-->
> <configuration>
> <background>true</background>
> </configuration>
> </execution>
> </executions>
> </plugin>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-surefire-plugin</artifactId>
> <configuration>
> <skip>true</skip>
> </configuration>
> <executions>
> <execution>
> <id>surefire-it</id>
> <phase>integration-test</phase>
> <goals>
> <goal>test</goal>
> </goals>
> <configuration>
> <includes>
> <include>**/selenium/*Selenium*Test*.java</include>
> </includes>
> <excludes>
> </excludes>
> <skip>false</skip>
> </configuration>
> </execution>
> </executions>
> </plugin>
> </plugins>
> </build>
> </profile>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email