Hi David, the bad news: the maven-webtest-plugin-1.5 is a M1 plugin and is not expected to work with M2 the good news: you can download the current M2 plugin from http://people.apache.org/~sgoeschl/download/maven-plugins/webtest-maven-plugin/webtest-maven-plugin-0.6.3-project.zip
Download the plugin project and follow the steps described in README.txt Cheers, Siegfried Goeschl David C. Hicks wrote: > Hi Siegfried, > > My Maven version is 2.0.8. I'm not sure what "plugin directory" > you're referring to. This isn't a critical thing for me, but we've > just migrated a project from Grails to Struts2. It would be nice to > bring our web tests along with us, but it won't kill us if we can't. > > I couldn't find a repository online that had this available, so I > downloaded the jar and stuck it in our local Artifactory repository. > > Thanks, > Dave > > Here is a stack trace for you: > java.lang.IllegalStateException: The PluginDescriptor for the plugin > Plugin [maven-plugins:maven-webtest-plugin] was not found. > at > org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:321) > > at > org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:208) > > at > org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:172) > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1257) > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1469) > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:386) > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:138) > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:282) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:597) > at > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > at > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > > > Siegfried Goeschl wrote: >> Hi David, >> >> +) what Maven version are you using? >> +) can you send the complete error message? >> +) in the plugin directory there is a sample which you could run >> >> Cheers, >> >> Siegfried Goeschl >> >> >> >> David C. Hicks wrote: >> >>> I've been trying to get the maven-webtest-plugin working, but I keep >>> getting an error indicating that the "PluginDescriptor" cannot be >>> found. Any idea what this means and how to fix it? I installed the >>> maven-webtest-plugin in my local repository from a downloaded jar >>> file. I assume that getting it to run should be as easy as including >>> the plugin into the <build> area, like so: >>> >>> <build> >>> <plugins> >>> <plugin> >>> <groupId>maven-plugins</groupId> >>> <artifactId>maven-webtest-plugin</artifactId> >>> <version>1.5</version> >>> </plugin> >>> >>> Thanks, >>> Dave >>> >>> >>> >>> _______________________________________________ >>> WebTest mailing list >>> [email protected] >>> http://lists.canoo.com/mailman/listinfo/webtest >>> >>> >>> >> _______________________________________________ >> WebTest mailing list >> [email protected] >> http://lists.canoo.com/mailman/listinfo/webtest >> > _______________________________________________ > WebTest mailing list > [email protected] > http://lists.canoo.com/mailman/listinfo/webtest > > _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

