I am currently using the 2.2.0-SNAPSHOT version of both gatling and the gatling-plugin. I would like to migrate to 2.2.1 but I have not been able to get it to work. Besides changing version numbers I am sure that I need to point at a different set of repositories and who knows what else. Could someone please share a working pom.xml using the 2.2.1 version of gatiling and then gatling-plugin?
Thanks
-Gary
The maven-plugin and Gatling itself have different lifecycle, so versions are not aligned. Latest plugin is 2.2.0, latest Gatling is 2.2.1.
Thanks for the clarification, Had the same question and spent some time looking around.
Maybe update the maven Gatling artifact to split the pom.xml property, so we understand they are
different aka
:
<gatling.version>2.2.1</gatling.version>
<gatling-maven-plugin.version>2.2.0</gatling-maven-plugin.version>
The artifact has the same lifecycle as the plugin, so there’s no way to have gatling.version = 2.2.1 and gatling-maven-plugin.version = 2.2.0 (upgrading to gatling 2.2.1 would mean releasing a new version of the maven module).
But yes, we could split into 2 different variables.
Correcting myself: actually, the archetype doesn’t generate a project with the gatling maven plugin configured.