sebarmeli/Selenium2-Java-QuickStart-Archetype — Issue #1: webdriver package com.selenium2.util does not exist
Author: TaylorMonacelli
Created: 2011-12-26 23:35:13+00:00
State: open

I tried this:

git clone git://github.com/sebarmeli/Selenium2-Java-QuickStart-Archetype.git
cd Selenium2-Java-QuickStart-Archetype && mvn install
mvn \
archetype:generate \
-DartifactId=my-app \
-DgroupId=com.mycompany.app \
-DarchetypeGroupId=com.sebarmeli \
-DarchetypeArtifactId=selenium2-java-quickstart-archetype \
-DarchetypeVersion=0.2
cd my-app && mvn -X -e compile

but I'm stuck here:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project my-app: Compilation failure: Compilation failure:
[ERROR] /private/tmp/t/my-app/src/main/java/com/mycompany/app/webdriver/WebDriverFactory.java:[20,25] package com.selenium2.util does not exist
[ERROR] /private/tmp/t/my-app/src/main/java/com/mycompany/app/webdriver/WebDriverFactory.java:[21,30] package com.selenium2.webdriver does not exist
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project my-app: Compilation failure
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)

I'm not sure how to tell Maven where com.selenium2.util.Browser and com.selenium2.webdriver.AuthenticatedHtmlUnitDriver are. Nor do I know where to find them.

Does anything stand out as being immeidately obvious?