# What is the difference between Mixed policy and Snapshot policy in Maven2 repositories?

**URL:** https://community.sonatype.com/t/what-is-the-difference-between-mixed-policy-and-snapshot-policy-in-maven2-repositories/12233
**Category:** Sonatype Nexus Repository
**Tags:** nexus-repository
**Created:** [March 11, 2024, 2:37am UTC](https://community.sonatype.com/t/what-is-the-difference-between-mixed-policy-and-snapshot-policy-in-maven2-repositories/12233 "2024-03-11T02:37:31Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![d-yamaguchi](https://avatars.discourse-cdn.com/v4/letter/d/aca169/32.png) [@d-yamaguchi](https://community.sonatype.com/u/d-yamaguchi)
#### Post date: [March 11, 2024, 2:37am UTC](https://community.sonatype.com/t/what-is-the-difference-between-mixed-policy-and-snapshot-policy-in-maven2-repositories/12233/1 "2024-03-11T02:37:31Z")

</div>

Hello,  
I have a naive question about the difference between Mixed policy and Snapshot policy in maven2 repositories.  
According to [the document](https://help.sonatype.com/en/maven-repositories.html),

> The _Mixed_ version policy allows you to support both approaches within one repository.

I think a repository with Mixed policy looks like one with Snapshot policy which contains both snapshot and released artifacts since Snapshot repostory is able to contain released artifacts version.

Is there any difference between Mixed policy and Snapshot policy in features or functionalities?

---

<div class="post-metadata">

### Author: ![mpiggott](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@mpiggott](https://community.sonatype.com/u/mpiggott)
#### Post date: [March 11, 2024, 1:22pm UTC](https://community.sonatype.com/t/what-is-the-difference-between-mixed-policy-and-snapshot-policy-in-maven2-repositories/12233/2 "2024-03-11T13:22:16Z")

</div>

Mixed allows publishing both release and snapshots components. Snapshot repositories only allow snapshot components.

---

<div class="post-metadata">

### Author: ![d-yamaguchi](https://avatars.discourse-cdn.com/v4/letter/d/aca169/32.png) [@d-yamaguchi](https://community.sonatype.com/u/d-yamaguchi)
#### Post date: [March 14, 2024, 9:18am UTC](https://community.sonatype.com/t/what-is-the-difference-between-mixed-policy-and-snapshot-policy-in-maven2-repositories/12233/3 "2024-03-14T09:18:00Z")

</div>

Hello Matthew,

Thank you for your reply.  
What I understand are following:

- In terms of “version polisy” for a repository, snapshot repositories only allow snapshot components.
- In terms of systematic capabilities or features, both snapshot and release components can be published to snapshot repositories.  
Am I correct?
