maven gatling1.5.2 error

Hi,

I am trying to run Gatling 1.5.2 through maven. B am able to compile it with out any failures but when I do mvn gatling:execute -Dgatling.simulationClass=SimulationTest, I get the following error:

[ERROR] No plugin found for prefix ‘gatling’ in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/Users/user/.m2/repository), excilys (http://repository.excilys.com/content/groups/public), central (http://x.x.x.:8081/artifactory/plugins-release), snapshots (http://x.x.x.:8081/artifactory/plugins-snapshot)]

Thanks!
Divya

You probably didn’t declare the gatling maven plugin in your build section in your pom.xml:
https://github.com/excilys/gatling/wiki/Maven-plugin#wiki-plugin

Here’s an example:
https://github.com/excilys/gatling-maven-plugin-demo/blob/4ce09cd119111281fe29ac40d1ea9a659c86fd5f/pom.xml

Thanks for the quick reply Stephane. I am able to run with out any errors.

Great!