# Migrating from 2.2.0-SNAPSHOT to 2.2.1 (pom.xml)

**URL:** <https://community.gatling.io/t/migrating-from-2-2-0-snapshot-to-2-2-1-pom-xml/3070>\
**Category:** Gatling (Open-Source)\
**Created:** [June 13, 2016, 8:49pm UTC](https://community.gatling.io/t/migrating-from-2-2-0-snapshot-to-2-2-1-pom-xml/3070 "2016-06-13T20:49:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gary\_Udstrand](https://avatars.discourse-cdn.com/v4/letter/g/5f8ce5/32.png) [@Gary\_Udstrand](https://community.gatling.io/u/Gary_Udstrand)\
**Post date:** [June 13, 2016, 8:49pm UTC](https://community.gatling.io/t/migrating-from-2-2-0-snapshot-to-2-2-1-pom-xml/3070/1 "2016-06-13T20:49:36Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)\
**Post date:** [June 15, 2016, 12:33pm UTC](https://community.gatling.io/t/migrating-from-2-2-0-snapshot-to-2-2-1-pom-xml/3070/2 "2016-06-15T12:33:30Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![morten\_bjoernsvik](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@morten\_bjoernsvik](https://community.gatling.io/u/morten_bjoernsvik)\
**Post date:** [June 16, 2016, 11:31am UTC](https://community.gatling.io/t/migrating-from-2-2-0-snapshot-to-2-2-1-pom-xml/3070/3 "2016-06-16T11:31:50Z")

</div>

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\>

---

<div class="post-metadata">

**Author:** ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)\
**Post date:** [June 16, 2016, 11:45am UTC](https://community.gatling.io/t/migrating-from-2-2-0-snapshot-to-2-2-1-pom-xml/3070/4 "2016-06-16T11:45:21Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)\
**Post date:** [June 16, 2016, 11:48am UTC](https://community.gatling.io/t/migrating-from-2-2-0-snapshot-to-2-2-1-pom-xml/3070/5 "2016-06-16T11:48:54Z")

</div>

Correcting myself: actually, the archetype doesn’t generate a project with the gatling maven plugin configured.
