1

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?

Sam Levin
  • 3,326
  • 7
  • 30
  • 44

2 Answers2

2

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.

Olivier Lamy
  • 2,280
  • 1
  • 14
  • 12
-1

Snapshots is maven idea to give version number as -SNAPSHOT , its under development it can be change any time.

Internal repository is the release repository with fixed version number. You can modify the SNAPSHOT, but That artifact never changes after it is released.

When we use internal, if dependency does not found inside it, then it will download it from central repository of maven. where as in snapshot it does not.

AKT
  • 182
  • 1
  • 8