# How to have a snapshot version

**URL:** <https://discuss.gradle.org/t/how-to-have-a-snapshot-version/5305>\
**Category:** Old Forum Archive\
**Created:** [November 8, 2011, 8:06am UTC](https://discuss.gradle.org/t/how-to-have-a-snapshot-version/5305 "2011-11-08T08:06:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JordanZimmerman](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/jordanzimmerman/32/193_2.png) [@JordanZimmerman](https://discuss.gradle.org/u/JordanZimmerman)\
**Post date:** [November 8, 2011, 8:06am UTC](https://discuss.gradle.org/t/how-to-have-a-snapshot-version/5305/1 "2011-11-08T08:06:00Z")

</div>

I’d like to have have a snapshot version and a release version. Is there a best practice for doing this?

---

<div class="post-metadata">

**Author:** ![Szczepan\_Faber](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/szczepan_faber/32/213_2.png) [@Szczepan\_Faber](https://discuss.gradle.org/u/Szczepan_Faber)\
**Post date:** [November 12, 2011, 10:45pm UTC](https://discuss.gradle.org/t/how-to-have-a-snapshot-version/5305/2 "2011-11-12T22:45:00Z")

</div>

Hey Jordan.

It really depends on the use cases you’re trying to solve and various other details 🙂 For example: who consumes the versions, what build systems, what kind of metadata your publications require (ivy model vs maven model), etc.

I’m assuming that you would like one of your projects to produce release / snapshot versions? One way of implementing that is to use the maven plugin. This way you can publish snapshot / release artifacts to the maven repo. They can be consumed by any gradle project.

Hope that helps!

---

<div class="post-metadata">

**Author:** ![JordanZimmerman](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/jordanzimmerman/32/193_2.png) [@JordanZimmerman](https://discuss.gradle.org/u/JordanZimmerman)\
**Post date:** [November 12, 2011, 11:00pm UTC](https://discuss.gradle.org/t/how-to-have-a-snapshot-version/5305/3 "2011-11-12T23:00:00Z")

</div>

It seems silly to use the Maven plugin when I’m trying to get away from Maven.

---

<div class="post-metadata">

**Author:** ![Szczepan\_Faber](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/szczepan_faber/32/213_2.png) [@Szczepan\_Faber](https://discuss.gradle.org/u/Szczepan_Faber)\
**Post date:** [November 13, 2011, 11:14am UTC](https://discuss.gradle.org/t/how-to-have-a-snapshot-version/5305/4 "2011-11-13T11:14:00Z")

</div>

I think I understand your concern 🙂

When you apply maven plugin in gradle you are _not_ using maven. You’re simply taking advantage of some well-known conventions around artifact publishing. This is quite useful.

If you’re unhappy with maven’s way of dealing with snapshots take a look at ivy’s ‘latest.integration’ commodity.
