On 08/16/2010 09:09 AM, Marius Kruger wrote:
On 16 August 2010 14:55, Chris Bredesen<[email protected]>  wrote:
I don't know if this is a problem or not, but you reference the
selenium-maven-plugin twice in your POM.
yes, once under<pluginManagement>  and once under<plugins>  .
(I tried many different things, to get this to work)

anyways, i now tried without the<pluginManagement>  section, with the
same result :(

I can start Selenium with this POM:

<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>
        <groupId>test</groupId>
        <artifactId>selenium</artifactId>
        <version>0.2.0-SNAPSHOT</version>
        <packaging>jar</packaging>
        <build>
                <plugins>
                        <plugin>
                                <artifactId>maven-compiler-plugin</artifactId>
                                <configuration>
                                        <source>1.6</source>
                                        <target>1.6</target>
                                </configuration>
                        </plugin>
                        <plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>selenium-maven-plugin</artifactId>
                                <configuration>
                                        <browser>*firefox</browser>
                                        <startURL>http://localhost</startURL>
                                </configuration>
                                <executions>
                                        <execution>
                                                
<phase>pre-integration-test</phase>
                                                <goals>
                                                        
<goal>start-server</goal>
                                                </goals>
                                        </execution>
                                </executions>
                        </plugin>
                </plugins>
        </build>
</project>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to