apachesnapshotarchiva

Purpose of internal archiva "snapshot" repository?


I get what internal libraries are. But what is the purpose of a snapshot repository in archiva?

Libraries - private releases Snapshots - private builds?

I have archiva set up and working with LDAP, but I am wondering why I need a snapshot repository. What purpose does this solve? Why is this used in development?

Also, lets say I update a library in the internal repo. Does this automatically update in the project POM files which use Maven, or I must update those poms to use the new JAR version?


Solution

  • Usually before releasing a maven project, the version is -SNAPSHOT. So with such repositories you can share fresh SNAPHOT of your project for other people in your team to test or with a ci server.