Hi there

If you're using Maven 2.0 you can't use the the mentioned WebTest plugin, since 
it is for Maven 1.x (see 
http://maven-plugins.sourceforge.net/maven-webtest-plugin/index.html and 
http://maven.apache.org/maven1.html#m1-plugins).

To use WebTest from within Maven 2.0, you can use the maven-antrun-plugin 
(http://maven.apache.org/plugins/maven-antrun-plugin/). You'll call your 
WebTest files from Maven 2.0, which basically means, that you call an Ant build 
file from Maven 2.0.

You'll have to define in which Maven 2.0 phase you would like to call it, but 
most probably you would bind it to 'test' (see 
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html).

Best regards,
Tomi

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul King
Sent: Thursday, August 10, 2006 6:34 AM
To: [EMAIL PROTECTED]
Subject: Re: [Webtest] Anyone using webtest with maven2 ?


The version of WebTest included at www.ibiblio.org/maven2/webtest/webtest
is quite old. A more recent version is included in the Maven 1.0.2 plugin:

http://maven-plugins.sourceforge.net/maven-webtest-plugin/downloads.html

If that is of any use.

Cheers, Paul.

Ejaz Ahmed Syed wrote:
> Greetings,
> 
> I have a maven2 war project and I'm trying to figure out how to best use 
> the webtest with the war project. I added webtest as a dependency in the 
> war-pom.xml. I tried looking for goals that will build/run the webtests 
> as part of the maven build process, but not much luck. My objective is 
> to run webtest build during mvn-build process and have the project built 
> periodically on a continuum environment.
> 
> If anyone has done anything similar or has some info on how to get this 
> up and running in mvn, plz share the info. It would be a great help.
> 
> The artifact is available at www.ibiblio.org/maven2/webtest/webtest 
> <http://www.ibiblio.org/maven2/webtest/webtest> for maven2 to download 
> the resources.
> 
> Thanks,

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to